From 13ae564f03a3ea7dd86e218fb287363842371cba Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 9 Jun 2002 13:35:49 +0000 Subject: Add color definitions for "dark red", etc. Change "text" and "selecion" methods to return char *, not const char *, since they return a changeable copy of the text. Add range checking to style lookup in Fl_Text_Display. Add syntax hilighting to editor example. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'FL/Enumerations.H') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index cbf81f1f9..92e6f1454 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.18.2.14.2.23 2002/04/26 11:32:37 easysw Exp $" +// "$Id: Enumerations.H,v 1.18.2.14.2.24 2002/06/09 13:35:49 easysw Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -298,6 +298,14 @@ enum Fl_Color { // standard colors FL_BLUE = 216, FL_MAGENTA = 248, FL_CYAN = 223, + FL_DARK_RED = 72, + + FL_DARK_GREEN = 60, + FL_DARK_YELLOW = 76, + FL_DARK_BLUE = 136, + FL_DARK_MAGENTA = 152, + FL_DARK_CYAN = 140, + FL_WHITE = 255 }; @@ -389,5 +397,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.18.2.14.2.23 2002/04/26 11:32:37 easysw Exp $". +// End of "$Id: Enumerations.H,v 1.18.2.14.2.24 2002/06/09 13:35:49 easysw Exp $". // -- cgit v1.2.3