wx/palmos/apptrait.h \
wx/palmos/chkconf.h \
wx/palmos/mimetype.h \
+ wx/palmos/missing.h \
wx/palmos/stdpaths.h \
wx/msdos/mimetype.h \
wx/fs_inet.h \
src/palmos/dir.cpp \
src/palmos/prefconf.cpp \
src/palmos/snglinst.cpp \
+ src/palmos/stdall.c \
src/palmos/thread.cpp \
src/palmos/utils.cpp \
src/palmos/utilsexc.cpp \
wx/unix/utilsx11.h \
wx/x11/bitmap.h \
wx/x11/brush.h \
+ wx/x11/palette.h \
wx/x11/pen.h \
wx/x11/region.h
@COND_TOOLKIT_MOTIF@LOWLEVEL_HDR = $(COND_TOOLKIT_MOTIF_LOWLEVEL_HDR)
wx/motif/menuitem.h \
wx/motif/minifram.h \
wx/motif/msgdlg.h \
- wx/motif/palette.h \
wx/motif/popupwin.h \
wx/motif/print.h \
wx/motif/private.h \
monodll_displayx11.o \
monodll_bitmap.o \
monodll_brush.o \
+ monodll_palette.o \
monodll_pen.o \
monodll_region.o \
monodll_utilsx.o
monodll_menuitem.o \
monodll_minifram.o \
monodll_msgdlg.o \
- monodll_palette.o \
monodll_popupwin.o \
monodll_radiobox.o \
monodll_radiobut.o \
monodll_displayx11.o \
monodll_bitmap.o \
monodll_brush.o \
+ monodll_palette.o \
monodll_pen.o \
monodll_region.o \
monodll_utilsx.o
monolib_displayx11.o \
monolib_bitmap.o \
monolib_brush.o \
+ monolib_palette.o \
monolib_pen.o \
monolib_region.o \
monolib_utilsx.o
monolib_menuitem.o \
monolib_minifram.o \
monolib_msgdlg.o \
- monolib_palette.o \
monolib_popupwin.o \
monolib_radiobox.o \
monolib_radiobut.o \
monolib_displayx11.o \
monolib_bitmap.o \
monolib_brush.o \
+ monolib_palette.o \
monolib_pen.o \
monolib_region.o \
monolib_utilsx.o
coredll_displayx11.o \
coredll_bitmap.o \
coredll_brush.o \
+ coredll_palette.o \
coredll_pen.o \
coredll_region.o \
coredll_utilsx.o
coredll_menuitem.o \
coredll_minifram.o \
coredll_msgdlg.o \
- coredll_palette.o \
coredll_popupwin.o \
coredll_radiobox.o \
coredll_radiobut.o \
coredll_displayx11.o \
coredll_bitmap.o \
coredll_brush.o \
+ coredll_palette.o \
coredll_pen.o \
coredll_region.o \
coredll_utilsx.o
corelib_displayx11.o \
corelib_bitmap.o \
corelib_brush.o \
+ corelib_palette.o \
corelib_pen.o \
corelib_region.o \
corelib_utilsx.o
corelib_menuitem.o \
corelib_minifram.o \
corelib_msgdlg.o \
- corelib_palette.o \
corelib_popupwin.o \
corelib_radiobox.o \
corelib_radiobut.o \
corelib_displayx11.o \
corelib_bitmap.o \
corelib_brush.o \
+ corelib_palette.o \
corelib_pen.o \
corelib_region.o \
corelib_utilsx.o
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monodll_data.o: $(srcdir)/src/os2/data.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/os2/data.cpp
+@COND_TOOLKIT_MOTIF_USE_GUI_1@monodll_palette.o: $(srcdir)/src/x11/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_X11_USE_GUI_1@monodll_palette.o: $(srcdir)/src/x11/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1@monodll_palette.o: $(srcdir)/src/msw/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_palette.o: $(srcdir)/src/msw/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_MGL_USE_GUI_1@monodll_palette.o: $(srcdir)/src/mgl/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
+
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monodll_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
+
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monodll_palette.o: $(srcdir)/src/os2/palette.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
+
@COND_TOOLKIT_MOTIF_USE_GUI_1@monodll_utilsx.o: $(srcdir)/src/x11/utilsx.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/x11/utilsx.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_oleutils.o: $(srcdir)/src/msw/ole/oleutils.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/ole/oleutils.cpp
-@COND_TOOLKIT_MSW_USE_GUI_1@monodll_palette.o: $(srcdir)/src/msw/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_palette.o: $(srcdir)/src/msw/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_X11_USE_GUI_1@monodll_palette.o: $(srcdir)/src/x11/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
-
-@COND_TOOLKIT_MGL_USE_GUI_1@monodll_palette.o: $(srcdir)/src/mgl/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
-
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monodll_palette.o: $(srcdir)/src/motif/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/motif/palette.cpp
-
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monodll_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
-
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monodll_palette.o: $(srcdir)/src/os2/palette.cpp $(MONODLL_ODEP)
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
-
@COND_TOOLKIT_MSW_USE_GUI_1@monodll_printdlg.o: $(srcdir)/src/msw/printdlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/printdlg.cpp
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monolib_data.o: $(srcdir)/src/os2/data.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/os2/data.cpp
+@COND_TOOLKIT_MOTIF_USE_GUI_1@monolib_palette.o: $(srcdir)/src/x11/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_X11_USE_GUI_1@monolib_palette.o: $(srcdir)/src/x11/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1@monolib_palette.o: $(srcdir)/src/msw/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_palette.o: $(srcdir)/src/msw/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_MGL_USE_GUI_1@monolib_palette.o: $(srcdir)/src/mgl/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
+
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monolib_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
+
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monolib_palette.o: $(srcdir)/src/os2/palette.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
+
@COND_TOOLKIT_MOTIF_USE_GUI_1@monolib_utilsx.o: $(srcdir)/src/x11/utilsx.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/x11/utilsx.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_oleutils.o: $(srcdir)/src/msw/ole/oleutils.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/ole/oleutils.cpp
-@COND_TOOLKIT_MSW_USE_GUI_1@monolib_palette.o: $(srcdir)/src/msw/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_palette.o: $(srcdir)/src/msw/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_X11_USE_GUI_1@monolib_palette.o: $(srcdir)/src/x11/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
-
-@COND_TOOLKIT_MGL_USE_GUI_1@monolib_palette.o: $(srcdir)/src/mgl/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
-
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monolib_palette.o: $(srcdir)/src/motif/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/motif/palette.cpp
-
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monolib_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
-
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monolib_palette.o: $(srcdir)/src/os2/palette.cpp $(MONOLIB_ODEP)
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
-
@COND_TOOLKIT_MSW_USE_GUI_1@monolib_printdlg.o: $(srcdir)/src/msw/printdlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/printdlg.cpp
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@coredll_data.o: $(srcdir)/src/os2/data.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/os2/data.cpp
+@COND_TOOLKIT_MOTIF_USE_GUI_1@coredll_palette.o: $(srcdir)/src/x11/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_X11_USE_GUI_1@coredll_palette.o: $(srcdir)/src/x11/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1@coredll_palette.o: $(srcdir)/src/msw/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@coredll_palette.o: $(srcdir)/src/msw/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_MGL_USE_GUI_1@coredll_palette.o: $(srcdir)/src/mgl/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
+
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@coredll_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
+
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@coredll_palette.o: $(srcdir)/src/os2/palette.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
+
@COND_TOOLKIT_MOTIF_USE_GUI_1@coredll_utilsx.o: $(srcdir)/src/x11/utilsx.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/x11/utilsx.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@coredll_oleutils.o: $(srcdir)/src/msw/ole/oleutils.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/ole/oleutils.cpp
-@COND_TOOLKIT_MSW_USE_GUI_1@coredll_palette.o: $(srcdir)/src/msw/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_WINCE_USE_GUI_1@coredll_palette.o: $(srcdir)/src/msw/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_X11_USE_GUI_1@coredll_palette.o: $(srcdir)/src/x11/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
-
-@COND_TOOLKIT_MGL_USE_GUI_1@coredll_palette.o: $(srcdir)/src/mgl/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
-
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@coredll_palette.o: $(srcdir)/src/motif/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/motif/palette.cpp
-
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@coredll_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
-
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@coredll_palette.o: $(srcdir)/src/os2/palette.cpp $(COREDLL_ODEP)
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
-
@COND_TOOLKIT_MSW_USE_GUI_1@coredll_printdlg.o: $(srcdir)/src/msw/printdlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/printdlg.cpp
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@corelib_data.o: $(srcdir)/src/os2/data.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/os2/data.cpp
+@COND_TOOLKIT_MOTIF_USE_GUI_1@corelib_palette.o: $(srcdir)/src/x11/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_X11_USE_GUI_1@corelib_palette.o: $(srcdir)/src/x11/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1@corelib_palette.o: $(srcdir)/src/msw/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@corelib_palette.o: $(srcdir)/src/msw/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
+
+@COND_TOOLKIT_MGL_USE_GUI_1@corelib_palette.o: $(srcdir)/src/mgl/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
+
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@corelib_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
+
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@corelib_palette.o: $(srcdir)/src/os2/palette.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
+
@COND_TOOLKIT_MOTIF_USE_GUI_1@corelib_utilsx.o: $(srcdir)/src/x11/utilsx.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/x11/utilsx.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@corelib_oleutils.o: $(srcdir)/src/msw/ole/oleutils.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/ole/oleutils.cpp
-@COND_TOOLKIT_MSW_USE_GUI_1@corelib_palette.o: $(srcdir)/src/msw/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_WINCE_USE_GUI_1@corelib_palette.o: $(srcdir)/src/msw/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/palette.cpp
-
-@COND_TOOLKIT_X11_USE_GUI_1@corelib_palette.o: $(srcdir)/src/x11/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_X11_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/x11/palette.cpp
-
-@COND_TOOLKIT_MGL_USE_GUI_1@corelib_palette.o: $(srcdir)/src/mgl/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_MGL_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/mgl/palette.cpp
-
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@corelib_palette.o: $(srcdir)/src/motif/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/motif/palette.cpp
-
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@corelib_palette.o: $(srcdir)/src/mac/carbon/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/mac/carbon/palette.cpp
-
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@corelib_palette.o: $(srcdir)/src/os2/palette.cpp $(CORELIB_ODEP)
-@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/os2/palette.cpp
-
@COND_TOOLKIT_MSW_USE_GUI_1@corelib_printdlg.o: $(srcdir)/src/msw/printdlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/printdlg.cpp
$(XWIN_LOWLEVEL_SRC)
src/x11/bitmap.cpp
src/x11/brush.cpp
+ src/x11/palette.cpp
src/x11/pen.cpp
src/x11/region.cpp
src/x11/utilsx.cpp
$(XWIN_LOWLEVEL_HDR)
wx/x11/bitmap.h
wx/x11/brush.h
+ wx/x11/palette.h
wx/x11/pen.h
wx/x11/region.h
</set>
src/motif/menuitem.cpp
src/motif/minifram.cpp
src/motif/msgdlg.cpp
- src/motif/palette.cpp
src/motif/popupwin.cpp
src/motif/radiobox.cpp
src/motif/radiobut.cpp
wx/motif/menuitem.h
wx/motif/minifram.h
wx/motif/msgdlg.h
- wx/motif/palette.h
wx/motif/popupwin.h
wx/motif/print.h
wx/motif/private.h
+++ /dev/null
-/////////////////////////////////////////////////////////////////////////////
-// Name: wx/motif/palette.h
-// Purpose: wxPalette class
-// Author: Julian Smart
-// Modified by:
-// Created: 17/09/98
-// RCS-ID: $Id$
-// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-#ifndef _WX_PALETTE_H_
-#define _WX_PALETTE_H_
-
-#include "wx/gdiobj.h"
-#include "wx/list.h"
-
-class WXDLLIMPEXP_FWD_CORE wxPalette;
-
-// Palette for one display
-class wxXPalette : public wxObject
-{
- DECLARE_DYNAMIC_CLASS(wxXPalette)
-
-public:
- wxXPalette();
-
- WXDisplay* m_display;
- int m_pix_array_n;
- unsigned long* m_pix_array;
- WXColormap m_cmap;
- bool m_destroyable;
-};
-
-class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
-{
- friend class WXDLLIMPEXP_FWD_CORE wxPalette;
-public:
- wxPaletteRefData();
- virtual ~wxPaletteRefData();
-
-protected:
- wxList m_palettes;
-};
-
-#define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
-
-class WXDLLEXPORT wxPalette: public wxPaletteBase
-{
- DECLARE_DYNAMIC_CLASS(wxPalette)
-
-public:
- wxPalette();
-
- wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- virtual ~wxPalette();
- bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
- bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
-
- virtual bool Ok() const { return IsOk(); }
- virtual bool IsOk() const { return (m_refData != NULL) ; }
-
- // Motif-specific
- WXColormap GetXColormap(WXDisplay* display = NULL) const;
- bool TransferBitmap(void *data, int depth, int size);
- bool TransferBitmap8(unsigned char *data, unsigned long size, void *dest, unsigned int bpp);
- unsigned long *GetXPixArray(WXDisplay* display, int *pix_array_n);
- void PutXColormap(WXDisplay* display, WXColormap cmap, bool destroyable);
-};
-
-#endif
-// _WX_PALETTE_H_
#include "wx/palmos/palette.h"
#elif defined(__WXMSW__)
#include "wx/msw/palette.h"
-#elif defined(__WXMOTIF__)
- #include "wx/motif/palette.h"
+#elif defined(__WXX11__) || defined(__WXMOTIF__)
+ #include "wx/x11/palette.h"
#elif defined(__WXGTK__) || defined(__WXCOCOA__)
#include "wx/generic/paletteg.h"
-#elif defined(__WXX11__)
- #include "wx/x11/palette.h"
#elif defined(__WXMGL__)
#include "wx/mgl/palette.h"
#elif defined(__WXMAC__)
#endif // wxUSE_PALETTE
-#endif
- // _WX_PALETTE_H_BASE_
+#endif // _WX_PALETTE_H_BASE_
+++ /dev/null
-/////////////////////////////////////////////////////////////////////////////
-// Name: src/motif/palette.cpp
-// Purpose: wxPalette
-// Author: Julian Smart
-// Modified by:
-// Created: 17/09/98
-// RCS-ID: $Id$
-// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-/*
- * Colour map
- *
- * When constructed with the default constructor, we start from
- * the wxApp::GetMainColormap, allocating additional read-only cells
- * in Create(). The cells are freed on the next call to Create()
- * or when the destructor is called.
- */
-
-/* Wolfram Gloger <u7y22ab@sunmail.lrz-muenchen.de>
-I have implemented basic colormap support for the X11 versions of
-wxWidgets, notably wxPalette::Create(). The way I did it is to
-allocate additional read-only color cells in the default colormap. In
-general you will get arbitrary pixel values assigned to these new
-cells and therefore I added a method wxPalette::TransferBitmap()
-which maps the pixel values 0..n to the real ones obtained with
-Create(). This is only implemented for the popular case of 8-bit
-depth.
-
-Allocating read-write color cells would involve installing a private
-X11 colormap for a particular window, and AFAIK this is not
-recommended; only the window manager should do this... Also, it is
-not the functionality that wxPalette::Create() aims to provide.
- */
-
-// For compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#include "wx/palette.h"
-
-#ifndef WX_PRECOMP
- #include "wx/app.h"
- #include "wx/utils.h"
- #include "wx/window.h"
-#endif
-
-#ifdef __VMS__
-#pragma message disable nosimpint
-#endif
-#include <Xm/Xm.h>
-#ifdef __VMS__
-#pragma message enable nosimpint
-#endif
-#include "wx/motif/private.h"
-
-IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
-IMPLEMENT_DYNAMIC_CLASS(wxXPalette, wxObject)
-
-/*
-* Palette
-*
-*/
-
-wxXPalette::wxXPalette()
-{
- m_cmap = (WXColormap) 0;
- m_pix_array_n = 0;
- m_pix_array = (unsigned long*) 0;
- m_display = (WXDisplay*) 0;
- m_destroyable = false;
-}
-
-wxPaletteRefData::wxPaletteRefData()
-{
-}
-
-wxPaletteRefData::~wxPaletteRefData()
-{
- Display *display = (Display*) NULL;
-
- wxList::compatibility_iterator node, next;
-
- for (node = m_palettes.GetFirst(); node; node = next) {
- wxXPalette *c = (wxXPalette *)node->GetData();
- unsigned long *pix_array = c->m_pix_array;
- Colormap cmap = (Colormap) c->m_cmap;
- bool destroyable = c->m_destroyable;
- int pix_array_n = c->m_pix_array_n;
- display = (Display*) c->m_display;
-
- if (pix_array_n > 0)
- {
- // XFreeColors(display, cmap, pix_array, pix_array_n, 0);
- // Be careful not to free '0' pixels...
- int i, j;
- for(i=j=0; i<pix_array_n; i=j) {
- while(j<pix_array_n && pix_array[j]!=0) j++;
- if(j > i) XFreeColors(display, cmap, &pix_array[i], j-i, 0);
- while(j<pix_array_n && pix_array[j]==0) j++;
- }
- delete [] pix_array;
- }
-
- if (destroyable)
- XFreeColormap(display, cmap);
-
- next = node->GetNext();
- m_palettes.Erase(node);
- delete c;
- }
-}
-
-wxPalette::wxPalette()
-{
-}
-
-wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
-{
- Create(n, red, green, blue);
-}
-
-wxPalette::~wxPalette()
-{
-}
-
-bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
-{
- UnRef();
-
- if (!n) {
- return false;
- }
-
- m_refData = new wxPaletteRefData;
-
- XColor xcol;
- Display* display = (Display*) wxGetDisplay();
-
- unsigned long *pix_array;
- Colormap cmap;
- int pix_array_n;
-
- cmap = (Colormap) wxTheApp->GetMainColormap(display);
-
- pix_array = new unsigned long[n];
- if (!pix_array)
- return false;
-
- pix_array_n = n;
- xcol.flags = DoRed | DoGreen | DoBlue;
- for(int i = 0; i < n; i++) {
- xcol.red = (unsigned short)(red[i] << 8);
- xcol.green = (unsigned short)(green[i] << 8);
- xcol.blue = (unsigned short)(blue[i] << 8);
- pix_array[i] = (XAllocColor(display, cmap, &xcol) == 0) ? 0 : xcol.pixel;
- }
-
- wxXPalette *c = new wxXPalette;
-
- c->m_pix_array_n = pix_array_n;
- c->m_pix_array = pix_array;
- c->m_cmap = (WXColormap) cmap;
- c->m_display = (WXDisplay*) display;
- c->m_destroyable = false;
- M_PALETTEDATA->m_palettes.Append(c);
-
- return true;
-}
-
-int wxPalette::GetPixel(unsigned char WXUNUSED(red),
- unsigned char WXUNUSED(green),
- unsigned char WXUNUSED(blue)) const
-{
- if ( !m_refData )
- return wxNOT_FOUND;
-
- // TODO
- return wxNOT_FOUND;
-}
-
-bool wxPalette::GetRGB(int index, unsigned char *WXUNUSED(red), unsigned char *WXUNUSED(green), unsigned char *WXUNUSED(blue)) const
-{
- if ( !m_refData )
- return false;
-
- if (index < 0 || index > 255)
- return false;
-
- // TODO
- return false;
-}
-
-WXColormap wxPalette::GetXColormap(WXDisplay* display) const
-{
- if (!M_PALETTEDATA || (M_PALETTEDATA->m_palettes.GetCount() == 0))
- return wxTheApp->GetMainColormap(display);
-
- wxList::compatibility_iterator node = M_PALETTEDATA->m_palettes.GetFirst();
- if (!display && node)
- {
- wxXPalette* p = (wxXPalette*) node->GetData();
- return p->m_cmap;
- }
- while (node)
- {
- wxXPalette* p = (wxXPalette*) node->GetData();
- if (p->m_display == display)
- return p->m_cmap;
-
- node = node->GetNext();
- }
-
- /* Make a new one: */
- wxXPalette *c = new wxXPalette;
- wxXPalette *first =
- (wxXPalette *)M_PALETTEDATA->m_palettes.GetFirst()->GetData();
- XColor xcol;
- int pix_array_n = first->m_pix_array_n;
-
- c->m_pix_array_n = pix_array_n;
- c->m_pix_array = new unsigned long[pix_array_n];
- c->m_display = display;
- c->m_cmap = wxTheApp->GetMainColormap(display);
- c->m_destroyable = false;
-
- xcol.flags = DoRed | DoGreen | DoBlue;
- int i;
- for (i = 0; i < pix_array_n; i++)
- {
- xcol.pixel = first->m_pix_array[i];
- XQueryColor((Display*) first->m_display,
- (Colormap) first->m_cmap, &xcol);
- c->m_pix_array[i] =
- (XAllocColor((Display*) display, (Colormap) c->m_cmap, &xcol) == 0)
- ? 0 : xcol.pixel;
- }
-
- // wxPalette* nonConstThis = (wxPalette*) this;
-
- M_PALETTEDATA->m_palettes.Append(c);
-
- return c->m_cmap;
-}
-
-bool wxPalette::TransferBitmap(void *data, int depth, int size)
-{
- switch(depth) {
- case 8:
- {
- unsigned char *uptr = (unsigned char *)data;
- int pix_array_n;
- unsigned long *pix_array = GetXPixArray((Display*) wxGetDisplay(), &pix_array_n);
- while(size-- > 0)
- {
- if((int)*uptr < pix_array_n)
- *uptr = (unsigned char)pix_array[*uptr];
- uptr++;
- }
-
- return true;
- }
- default:
- return false;
- }
-}
-
-bool wxPalette::TransferBitmap8(unsigned char *data, unsigned long sz,
- void *dest, unsigned int bpp)
-{
- int pix_array_n;
- unsigned long *pix_array = GetXPixArray((Display*) wxGetDisplay(), &pix_array_n);
- switch(bpp) {
- case 8: {
- unsigned char *dptr = (unsigned char *)dest;
- while(sz-- > 0) {
- if((int)*data < pix_array_n)
- *dptr = (unsigned char)pix_array[*data];
- data++;
- dptr++;
- }
- break;
- }
- case 16: {
- unsigned short *dptr = (unsigned short *)dest;
- while(sz-- > 0) {
- if((int)*data < pix_array_n)
- *dptr = (unsigned short)pix_array[*data];
- data++;
- dptr++;
- }
- break;
- }
- case 24: {
- struct rgb24 { unsigned char r, g, b; } *dptr = (struct rgb24 *)dest;
- while(sz-- > 0) {
- if((int)*data < pix_array_n) {
- dptr->r = (unsigned char)(pix_array[*data] & 0xFF);
- dptr->g = (unsigned char)((pix_array[*data] >> 8) & 0xFF);
- dptr->b = (unsigned char)((pix_array[*data] >> 16) & 0xFF);
- }
- data++;
- dptr++;
- }
- break;
- }
- case 32: {
- unsigned long *dptr = (unsigned long *)dest;
- while(sz-- > 0) {
- if((int)*data < pix_array_n)
- *dptr = pix_array[*data];
- data++;
- dptr++;
- }
- break;
- }
- default:
- return false;
- }
- return true;
-}
-
-unsigned long *wxPalette::GetXPixArray(WXDisplay *display, int *n)
-{
- if (!M_PALETTEDATA)
- return (unsigned long*) 0;
- wxList::compatibility_iterator node;
-
- for (node = M_PALETTEDATA->m_palettes.GetFirst(); node;
- node = node->GetNext())
- {
- wxXPalette *c = (wxXPalette *)node->GetData();
- if (c->m_display == display)
- {
- if (n)
- *n = c->m_pix_array_n;
- return c->m_pix_array;
- }
- }
-
- /* Not found; call GetXColormap, which will create it, then this again */
- if (GetXColormap(display))
- return GetXPixArray(display, n);
- else
- return (unsigned long*) 0;
-}
-
-void wxPalette::PutXColormap(WXDisplay* display, WXColormap cm, bool dp)
-{
- UnRef();
-
- m_refData = new wxPaletteRefData;
-
- wxXPalette *c = new wxXPalette;
-
- c->m_pix_array_n = 0;
- c->m_pix_array = (unsigned long*) NULL;
- c->m_display = display;
- c->m_cmap = cm;
- c->m_destroyable = dp;
-
- M_PALETTEDATA->m_palettes.Append(c);
-}