Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
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
|
|
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
|
|
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
|
|
svn-id: r48240
|
|
svn-id: r40867
|
|
flag WIDGET_IGNORE_DRAG.
svn-id: r35662
|
|
svn-id: r35572
|
|
before (as discussed with LordHoto)
svn-id: r35519
|
|
svn-id: r35513
|
|
GUI::ThemeEngine::TextAlignVertical
svn-id: r35023
|
|
svn-id: r35022
|
|
svn-id: r35018
|
|
Massive cleanup.
svn-id: r34983
|
|
svn-id: r34936
|
|
Possible regressions.
svn-id: r33833
|
|
svn-id: r30357
|
|
- reworked state (enabled/disabled/highlighted) handling of widgets
- cleanup in ModernTheme.cpp
svn-id: r29403
|
|
svn-id: r29282
|
|
svn-id: r27786
|
|
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
|
|
Common::String (mainly to make doxygen happy)
svn-id: r25360
|
|
svn-id: r23662
|
|
copying strings needlessly
svn-id: r22873
|
|
svn-id: r22799
|
|
svn-id: r22798
|
|
again.
svn-id: r22746
|
|
- updates builtin theme config for my next commit
- bumps theme config
svn-id: r22743
|
|
- adds possibility to draw GraphicsWidgets with alpha values.
svn-id: r22738
|
|
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed
svn-id: r22670
|
|
fix same problem in scumm help dialog.
svn-id: r22522
|
|
(some little things could be missing yet though)
svn-id: r22017
|
|
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file
svn-id: r21420
|