summaryrefslogtreecommitdiff
path: root/FL/Fl_Spinner.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2013-05-16 05:02:18 +0000
committerGreg Ercolano <erco@seriss.com>2013-05-16 05:02:18 +0000
commit406a22487fcca6597e7d87765983692720ccbb24 (patch)
tree1e8821c4d5f0d8a4900c3c6d03d3942f40458dd3 /FL/Fl_Spinner.H
parenta22eba2b38dd83d1244640b8ef3d2b73bd794147 (diff)
Adding simple access to input widget's selection_color()..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Spinner.H')
-rw-r--r--FL/Fl_Spinner.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H
index 02830e2e4..b2549adfc 100644
--- a/FL/Fl_Spinner.H
+++ b/FL/Fl_Spinner.H
@@ -241,6 +241,14 @@ private:
Return the background color of the spinner widget's input field.
*/
Fl_Color color() const { return(input_.color()); }
+ /**
+ Change the selection color of the spinner widget's input field.
+ */
+ void selection_color(Fl_Color val) { input_.selection_color(val); }
+ /**
+ Return the selection color of the spinner widget's input field.
+ */
+ Fl_Color selection_color() const { return input_.selection_color(); }
};
#endif // !Fl_Spinner_H