aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
AgeCommit message (Collapse)Author
2019-10-07GRAPHICS: Vector renderer clipping rect related cleanupsBastien Bouclet
Selecting whether a clipping variant of a draw call needs to be used is no longer the responsibility to the caller. The clipping rect is now part of the state of the renderer. Also fix some of the draw calls to better apply the clipping rect.
2019-07-30GUI: Rewrite Cloud tabAlexander Tkachev
- StorageWizardDialog is removed, along with bmps it was using; - EditTextWidget now accepts custom font in constructor; - ScrollContainer scrollbar now jumps to top when content height changes so it's "overscrolled"; - IndexPageHandler now does not awaits for `code` GET-parameter, as local webserver is no longer used to connect Storages; - CloudManager and all corresponding Storages are updated to support disconnecting and to notify about successful connection.
2019-05-05GUI: Use a truetype font for the debug consoleBastien Bouclet
2018-12-16GUI: Add option to enable/disable using the system file browserThierry Crozat
2018-07-22GUI: Use ScrollContainer in graphics tabThierry Crozat
This fixes bug #10634 - GUI: Options cutoff for Edit Game when Graphics mode is x2 or less
2018-07-13GUI: Bump theme versionThierry Crozat
I meant to, but forgot, to do it when adding the stretch factor to the Options dialog. Doing it now should prevent from using older themes that do not have the position for this widget.
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-04-19GUI: Remove alpha bitmap supportBastien Bouclet
It was never used since its introduction 4 years ago It was not updated to work with the clipping rect
2018-03-12GUI: Remove the ThemeItem draw queuesBastien Bouclet
Drawing nows happens directly when the Dialog or Widget draw methods are called. This makes it easy to debug why a particular low level draw method was called, by inspecting the call stack. This replaces the notion of "buffering" by two independant ways to control what is drawn and where: - The active layer is used to select whether the foreground or background part of the dialogs are rendered by the draw calls. - The active surface is used to select if the draw calls affect the back buffer or the screen. The foreground layer of the active dialog is drawn directly to the screen. Its background layer is drawn to the back buffer. This way widgets can restore the back buffer in order to update without having to redraw the dialog's background. Dialogs lower in the dialog stack are drawn entirely to the back buffer.
2017-02-28GUI: Give each tab in TabWidget its own widthWillem Jan Palenstijn
The width of each tab is now computed from its title, independently of the other tabs. This increases the number of tabs that fit on the screen. This rewrite also fixes a bug where if the window size increased while _firstVisibleTab > 0, some tabs would become inaccessible when the scroll buttons were hidden. The layout key Globals.TabWidget.Tab.Width is now treated as minimal tab width. This is set so that the tabs fit reasonably well in lowres layouts. At the same time, this reduces the lowres scroll buttons heights to fit. This patch makes the Nintento DS hacks in TabWidget obsolete. (Hopefully! I'm not able to test.)
2016-10-30GUI: Add Apply button in global options dialogThierry Crozat
2016-10-21GUI: Increase theme versionThierry Crozat
This should have been done when making changes to it but I forgot.
2016-08-24GUI: Add Storage providers logosAlexander Tkachev
StorageWizardDialog now shows logo of the Storage being connected (in modern highres theme).
2016-08-24GUI: Add "Paste" button in StorageWizardDialogAlexander Tkachev
It pastes clipboard contents as code into 8 fields of that dialog. (Clipboard support works with SDL2 only.) "Open URL" and "Paste" buttons are placed in the left column under the picture (because there is no room for 4 buttons in the bottom row). Commit also adds "dropbox.bmp", which is just a square 115x115 picture. Such pictures are would be used as Storages logos in that dialog. In lowres there is no left column, so all 4 buttons are in the same row. None of them are visible, because they are overflowed. Container has to be added to continue working on them.
2016-08-24GUI: Added transparency to PicWidgetsEugene Sandulenko
2016-08-24GUI: Switched GUI to draw on TransparentSurfaceEugene Sandulenko
2016-08-24GUI: Added empty dialog backgroundEugene Sandulenko
2016-08-24GUI: Added possibility to specify scale mode for AlphaBitmapsEugene Sandulenko
2016-08-24GUI: Implemented possibility to use alphabitmaps in GraphicsWidgetEugene Sandulenko
2016-08-24GUI: Added new alphabitmap image typeEugene Sandulenko
2016-07-03GUI: Use clipping everywhereAlexander Tkachev
2016-07-03GUI: Fix blitAlphaBitmapClip()Alexander Tkachev
2016-07-03GUI: Add drawTabClip()Alexander Tkachev
2016-07-03GUI: Add drawSquareClip()Alexander Tkachev
2016-07-03GUI: Add VectorRendererSpec::drawTriangleClip()Alexander Tkachev
2016-07-03GUI: Make PopUpWidget clipAlexander Tkachev
2016-07-03GUI: Prepare button to be clippedAlexander Tkachev
2016-07-03GUI: Use boss's x/y/w/h instead of clippingAreaAlexander Tkachev
2016-01-24GUI: Use "button" instead of "btn" in variable names.Johannes Schickel
2016-01-24GUI: Only use image for delete when applicable in PredictiveDialog.Johannes Schickel
2014-08-29GUI: Fix some Doxygen comments that seem wrong.Einar Johan Trøan Sømåen
2013-08-16GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)Narek Mailian
Includes code from https://github.com/inisider/scummvm/ , which has been squashed and bugfixed
2013-08-08GUI: Change name of GUI-renderers to remove "16-bit"Narek Mailian
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-01-27GUI: Allow user to display hidden files in the browser dialog.Johannes Schickel
This implements feature request #3600774 "File browser: show hidden files".
2013-01-26GUI: Move the FluidSynth reset button from Misc tab to bottomTorbjörn Andersson
This should make it clearer that Reset applies to all of the FluidSynth settings, not just the Misc tab.
2013-01-26GUI: Add "Reset" button to FluidSynth settings dialogTorbjörn Andersson
This resets the FluidSynth settings to their default values.
2013-01-26FLUIDSYNTH: Add separate dialog for FluidSynth settingsTorbjörn Andersson
I don't really understand what these parameters do, or what the sensible values are, so for now the sliders are limited only by the allowed (or, in one case, "safe") values.
2012-07-24GUI: Implement saving in the grid based save/load chooser.Johannes Schickel
2012-07-01GUI: Add page display to grid based load chooser.Johannes Schickel
2012-06-29GUI: Allow the user to switch between list and thumbnail based load chooser.Johannes Schickel
2012-06-13GUI: Allow querying of the pixel format used by ThemeEngine.Johannes Schickel
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-05-03GUI: Implemented pressed state for buttonsOleksiy Kurochko
2012-03-25GUI: Change the undithering checkbox to be an engine-specific optionFilippos Karapetis
2012-03-25GUI: Move predictive dialog to common guiOleksiy Kurochko
2012-03-19GUI: Add per-engine and per-game optionsFilippos Karapetis
2012-01-29GRAPHICS/GUI: Implement kerning support for Font.Johannes Schickel
This adapts the related graphics code, which is the generic Font API and the TTF font implementation. It furthermore adapts the GUI to properly take care of kerning in text input widgets.
2012-01-29GUI: Add support for loading TTF files with ISO-8859-1 charset.Johannes Schickel
2012-01-07GUI: Rework how the default localized font is managed.Johannes Schickel
Now we set the default localized font to the "text_default" font of the currently active theme and default to the big GUI font in case none is specified properly.