From bf48acdbe53bd9fdebaa731831cea946f394350d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 29 Dec 2018 02:16:40 +0100 Subject: Adding documentation for '@N', inactive color. --- FL/Fl_Browser.H | 6 ++++-- test/browser.cxx | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index 350dbf709..191d98271 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -212,7 +212,8 @@ public: and used to modify how the rest of the line is printed: \li '\@.' Print rest of line, don't look for more '\@' signs - \li '\@\@' Doubling the format character prints the format character once, followed by the rest of line + \li '\@\@' Doubling the format character prints the format + character once, followed by the rest of line \li '\@l' Use a LARGE (24 point) font \li '\@m' Use a medium large (18 point) font \li '\@s' Use a small (11 point) font @@ -222,8 +223,9 @@ public: font (sets font to FL_COURIER) \li '\@c' Center the line horizontally \li '\@r' Right-justify the text + \li '\@N' Use fl_inactive_color() to draw the text \li '\@B0', '\@B1', ... '\@B255' Fill the backgound with - fl_color(n) + fl_color(n) \li '\@C0', '\@C1', ... '\@C255' Use fl_color(n) to draw the text \li '\@F0', '\@F1', ... Use fl_font(n) to draw the text \li '\@S1', '\@S2', ... Use point size n to draw the text diff --git a/test/browser.cxx b/test/browser.cxx index e0ea9e799..749a7ed83 100644 --- a/test/browser.cxx +++ b/test/browser.cxx @@ -44,6 +44,7 @@ That was a blank line above this. @C1RED @C2Green @C4Blue +@N@.Inactive @@ start line with '@' @.@ alternative start line with '@' -- cgit v1.2.3