aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
AgeCommit message (Collapse)Author
2012-10-08Merge pull request #257 from lordhoto/graphics-conversionJohannes Schickel
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-28GUI: Use in-place Surface conversion in widget code.Johannes Schickel
2012-07-24GUI: Implement saving in the grid based save/load chooser.Johannes Schickel
2012-07-09GUI: Make container widget a bit more container like.Johannes Schickel
Now it is possible to add sub widgets to a ContainerWidget and allow for these to get events too.
2012-06-29GUI: Use a black rect when no thumbnail is available in the thumbnail load ↵Johannes Schickel
chooser.
2012-06-13GUI: Allow Surfaces with abitrary RGB pixel formats to be used in ↵Johannes Schickel
PicButtonWidget and GraphicsWidget. Only 1Bpp aka paletted surfaces are not supported.
2012-06-12GUI: Take advantage of Surface::fillRect in GraphicsWidget::setGfx.Johannes Schickel
2012-05-07GUI: Fix bug with button pressed stateOleksiy Kurochko
2012-05-03GUI: Implemented pressed state for buttonsOleksiy Kurochko
2012-01-29GUI: Slight formatting fix.Johannes Schickel
2011-12-13GUI: Handle adding clear buttons that don't exist in layoutsTarek Soliman
The buttons in the keymapper are dynamically generated and don't exist in the layout; They have no name.
2011-12-13GUI: Move addClearButton() from options.cpp to widget.cppTarek Soliman
This is so it can be used outside options.cpp
2011-10-25GUI: Made PicButtonWidget derivative of ButtonWidgetEugene Sandulenko
2011-08-06GUI: Consistent behavior of ButtonWidget::setLabel()Eugene Sandulenko
2011-06-02GUI: Replace some s(n)printf uses by Common::String::formatMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17GUI: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GUI: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-01-20GUI: Fix Memory Leak from PicButtonWidget _gfx Member.David Turner
This widget is only currently used by Hugo. svn-id: r55364
2011-01-03GUI: Implement PicButtonWidgetEugene Sandulenko
It is a button with picture intead of text. To be used by Hugo engine svn-id: r55099
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-08-07fixed a typo with hotkeys in ButtonWidgetNeeraj Kumar
svn-id: r51830
2010-07-23GUI: Fix tooltip drawingEugene Sandulenko
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
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-07-04Prevent GraphicsWidget from being assigned a surface which wouldn't fit in ↵Johannes Schickel
the widget. svn-id: r50641
2010-07-04Center the surface of a GraphicsWidget in case it is smaller than the ↵Johannes Schickel
widget's size. svn-id: r50639
2010-06-16Fix for Tooltip calls causing valgrind errors.David Turner
svn-id: r49901
2010-06-15GUI: Fix crash.Eugene Sandulenko
svn-id: r49784
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
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
2010-06-15GUI: Implement radiobuttons.Eugene Sandulenko
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
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
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
2009-06-06Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".Eugene Sandulenko
- 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
2009-06-06Implement widget property "textalign". Added it to all theme layoutsEugene Sandulenko
svn-id: r41265
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-04-11Fixed bug #2706939 (Enabled button not drawn correctly) and other similar cases.Vicent Marti
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
2009-02-19Fixed regression in Options menu and disabled Save/Load buttons.Vicent Marti
svn-id: r38524
2009-02-19Last minute fix (enabling/disabling widgets mid-frame).Vicent Marti
svn-id: r38520
2009-02-07Third attemp at fixing release-critical #2472185. Also fixes regression ↵Vicent Marti
reported in #2555710. svn-id: r36227
2009-02-06Reverted previous commit.Vicent Marti
svn-id: r36226
2009-02-06Removed special case when redrawing the dialog stack. Fixes bug #2555710 and ↵Vicent Marti
several lesser graphical glitches with classic theme. svn-id: r36225
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-08Fixed release critical bug #2472185. All transparent buttons should now ↵Vicent Marti
properly refresh their text when changed between redrawing frames. This includes the launcher "Add game" button and the options "subtitle mode" button. svn-id: r35789
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-27GUI: Added Widget::setVisible convenience wrapperMax Horn
svn-id: r35572
2008-12-25Renamed NewGui to GuiManagerMax Horn
svn-id: r35544
2008-12-24Added valueToBarWidth to calculate SliderWidget's bar width like it was done ↵Jordi Vilalta Prat
before (as discussed with LordHoto) svn-id: r35519