aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
AgeCommit message (Collapse)Author
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.
2012-01-06GUI: Slight cleanup for font/image loading.Johannes Schickel
2012-01-06GRAPHICS: Rework BDF font code.Johannes Schickel
2011-12-26SCUMM: Add a difficulty selection dialog for Loom FM-Towns.Johannes Schickel
It is in spirit of the DOS version's selection dialog, but it has the description above the buttons instead of below it.
2011-12-07GUI: Improved pop up and scrollbar arrows lookMaximRussia
Previous triangle drawing was all wrong, rewrote it from the scratch. Added padding to drawsteps in stx files
2011-10-25GUI: Added clear button to pathsEugene Sandulenko
2011-10-24GUI: Added icon to clear button. Reverted PNG supportEugene Sandulenko