mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Work on theming support...
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user