aboutsummaryrefslogtreecommitdiff
path: root/gui/TabWidget.cpp
AgeCommit message (Collapse)Author
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 FR #2821514.Eugene Sandulenko
FR #2821514: "GUI: OK and Cancel buttons in option tabs". Now tabs are visually separated from the buttons. svn-id: r49770
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-08-16Added Ninteno DS specific hack, which takes care of tab button width ↵Johannes Schickel
problems. This actually is not a NDS specific problem, but so far the NDS seems to be the only backend, which has a custom (hardcoded) dialog, which makes problems with our theme layouts. Instead of r43423, which enabled auto width calculaction for tab buttons on all platforms, this commit limits this to the Nintendo DS backend. This takes care of possible layout changes, caused by the changes of the commit. I also added a comment with possible solutions to this problem. svn-id: r43426
2009-01-18GUI: Removed ThemeEngine::getTabSpacing() and getTabPadding(); removed some ↵Max Horn
dead code svn-id: r35896
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-08-13Finished legacy API cleanup. Removed all legacy code.Vicent Marti
Possible regressions. svn-id: r33833
2008-08-07Game Options menu parsing.Vicent Marti
Added support for importing layouts inside other layouts. Misc bugfixes. svn-id: r33676
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-11-11Fixed memory leaking of TabWidget. (thanks to jvprat for pointing out)Johannes Schickel
svn-id: r29475
2007-11-04- made Widget::_flags privateJohannes Schickel
- reworked state (enabled/disabled/highlighted) handling of widgets - cleanup in ModernTheme.cpp svn-id: r29403
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-30Changed GUI system to use Common::KeyState stateMax Horn
svn-id: r27786
2007-06-07Added TabWidget::removeTab method; and updated some comments in TabWidget.hMax Horn
svn-id: r27168
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-15Fixing some memory leaks in the GUI codeMax Horn
svn-id: r26515
2006-08-04Renamed handleScreenChanged() -> reflowLayout() in the GUI codeMax Horn
svn-id: r23662
2006-06-15- Adds 'THEME_HINT_NO_BACKGROUND_RESTORE' for buttons which don't want ↵Johannes Schickel
restored background (example: the tab scrolling buttons). - Call _theme->drawAll() at the end of the redraw method of NewGui svn-id: r23134
2006-06-15Fix bug with tab navigation buttons jumping on resolution change.Eugene Sandulenko
svn-id: r23128
2006-06-15Fixed regression with the override checkboxes in the "Edit game" dialog. TheTorbjörn Andersson
checkbox's command message was being intercepted by the tab widget. svn-id: r23126
2006-06-15Fix drawing of tab widget. Now it matches mock-ups. Added tab scrolling.Eugene Sandulenko
svn-id: r23116
2006-06-14Implements new Tab drawing for modern theme (nearlly matches mockups now)Johannes Schickel
svn-id: r23106
2006-06-11Re-calculate tab width when the screen changes.Torbjörn Andersson
svn-id: r23037
2006-06-03*Loads* of Common::String related optimizations. Woa, *tons* of methods were ↵Max Horn
copying strings needlessly svn-id: r22873
2006-05-31Cleanup. We no longer need these widget size parameters.Torbjörn Andersson
svn-id: r22798
2006-05-31Update _tabHeight on screen changes.Torbjörn Andersson
svn-id: r22791
2006-04-19Started to prepare the gui for runtime resolution switches.Johannes Schickel
(some little things could be missing yet though) svn-id: r22017
2006-03-08o Converted most (all?) widgets to new scheme.Eugene Sandulenko
o Converted global options dialog to new scheme. svn-id: r21137
2006-02-13Implemented new tab drawing, should look nicer now. (The border under the ↵Johannes Schickel
active tab isn't drawn anymore) svn-id: r20669
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-01-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- adds a ImageMan and ImageDec class for loading and managing image files - adds a loader for zip files which is used by the new theme and the image manager - changes the widgets to use the new gui code - changes the scumm dialogs to use the new gui code - fixes a #include problem in the sky debugger with the new gui code To use the new gui copy gui/themes/default-theme.zip to your extrapath. If the theme zip can not be found the gui will fallback to the classic theme. If you want to change the gui styles use "gui_theme=classic" for the classic theme and "gui_theme=default-theme" for the new theme. Thanks to eriktorbjorn for testing and help with the new theme and to sev for reviewing this patch. svn-id: r20227
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-03Cleanup.Torbjörn Andersson
svn-id: r18320
2005-05-17Added "big" version of the Tab widget, and made use of it.Torbjörn Andersson
svn-id: r18134
2005-04-04Fix for bug #1166231 (GUI: Caret not removed when switching tabs)Max Horn
svn-id: r17379
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-25Draw the active tab differently: remove the horizontal line at the bottom ↵Max Horn
(inspired by patch #1091165) svn-id: r16322
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-07fixed memory leak in TabWidgetMax Horn
svn-id: r11191
2003-11-03Fixed compile error under codewarrior for PalmOSChris Apers
svn-id: r11092
2003-11-03distinguish selected tab by size, too (not just by color)Max Horn
svn-id: r11079
2003-11-03automatically compute tab widthMax Horn
svn-id: r11072