aboutsummaryrefslogtreecommitdiff
path: root/gui/editable.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-07 05:39:52 +0000
committerEugene Sandulenko2006-03-07 05:39:52 +0000
commit018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2 (patch)
treece773d203cb6e24aa2a3f206a7eaf2547bef5762 /gui/editable.cpp
parent02bdcc45c9aaca4ab98b27eccd21ae00731aa2f8 (diff)
downloadscummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.tar.gz
scummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.tar.bz2
scummvm-rg350-018c93b14a9f2b3eda3bdfafcf9b90ee9ac0f8f2.zip
More work on customizable GUI.
o Implemented special alias 'prev' o Added new calling scheme to several widgets o Partially converted launcher dialog to new scheme o Converted couple widgets of chooser dialog svn-id: r21118
Diffstat (limited to 'gui/editable.cpp')
-rw-r--r--gui/editable.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/editable.cpp b/gui/editable.cpp
index 679e1dad58..d44b43131d 100644
--- a/gui/editable.cpp
+++ b/gui/editable.cpp
@@ -27,6 +27,15 @@ namespace GUI {
EditableWidget::EditableWidget(GuiObject *boss, int x, int y, int w, int h, WidgetSize ws)
: Widget(boss, x, y, w, h) {
+ init();
+}
+
+EditableWidget::EditableWidget(GuiObject *boss, String name, WidgetSize ws)
+ : Widget(boss, name) {
+ init();
+}
+
+void EditableWidget::init() {
_caretVisible = false;
_caretTime = 0;
_caretPos = 0; // FIXME