00001
00002
00003
00004
00005
00006
00007 #ifndef PATTERNDLG_H
00008 #define PATTERNDLG_H
00009
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013
00014 #include "mainwin.h"
00015 #include "lsetup.h"
00016 #include "layprops.h"
00017 #include "windrv.h"
00018
00019
00022
00023
00029
00030 class PatternDialog: public wxDialog
00031 {
00032 public:
00033
00034 PatternDialog(LayerPropertiesDialog* parent,char* title,long style =0 ,char* name = "main_pattern_dlg");
00035
00036
00037 ~PatternDialog();
00038
00039 protected:
00040
00041
00042 void OnCloseWindow(wxCloseEvent& event);
00043
00044
00045 void Redraw();
00046
00047
00048 void Cm_P_BitB(wxEvent& event);
00049
00050
00051 wxColour* ltowxc(long colour);
00052
00053
00054 wxPanel* _panel1;
00055
00056 wxScrolledWindow* _scroll;
00057
00058
00059 LayerPropertiesDialog* _parent;
00060
00061
00062 wxBitmapButton* _patternbut[NR_PATTERNS];
00063
00064
00065 int _choosen;
00066
00067
00068 DECLARE_EVENT_TABLE()
00069
00070 };
00071
00072 #endif
00073
patdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --