Age | Commit message (Collapse) | Author |
|
GUI: Redraw Widget when setAlign() called
|
|
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.
|
|
Without this, buttons would stay highlighted after being un-pressed.
Fixes #7094.
|
|
|
|
Keep track of where a mouse press started when deciding how mouse-over
and mouse-up should behave.
This handles the following situations:
1) If a mouse press starts outside a button (e.g. the UI background),
mouse-up inside the button has no effect. Previously, it triggered a
button click.
2) If a mouse press starts inside a button, the cursor moves outside of
its region, then back inside, the button will show as pressed.
Previously, it showed as highlighted instead of pressed.
|
|
|
|
|
|
One of the two ButtonWidget constructor did not initialise _hotkey
when given a non-null value. This caused valgrind to report an
access to uninitialised variable in Dialog::handleKeyDown().
|
|
|
|
|
|
On file-grained sliders, changing the value by one pixel was
unpredictable because it wouldn't change by the same amount every
time. (And of course, some values were not possible to set.)
On course-grained sliders, changing the value by one pixel would
sometimes not change it at all, causing the slider to seem stuck.
Now the slider can be set to any value.
|
|
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
|
|
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
|
|
|
|
|
|
Now it is possible to add sub widgets to a ContainerWidget and allow for these
to get events too.
|
|
chooser.
|
|
PicButtonWidget and GraphicsWidget.
Only 1Bpp aka paletted surfaces are not supported.
|
|
|
|
|
|
|
|
|
|
The buttons in the keymapper are dynamically generated and don't exist in
the layout; They have no name.
|
|
This is so it can be used outside options.cpp
|
|
|
|
|
|
|
|
|
|
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16
Conflicts:
graphics/png.cpp
|
|
Some backends may break as I only compiled SDL
|
|
|
|
depth.
|
|
svn-id: r55818
|
|
This widget is only currently used by Hugo.
svn-id: r55364
|
|
It is a button with picture intead of text. To be used by Hugo engine
svn-id: r55099
|
|
svn-id: r54265
|
|
svn-id: r51830
|
|
With help of Tanoku tooltips were switched from widgets to dialogs
which helped to fix nasty bug with background not being restored.
Although it is basically a hack around inconsistent font backbuffering
in our GUI code, for the time being it is feasible.
The patch was extended with way to specify tooltip background in the
theme file.
svn-id: r51217
|
|
svn-id: r51094
|
|
the widget.
svn-id: r50641
|
|
widget's size.
svn-id: r50639
|
|
svn-id: r49901
|
|
svn-id: r49784
|
|
FR #2821513: "GUI: add tooltips".
Added tooltips for Add Game button, clear field buttons and couple
other.
Current problem: Only first call correctly restores text. I could
not find where restore information gets lost.
svn-id: r49774
|
|
Implement radiobuttons in GUI. Also closes FR #2821529:
"GUI: volume and subtitles speed sliders".
Subtitle toggle button is replaced by three radiobuttons grouped
by a single group.
Updated translations and themes.
svn-id: r49767
|
|
Now it is possible to specify hotkeys in place for ButtonWidget
and CheckboxWidget (the only widgets with hotkeys now).
Use de-facto standard with putting hotkey between tildes (~).
Like '~O~pen'. The tildes gets stripped before after hotkey
is extracted.
This is done for giving translators possibility to specify
their own hotkeys.
Old hotkeys defined at widget instance creation are left for
leaving possibility to specify non-printable hotkeys such as
Common::ASCII_ESCAPE.
Translation files were updated respectively.
svn-id: r49766
|
|
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties
svn-id: r41266
|
|
svn-id: r41265
|
|
svn-id: r40867
|
|
Fixed background shading weirdness when opening many dialogs on top of each other.
Fixed some modal dialogs not redrawing properly when closed.
svn-id: r39938
|