From f9770db21fabc7785627092c52afb0d88f43089f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 1 Jan 2002 13:11:29 +0000 Subject: Use rint() for some more rounding of vertices. Add fl_parse_color() to X11 version, too, and use it instead of XParseColor in the image handling code. Move the default color stuff in the plastic scheme to the MacOS get_system_colors(), and apply the background color to the tile image. More fixes for test makefile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/x.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/x.H b/FL/x.H index 3222da6fc..8c34a0f16 100644 --- a/FL/x.H +++ b/FL/x.H @@ -1,5 +1,5 @@ // -// "$Id: x.H,v 1.10.2.8.2.3 2001/11/27 17:48:16 easysw Exp $" +// "$Id: x.H,v 1.10.2.8.2.4 2002/01/01 13:11:29 easysw Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -129,9 +129,11 @@ FL_EXPORT Fl_Window* fl_find(Window xid); extern FL_EXPORT char fl_override_redirect; // hack into Fl_X::make_xid() extern FL_EXPORT int fl_background_pixel; // hack into Fl_X::make_xid() +extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); + # endif #endif // -// End of "$Id: x.H,v 1.10.2.8.2.3 2001/11/27 17:48:16 easysw Exp $". +// End of "$Id: x.H,v 1.10.2.8.2.4 2002/01/01 13:11:29 easysw Exp $". // -- cgit v1.2.3