projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use "INNO" env var in Inno Setup script only if it's defined.
[wxWidgets.git]
/
include
/
wx
/
generic
/
colrdlgg.h
diff --git
a/include/wx/generic/colrdlgg.h
b/include/wx/generic/colrdlgg.h
index 06feb75ffab0a40b8d5ac46430e12ec46c6f9aa3..d792b7aac193f9241b90669d278287e4533c2c67 100644
(file)
--- a/
include/wx/generic/colrdlgg.h
+++ b/
include/wx/generic/colrdlgg.h
@@
-9,13
+9,11
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef _
_COLORDLGH_G_
_
-#define _
_COLORDLGH_G_
_
+#ifndef _
WX_COLORDLGG_H
_
+#define _
WX_COLORDLGG_H
_
-#include "wx/defs.h"
#include "wx/gdicmn.h"
#include "wx/dialog.h"
#include "wx/gdicmn.h"
#include "wx/dialog.h"
-#include "wx/cmndata.h"
#define wxID_ADD_CUSTOM 3000
#define wxID_ADD_CUSTOM 3000
@@
-25,21
+23,21
@@
#define wxID_GREEN_SLIDER 3002
#define wxID_BLUE_SLIDER 3003
#define wxID_GREEN_SLIDER 3002
#define wxID_BLUE_SLIDER 3003
- class WXDLL
EXPORT
wxSlider;
+ class WXDLL
IMPEXP_FWD_CORE
wxSlider;
#endif // wxUSE_SLIDER
#endif // wxUSE_SLIDER
-class WXDLL
EXPORT
wxGenericColourDialog : public wxDialog
+class WXDLL
IMPEXP_CORE
wxGenericColourDialog : public wxDialog
{
public:
wxGenericColourDialog();
wxGenericColourDialog(wxWindow *parent,
{
public:
wxGenericColourDialog();
wxGenericColourDialog(wxWindow *parent,
- wxColourData *data =
(wxColourData *)
NULL);
+ wxColourData *data = NULL);
virtual ~wxGenericColourDialog();
virtual ~wxGenericColourDialog();
- bool Create(wxWindow *parent, wxColourData *data =
(wxColourData *)
NULL);
+ bool Create(wxWindow *parent, wxColourData *data = NULL);
- wxColourData &GetColourData() { return colourData; }
+ wxColourData &GetColourData() { return
m_
colourData; }
virtual int ShowModal();
virtual int ShowModal();
@@
-70,46
+68,45
@@
public:
void OnCloseWindow(wxCloseEvent& event);
protected:
void OnCloseWindow(wxCloseEvent& event);
protected:
- wxColourData colourData;
- wxWindow *dialogParent;
+ wxColourData m_colourData;
// Area reserved for grids of colours
// Area reserved for grids of colours
- wxRect standardColoursRect;
- wxRect customColoursRect;
- wxRect singleCustomColourRect;
+ wxRect
m_
standardColoursRect;
+ wxRect
m_
customColoursRect;
+ wxRect
m_
singleCustomColourRect;
// Size of each colour rectangle
// Size of each colour rectangle
- wxPoint smallRectangleSize;
+ wxPoint
m_
smallRectangleSize;
// For single customizable colour
// For single customizable colour
- wxPoint customRectangleSize;
+ wxPoint
m_
customRectangleSize;
// Grid spacing (between rectangles)
// Grid spacing (between rectangles)
- int gridSpacing;
+ int
m_
gridSpacing;
// Section spacing (between left and right halves of dialog box)
// Section spacing (between left and right halves of dialog box)
- int sectionSpacing;
+ int
m_
sectionSpacing;
// 48 'standard' colours
// 48 'standard' colours
- wxColour standardColours[48];
+ wxColour
m_
standardColours[48];
// 16 'custom' colours
// 16 'custom' colours
- wxColour customColours[16];
+ wxColour
m_
customColours[16];
// Which colour is selected? An index into one of the two areas.
// Which colour is selected? An index into one of the two areas.
- int colourSelection;
- int whichKind; // 1 for standard colours, 2 for custom colours,
+ int
m_
colourSelection;
+ int
m_
whichKind; // 1 for standard colours, 2 for custom colours,
#if wxUSE_SLIDER
#if wxUSE_SLIDER
- wxSlider *redSlider;
- wxSlider *greenSlider;
- wxSlider *blueSlider;
+ wxSlider *
m_
redSlider;
+ wxSlider *
m_
greenSlider;
+ wxSlider *
m_
blueSlider;
#endif // wxUSE_SLIDER
#endif // wxUSE_SLIDER
- int buttonY;
+ int
m_
buttonY;
- int okButtonX;
- int customButtonX;
+ int
m_
okButtonX;
+ int
m_
customButtonX;
// static bool colourDialogCancelled;
// static bool colourDialogCancelled;
@@
-117,4
+114,4
@@
protected:
DECLARE_DYNAMIC_CLASS(wxGenericColourDialog)
};
DECLARE_DYNAMIC_CLASS(wxGenericColourDialog)
};
-#endif
+#endif
// _WX_COLORDLGG_H_