Eugene Sandulenko
b590cc2d8f
GUI: Cleanup class initialization
2016-06-01 13:16:12 +02:00
Ori Avtalion
e30a94e6ff
GUI: Remove 'sticky button' feature
...
This feature made pressed buttons wait a few moments before returning to
an unpressed state. It was half-implemented, and caused several visual
bugs. Fixes #7083 .
2016-04-14 18:37:12 +03:00
Torbjörn Andersson
aded46f08b
GUI: Don't crash on empty dictionary in predictive dialog
2016-02-28 15:23:24 +01:00
Torbjörn Andersson
bf5208dd3d
GUI: Fix two leaks in predictive dialog
2016-02-28 15:04:11 +01:00
Johannes Schickel
b6da7c6033
GUI: Add missing _() for translation in predictivedialog.cpp.
2016-01-25 20:38:22 +01:00
Johannes Schickel
5a63ee5375
GUI: Use "button" instead of "btn" in variable names.
2016-01-24 03:41:29 +01:00
Johannes Schickel
120164ba07
GUI: Reduce scope of variable in PredictiveDialog::processButton.
2016-01-24 03:37:33 +01:00
Johannes Schickel
15012d1596
GUI: Fix typo in comment in predictivedialog.cpp.
2016-01-24 03:37:33 +01:00
Johannes Schickel
adbbe6b113
GUI: Improve naming of PredictiveDialog's members.
2016-01-24 03:37:33 +01:00
Johannes Schickel
7c687a05c7
GUI: Make PredictiveDialog::_btns a fixed size array.
2016-01-24 03:22:26 +01:00
Johannes Schickel
c72d95cbcc
GUI: Add constructor instead of duplicating initialization.
2016-01-24 03:19:59 +01:00
Johannes Schickel
144765827f
GUI: Improve variable naming in PredictiveDialog.
2016-01-24 03:14:09 +01:00
Johannes Schickel
66a815a214
GUI: Set PredictiveDialog's debug output to level 5+.
2016-01-24 03:10:13 +01:00
Johannes Schickel
83df1eb43b
GUI: Only use image for delete when applicable in PredictiveDialog.
2016-01-24 03:06:47 +01:00
Johannes Schickel
4a092eeb64
GUI: Formatting fixes in predictivedialog.cpp.
2016-01-24 02:37:35 +01:00
Johannes Schickel
f5dfe6725a
GUI: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Eugene Sandulenko
aa2a6d7445
GUI: Skip useless assignment. CID 1002117
2013-11-03 01:28:03 +02:00
Johannes Schickel
023fedef48
GUI: Do not return current input on cancel in PredictiveDialog.
...
Returning the currently displayed input when you click cancel is confusing
behavior in my eyes.
2013-10-02 00:16:59 +02:00
Johannes Schickel
225a823555
GUI: Initialize PredictiveDialog::_predictiveResult.
...
This fixes garbage output when canceling the predictive dialog in AGI when
nothing was entered.
2013-10-02 00:16:59 +02:00
Johannes Schickel
6ace85a84d
GUI: Clean up calloc use in PredictiveDialog.
...
Instead of manually multiplying the entry count with the entry size we simply
use both parameters of calloc as intended now.
2013-10-02 00:16:59 +02:00
Johannes Schickel
45e7ba130e
GUI: Fix compilation with clang and C++11.
...
newDictLine is allocated with calloc in line 856 thus there is no need to
initialize any entry.
2013-10-02 00:16:59 +02:00
Eugene Sandulenko
92780a3320
GUI: Fix memory leak. CID 1003569
2013-04-24 01:16:31 +03:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Oleksiy Kurochko
24a45beceb
GUI: Use pressed state in predictive dialog in keyboard mode.
...
This adds more visual feedback to the user.
2012-05-03 19:32:34 +03:00
Johannes Schickel
b8065a4392
GUI: Move "I18N" tagged comment to matching strings.
...
The strings are not marked for translation, so I am not sure why the comments
are tagged with I18N though.
2012-03-29 02:23:44 +02:00
Johannes Schickel
388e04bb6d
GUI: Add TODO/FIXME to PredictiveDialog::handleTickle.
2012-03-29 02:12:32 +02:00
Johannes Schickel
a7ee1dc42b
GUI: Remove unnecessary goto in PredictiveDialog code.
2012-03-29 02:08:09 +02:00
Johannes Schickel
6ed2d15c44
GUI: Take advantage of Common::String::empty.
2012-03-29 02:07:02 +02:00
Johannes Schickel
7414544121
GUI: Constify some parameters/methods in PredictiveDialog.
2012-03-29 02:05:45 +02:00
Johannes Schickel
988c3fd6c5
GUI: Make some static strings in PredictiveDialog static + const.
2012-03-29 02:00:25 +02:00
Johannes Schickel
02e77dd7b2
GUI: Don't typedef Common::String in PredictiveDialog code.
2012-03-29 01:53:09 +02:00
Johannes Schickel
f3a19ea6aa
GUI: Get rid of "using namespace Common" in predictivedialog.cpp.
2012-03-29 01:50:52 +02:00
Johannes Schickel
15ff9380b5
GUI: Formatting fixes in the PredictiveDialog code.
2012-03-29 01:50:00 +02:00
D G Turner
371bc1ddc1
GUI: Fix for WinCE compile failure after predictive dialog changes.
...
This is probably due to a collision with WinCE toolchain system define,
so changing the enum from all capitalised to Camel Case constant style.
2012-03-25 23:29:19 +01:00
D G Turner
8b1a01b12d
GUI: Corrected fix for NDS compile failure...
...
Header needed to be in global, not GUI namespace.
2012-03-25 20:23:16 +01:00
D G Turner
9e93b8306d
GUI: Fix for NDS compile failure after predictive dialog changes.
2012-03-25 20:15:53 +01:00
Oleksiy Kurochko
ec32ccb6d6
GUI: Move predictive dialog to common gui
2012-03-25 12:21:38 +03:00