aboutsummaryrefslogtreecommitdiff
path: root/dw/ui.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-22 09:56:52 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-22 09:56:52 +0200
commitdb8450799255e2de37a9cd8c15610211673af6e1 (patch)
tree96295e53c051a7bfea4c75d972baf7107aa6d529 /dw/ui.hh
parent8ab9de15c7e52f8ab201412649f946b1922b1944 (diff)
disable forms while stylesheets are pending
To avoid lost user input on repush, we disable forms until all stylesheets have been loaded. Also open select widgets cause crashes on repush.
Diffstat (limited to 'dw/ui.hh')
-rw-r--r--dw/ui.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/ui.hh b/dw/ui.hh
index 37724b52..29ee8916 100644
--- a/dw/ui.hh
+++ b/dw/ui.hh
@@ -244,6 +244,7 @@ public:
void setAscent (int ascent);
void setDescent (int descent);
void setDisplayed (bool displayed);
+ void setEnabled (bool displayed);
void draw (View *view, Rectangle *area);
Iterator *iterator (Content::Type mask, bool atEnd);
void setStyle (style::Style *style);