summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Display.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-09 18:28:49 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-09 18:28:49 +0000
commitc3cde61e9879825c1547e366e2b9becedc1179e7 (patch)
tree9c4aa45caf1d1d9c670b4725b5c4bea93a01debb /FL/Fl_Text_Display.H
parent464c7d8ba5b57b3022609d80fb4c305ccfc1cb06 (diff)
Add documentation for using styles in text editor.
Add placeholder for style attributes - hidden + underlined - for future use. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Display.H')
-rw-r--r--FL/Fl_Text_Display.H18
1 files changed, 13 insertions, 5 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H
index 754cc10cb..575748758 100644
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Text_Display.H,v 1.4.2.7 2002/06/08 12:51:38 easysw Exp $"
+// "$Id: Fl_Text_Display.H,v 1.4.2.8 2002/06/09 18:28:48 easysw Exp $"
//
// Header file for Fl_Text_Display class.
//
@@ -55,10 +55,18 @@ class Fl_Text_Display: public Fl_Group {
typedef void (*Unfinished_Style_Cb)();
+ // style attributes - currently not implemented!
+ enum {
+ ATTR_NONE = 0,
+ ATTR_UNDERLINE = 1,
+ ATTR_HIDDEN = 2
+ };
+
struct FL_EXPORT Style_Table_Entry {
- Fl_Color color;
- Fl_Font font;
- int size;
+ Fl_Color color;
+ Fl_Font font;
+ int size;
+ unsigned attr;
};
FL_EXPORT Fl_Text_Display(int X, int Y, int W, int H, const char *l = 0);
@@ -234,5 +242,5 @@ class Fl_Text_Display: public Fl_Group {
#endif
//
-// End of "$Id: Fl_Text_Display.H,v 1.4.2.7 2002/06/08 12:51:38 easysw Exp $".
+// End of "$Id: Fl_Text_Display.H,v 1.4.2.8 2002/06/09 18:28:48 easysw Exp $".
//