mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Fl::belowmouse() was resetting the tooltip, causing the flashing
in the FLUID window and havoc for the KDE 2.2 window manager... Changed the default tooltip position to be +10, +10 from the mouse pointer, and the default tooltip background color to a pale yellow to match other toolkit defaults. Update Fl_Widget::flags_ to be an integer, to support more flag bits. Update Fl_Window to support override() and set_override() methods. The configure script did not set the default library path to /usr/lib32 under IRIX 6.2 and higher when prefix is /usr. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+4
-4
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.6 2001/08/06 23:51:39 easysw Exp $"
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.7 2001/10/18 18:53:20 easysw Exp $"
|
||||
//
|
||||
// Widget header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -58,7 +58,7 @@ class Fl_Widget {
|
||||
short x_,y_,w_,h_;
|
||||
Fl_Label label_;
|
||||
uchar type_;
|
||||
uchar flags_;
|
||||
int flags_;
|
||||
uchar damage_;
|
||||
uchar box_;
|
||||
uchar color_;
|
||||
@@ -81,7 +81,7 @@ protected:
|
||||
void w(int v) {w_ = v;}
|
||||
void h(int v) {h_ = v;}
|
||||
|
||||
uchar flags() const {return flags_;}
|
||||
int flags() const {return flags_;}
|
||||
void set_flag(int c) {flags_ |= c;}
|
||||
void clear_flag(int c) {flags_ &= ~c;}
|
||||
enum {INACTIVE=1, INVISIBLE=2, OUTPUT=4, SHORTCUT_LABEL=64, CHANGED=128};
|
||||
@@ -206,5 +206,5 @@ public:
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.6 2001/08/06 23:51:39 easysw Exp $".
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.7 2001/10/18 18:53:20 easysw Exp $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user