summaryrefslogtreecommitdiff
path: root/fluid/widgets/Text_Viewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/widgets/Text_Viewer.cxx')
-rw-r--r--fluid/widgets/Text_Viewer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/widgets/Text_Viewer.cxx b/fluid/widgets/Text_Viewer.cxx
index 3cd89d4d8..f1e0bcdbb 100644
--- a/fluid/widgets/Text_Viewer.cxx
+++ b/fluid/widgets/Text_Viewer.cxx
@@ -24,11 +24,11 @@
/**
- Create a fld::widget::Text_Viewer widget.
+ Create a Text_Viewer widget.
\param[in] X, Y, W, H position and size of the widget
\param[in] L optional label
*/
-fld::widget::Text_Viewer::Text_Viewer(int X, int Y, int W, int H, const char *L)
+Text_Viewer::Text_Viewer(int X, int Y, int W, int H, const char *L)
: Fl_Text_Display(X, Y, W, H, L)
{
buffer(new Fl_Text_Buffer);
@@ -37,7 +37,7 @@ fld::widget::Text_Viewer::Text_Viewer(int X, int Y, int W, int H, const char *L)
/**
Avoid memory leaks.
*/
-fld::widget::Text_Viewer::~Text_Viewer() {
+Text_Viewer::~Text_Viewer() {
Fl_Text_Buffer *buf = mBuffer;
buffer(0);
delete buf;
@@ -46,7 +46,7 @@ fld::widget::Text_Viewer::~Text_Viewer() {
/**
Tricking Fl_Text_Display into using bearable colors for this specific task.
*/
-void fld::widget::Text_Viewer::draw()
+void Text_Viewer::draw()
{
Fl_Color c = Fl::get_color(FL_SELECTION_COLOR);
Fl::set_color(FL_SELECTION_COLOR, fl_color_average(FL_BACKGROUND_COLOR, FL_FOREGROUND_COLOR, 0.9f));