Work on theming support...

This commit is contained in:
Sanel Zukan
2008-02-18 14:46:13 +00:00
parent 0ad832e770
commit 44687cb3a6
14 changed files with 519 additions and 43 deletions

View File

@@ -14,7 +14,6 @@
#define __TEXTAREA_H__
#include <FL/Fl_Input.h>
#include <edelib/Debug.h>
/*
@@ -40,6 +39,10 @@ class TextArea : public Fl_Input {
if(event == FL_SHOW || event == FL_HIDE)
return 1;
// don't allow input when we are disabled
if(event == FL_KEYBOARD && !active())
return 1;
int ret = Fl_Input::handle(event);
if(ret);
parent()->damage(FL_DAMAGE_ALL, x(), y(), w(), h());