diff options
author | corvid <corvid@lavabit.com> | 2011-01-06 20:08:09 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-01-06 20:08:09 +0000 |
commit | 34c40fb1d42dc2e0ba05e688b1c6b561169737b9 (patch) | |
tree | 7f194304d731aec0657940cf8526a95be9598752 /dw/fltkviewbase.hh | |
parent | a3777e2c753de7b7587384f14a5b3846bbc9e50a (diff) |
some fltkviewbase
Diffstat (limited to 'dw/fltkviewbase.hh')
-rw-r--r-- | dw/fltkviewbase.hh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dw/fltkviewbase.hh b/dw/fltkviewbase.hh index b5c3ab5e..f554a74d 100644 --- a/dw/fltkviewbase.hh +++ b/dw/fltkviewbase.hh @@ -4,16 +4,16 @@ #include <time.h> // for time_t #include <sys/time.h> // for time_t in FreeBSD -#include <fltk/Group.h> -#include <fltk/Image.h> -#include <fltk/Scrollbar.h> +#include <FL/Fl_Group.H> +#include <FL/Fl_Image.H> +#include <FL/Fl_Scrollbar.H> #include "fltkcore.hh" namespace dw { namespace fltk { -class FltkViewBase: public FltkView, public ::fltk::Group +class FltkViewBase: public FltkView, public Fl_Group { private: typedef enum { DRAW_PLAIN, DRAW_CLIPPED, DRAW_BUFFERED } DrawType; @@ -21,7 +21,7 @@ private: int bgColor; core::Region drawRegion; ::fltk::Rectangle *exposeArea; - static ::fltk::Image *backBuffer; + static Fl_Image *backBuffer; static bool backBufferInUse; void draw (const core::Rectangle *rect, DrawType type); @@ -109,11 +109,11 @@ public: int x, int y, int width, int height); bool usesFltkWidgets (); - void addFltkWidget (::fltk::Widget *widget, core::Allocation *allocation); - void removeFltkWidget (::fltk::Widget *widget); - void allocateFltkWidget (::fltk::Widget *widget, + void addFltkWidget (Fl_Widget *widget, core::Allocation *allocation); + void removeFltkWidget (Fl_Widget *widget); + void allocateFltkWidget (Fl_Widget *widget, core::Allocation *allocation); - void drawFltkWidget (::fltk::Widget *widget, core::Rectangle *area); + void drawFltkWidget (Fl_Widget *widget, core::Rectangle *area); }; } // namespace fltk |