@COND_TOOLKIT_MAC@LOWLEVEL_HDR =
COND_TOOLKIT_MGL_LOWLEVEL_HDR = \
wx/generic/caret.h \
+ wx/generic/colour.h \
wx/generic/icon.h \
wx/generic/timer.h \
wx/mgl/app.h \
wx/mgl/brush.h \
wx/mgl/chkconf.h \
wx/mgl/clipbrd.h \
- wx/mgl/colour.h \
wx/mgl/cursor.h \
wx/mgl/dc.h \
wx/mgl/dcclient.h \
@COND_TOOLKIT_MAC@__LOWLEVEL_SRC_OBJECTS = $(__MAC_LOWLEVEL_SRC_OBJECTS)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS = \
monodll_caret.o \
+ monodll_colour.o \
monodll_icon.o \
monodll_timer.o \
monodll_app.o \
monodll_bitmap.o \
monodll_brush.o \
monodll_clipbrd.o \
- monodll_colour.o \
monodll_cursor.o \
monodll_data.o \
monodll_dc.o \
@COND_TOOLKIT_MAC@__LOWLEVEL_SRC_OBJECTS_1 = $(__MAC_LOWLEVEL_SRC_OBJECTS)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_1 = \
monodll_caret.o \
+ monodll_colour.o \
monodll_icon.o \
monodll_timer.o \
monodll_app.o \
monodll_bitmap.o \
monodll_brush.o \
monodll_clipbrd.o \
- monodll_colour.o \
monodll_cursor.o \
monodll_data.o \
monodll_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_0)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_2 = \
monolib_caret.o \
+ monolib_colour.o \
monolib_icon.o \
monolib_timer.o \
monolib_app.o \
monolib_bitmap.o \
monolib_brush.o \
monolib_clipbrd.o \
- monolib_colour.o \
monolib_cursor.o \
monolib_data.o \
monolib_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_0)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_3 = \
monolib_caret.o \
+ monolib_colour.o \
monolib_icon.o \
monolib_timer.o \
monolib_app.o \
monolib_bitmap.o \
monolib_brush.o \
monolib_clipbrd.o \
- monolib_colour.o \
monolib_cursor.o \
monolib_data.o \
monolib_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_8)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_4 = \
coredll_caret.o \
+ coredll_colour.o \
coredll_icon.o \
coredll_timer.o \
coredll_app.o \
coredll_bitmap.o \
coredll_brush.o \
coredll_clipbrd.o \
- coredll_colour.o \
coredll_cursor.o \
coredll_data.o \
coredll_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_8)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_5 = \
coredll_caret.o \
+ coredll_colour.o \
coredll_icon.o \
coredll_timer.o \
coredll_app.o \
coredll_bitmap.o \
coredll_brush.o \
coredll_clipbrd.o \
- coredll_colour.o \
coredll_cursor.o \
coredll_data.o \
coredll_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_9)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_6 = \
corelib_caret.o \
+ corelib_colour.o \
corelib_icon.o \
corelib_timer.o \
corelib_app.o \
corelib_bitmap.o \
corelib_brush.o \
corelib_clipbrd.o \
- corelib_colour.o \
corelib_cursor.o \
corelib_data.o \
corelib_dc.o \
@COND_TOOLKIT_MAC@ $(__MAC_LOWLEVEL_SRC_OBJECTS_9)
COND_TOOLKIT_MGL___LOWLEVEL_SRC_OBJECTS_7 = \
corelib_caret.o \
+ corelib_colour.o \
corelib_icon.o \
corelib_timer.o \
corelib_app.o \
corelib_bitmap.o \
corelib_brush.o \
corelib_clipbrd.o \
- corelib_colour.o \
corelib_cursor.o \
corelib_data.o \
corelib_dc.o \
@COND_TOOLKIT_X11_USE_GUI_1@monodll_colour.o: $(srcdir)/src/x11/colour.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/x11/colour.cpp
-@COND_TOOLKIT_MGL_USE_GUI_1@monodll_colour.o: $(srcdir)/src/mgl/colour.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/mgl/colour.cpp
+@COND_TOOLKIT_MGL_USE_GUI_1@monodll_colour.o: $(srcdir)/src/generic/colour.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/colour.cpp
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monodll_colour.o: $(srcdir)/src/motif/colour.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/motif/colour.cpp
@COND_TOOLKIT_X11_USE_GUI_1@monolib_colour.o: $(srcdir)/src/x11/colour.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/x11/colour.cpp
-@COND_TOOLKIT_MGL_USE_GUI_1@monolib_colour.o: $(srcdir)/src/mgl/colour.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/mgl/colour.cpp
+@COND_TOOLKIT_MGL_USE_GUI_1@monolib_colour.o: $(srcdir)/src/generic/colour.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/colour.cpp
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monolib_colour.o: $(srcdir)/src/motif/colour.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/motif/colour.cpp
@COND_TOOLKIT_X11_USE_GUI_1@coredll_colour.o: $(srcdir)/src/x11/colour.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/x11/colour.cpp
-@COND_TOOLKIT_MGL_USE_GUI_1@coredll_colour.o: $(srcdir)/src/mgl/colour.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/mgl/colour.cpp
+@COND_TOOLKIT_MGL_USE_GUI_1@coredll_colour.o: $(srcdir)/src/generic/colour.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/colour.cpp
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@coredll_colour.o: $(srcdir)/src/motif/colour.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/motif/colour.cpp
@COND_TOOLKIT_X11_USE_GUI_1@corelib_colour.o: $(srcdir)/src/x11/colour.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/x11/colour.cpp
-@COND_TOOLKIT_MGL_USE_GUI_1@corelib_colour.o: $(srcdir)/src/mgl/colour.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/mgl/colour.cpp
+@COND_TOOLKIT_MGL_USE_GUI_1@corelib_colour.o: $(srcdir)/src/generic/colour.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/colour.cpp
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@corelib_colour.o: $(srcdir)/src/motif/colour.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/motif/colour.cpp
<set var="MGL_LOWLEVEL_SRC" hints="files">
src/generic/caret.cpp
+ src/generic/colour.cpp
src/generic/icon.cpp
src/generic/timer.cpp
src/mgl/app.cpp
src/mgl/bitmap.cpp
src/mgl/brush.cpp
src/mgl/clipbrd.cpp
- src/mgl/colour.cpp
src/mgl/cursor.cpp
src/mgl/data.cpp
src/mgl/dc.cpp
</set>
<set var="MGL_LOWLEVEL_HDR" hints="files">
wx/generic/caret.h
+ wx/generic/colour.h
wx/generic/icon.h
wx/generic/timer.h
wx/mgl/app.h
wx/mgl/brush.h
wx/mgl/chkconf.h
wx/mgl/clipbrd.h
- wx/mgl/colour.h
wx/mgl/cursor.h
wx/mgl/dc.h
wx/mgl/dcclient.h
#elif defined(__WXGTK__)
#include "wx/gtk1/colour.h"
#elif defined(__WXMGL__)
-#include "wx/mgl/colour.h"
+#include "wx/generic/colour.h"
#elif defined(__WXX11__)
#include "wx/x11/colour.h"
#elif defined(__WXMAC__)
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/generic/colour.h
+// Purpose: wxColour class
+// Author: Julian Smart
+// Modified by:
+// Created: 01/02/97
+// RCS-ID: $Id$
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_GENERIC_COLOUR_H_
+#define _WX_GENERIC_COLOUR_H_
+
+#include "wx/object.h"
+
+// Colour
+class WXDLLEXPORT wxColour: public wxColourBase
+{
+public:
+ // constructors
+ // ------------
+
+ // default
+ wxColour();
+ DEFINE_STD_WXCOLOUR_CONSTRUCTORS
+
+ // copy ctors and assignment operators
+ wxColour(const wxColour& col);
+ wxColour& operator = (const wxColour& col);
+
+ // dtor
+ ~wxColour();
+
+ // accessors
+ bool Ok() const { return m_isInit; }
+
+ unsigned char Red() const { return m_red; }
+ unsigned char Green() const { return m_green; }
+ unsigned char Blue() const { return m_blue; }
+
+ // comparison
+ bool operator == (const wxColour& colour) const
+ {
+ return (m_red == colour.m_red &&
+ m_green == colour.m_green &&
+ m_blue == colour.m_blue &&
+ m_isInit == colour.m_isInit);
+ }
+ bool operator != (const wxColour& colour) const { return !(*this == colour); }
+
+
+protected:
+
+ // Helper function
+ void Init();
+
+ virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue);
+
+private:
+ bool m_isInit;
+ unsigned char m_red;
+ unsigned char m_blue;
+ unsigned char m_green;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxColour)
+};
+
+#endif // _WX_GENERIC_COLOUR_H_
+++ /dev/null
-/////////////////////////////////////////////////////////////////////////////
-// Name: wx/mgl/colour.h
-// Purpose: wxColour class
-// Author: Julian Smart
-// Modified by:
-// Created: 01/02/97
-// RCS-ID: $Id$
-// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _WX_COLOUR_H_
-#define _WX_COLOUR_H_
-
-#include "wx/object.h"
-
-// Colour
-class WXDLLEXPORT wxColour: public wxColourBase
-{
-public:
- // constructors
- // ------------
-
- // default
- wxColour();
- DEFINE_STD_WXCOLOUR_CONSTRUCTORS
-
- // copy ctors and assignment operators
- wxColour(const wxColour& col);
- wxColour& operator = (const wxColour& col);
-
- // dtor
- ~wxColour();
-
- // accessors
- bool Ok() const { return m_isInit; }
-
- unsigned char Red() const { return m_red; }
- unsigned char Green() const { return m_green; }
- unsigned char Blue() const { return m_blue; }
-
- // comparison
- bool operator == (const wxColour& colour) const
- {
- return (m_red == colour.m_red &&
- m_green == colour.m_green &&
- m_blue == colour.m_blue &&
- m_isInit == colour.m_isInit);
- }
- bool operator != (const wxColour& colour) const { return !(*this == colour); }
-
-
-protected:
-
- // Helper function
- void Init();
-
- virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue);
-
-private:
- bool m_isInit;
- unsigned char m_red;
- unsigned char m_blue;
- unsigned char m_green;
-
-private:
- DECLARE_DYNAMIC_CLASS(wxColour)
-};
-
-#endif
- // _WX_COLOUR_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/generic/colour.cpp
+// Purpose: wxColour class
+// Author: Julian Smart
+// Modified by:
+// Created: 01/02/97
+// RCS-ID: $Id$
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
+IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
+
+// Colour
+
+void wxColour::Init()
+{
+ m_red =
+ m_blue =
+ m_green = 0;
+ m_isInit = false;
+}
+
+wxColour::wxColour()
+{
+ Init();
+}
+
+wxColour::wxColour(const wxColour& col)
+{
+ *this = col;
+}
+
+wxColour& wxColour::operator =(const wxColour& col)
+{
+ m_red = col.m_red;
+ m_green = col.m_green;
+ m_blue = col.m_blue;
+ m_isInit = col.m_isInit;
+ return *this;
+}
+
+wxColour::~wxColour()
+{
+}
+
+void wxColour::InitWith(unsigned char r, unsigned char g, unsigned char b)
+{
+ m_red = r;
+ m_green = g;
+ m_blue = b;
+ m_isInit = true;
+}
+++ /dev/null
-/////////////////////////////////////////////////////////////////////////////
-// Name: src/mgl/colour.cpp
-// Purpose: wxColour class
-// Author: Julian Smart
-// Modified by:
-// Created: 01/02/97
-// RCS-ID: $Id$
-// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-// For compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
-#include "wx/colour.h"
-
-#ifndef WX_PRECOMP
- #include "wx/gdicmn.h"
-#endif
-
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
-// Colour
-
-void wxColour::Init()
-{
- m_red =
- m_blue =
- m_green = 0;
- m_isInit = false;
-}
-
-wxColour::wxColour()
-{
- Init();
-}
-
-wxColour::wxColour(const wxColour& col)
-{
- *this = col;
-}
-
-wxColour& wxColour::operator =(const wxColour& col)
-{
- m_red = col.m_red;
- m_green = col.m_green;
- m_blue = col.m_blue;
- m_isInit = col.m_isInit;
- return *this;
-}
-
-wxColour::~wxColour()
-{
-}
-
-void wxColour::InitWith(unsigned char r, unsigned char g, unsigned char b)
-{
- m_red = r;
- m_green = g;
- m_blue = b;
- m_isInit = true;
-}