summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-09-24 16:00:11 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-09-24 16:00:11 +0000
commit18ad096722e7ce1d38ed7f956fe11a86c9a0dee5 (patch)
treedfbd127b3e7f2bc4c1070dc3d17a5d65aa226427 /FL
parent44a7ad2c489bc6e9e65b82c8776cc136472fd588 (diff)
Now look for 8 bits of alpha when the developer has requested
FL_RGB8 (STR #541) The last line in an Fl_Help_View widget was not aligned properly (STR #536) The "search" symbol looked like a Q (STR #536) Changed Fl_Help_View::get_color() to use a lookup table to avoid serious Borland C++ 5.5 compiler bugs (STR #533) Fixed Watcom compiler warnings with FL/Fl_Widget.H (STR #540) The image class copy() methods did not always make a separate copy of the image data (STR #539) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Widget.H12
1 files changed, 6 insertions, 6 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index 95b48165c..7fed7af76 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Widget.H,v 1.6.2.4.2.24 2004/07/27 16:02:18 easysw Exp $"
+// "$Id: Fl_Widget.H,v 1.6.2.4.2.25 2004/09/24 16:00:08 easysw Exp $"
//
// Widget header file for the Fast Light Tool Kit (FLTK).
//
@@ -81,10 +81,10 @@ protected:
Fl_Widget(int,int,int,int,const char* =0);
- void x(int v) {x_ = v;}
- void y(int v) {y_ = v;}
- void w(int v) {w_ = v;}
- void h(int v) {h_ = v;}
+ void x(int v) {x_ = (short)v;}
+ void y(int v) {y_ = (short)v;}
+ void w(int v) {w_ = (short)v;}
+ void h(int v) {h_ = (short)v;}
int flags() const {return flags_;}
void set_flag(int c) {flags_ |= c;}
@@ -217,5 +217,5 @@ public:
#endif
//
-// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.24 2004/07/27 16:02:18 easysw Exp $".
+// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.25 2004/09/24 16:00:08 easysw Exp $".
//