NotifyBox is now window... to simplify a bunch of things.

This commit is contained in:
Sanel Zukan
2007-06-28 11:21:24 +00:00
parent 2bb9e5dc4c
commit cbc6571b77
3 changed files with 51 additions and 69 deletions

View File

@ -14,14 +14,16 @@
#define __NOTIFYBOX_H__
#include <FL/Fl_Box.h>
#include <FL/Fl_Window.h>
class NotifyBox : public Fl_Box {
class NotifyBox : public Fl_Window {
private:
bool is_shown;
int state;
int lwidth, lheight;
int area_w, area_h;
Fl_Box* txt_box;
void update_label_size(void);
void resize_all(void);
public:
NotifyBox(int aw, int ah);