aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2006-06-03When the screen changes, redraw all dialogs *immediately* rather than waitingTorbjörn Andersson
for the main loop to check for _needRedraw. Otherwise subsequent events can cause widgets to be redrawn before the theme has had a chance to re-open the dialogs, and this could cause at least the modern theme to crash. svn-id: r22860
2006-06-02Turn AliasesMap and VariablesMap keys from String to const char *.Eugene Sandulenko
Stats before: Strings: 12048 mallocs: 55629 after: Strings: 6370 mallocs: 42117 Here Strings are non-empty strings. Mallocs are string-related mallocs including mallocs in HashMap BaseNode. svn-id: r22841
2006-06-02Optimize string usage a tiny bit moreEugene Sandulenko
svn-id: r22839
2006-06-02Let deleteWidget() check if it's deleting _mouseWidget, _focusedWidget orTorbjörn Andersson
_dragWidget. We don't want to keep references to the deleted widget. svn-id: r22836
2006-06-02Optimize GUI string usage a tiny bit moreMax Horn
svn-id: r22828
2006-06-01reduce number of string allocationsWillem Jan Palenstijn
svn-id: r22823
2006-06-01small optimization in evaluator variable lookupWillem Jan Palenstijn
svn-id: r22822
2006-05-31Credit Clem and Raina for forum themesEugene Sandulenko
svn-id: r22802
2006-05-31More cleanup. We shouldn't need these widget size parameters either.Torbjörn Andersson
svn-id: r22799
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-05-30Fix About dialog in PSP themeEugene Sandulenko
svn-id: r22782
2006-05-30Slight adjustment to list height in PSP theme so it will not have ugly emptyEugene Sandulenko
space between last list item and widget edge. svn-id: r22780
2006-05-30Fixes for MM NES resolution:Eugene Sandulenko
- Introduce useAsIs keyword for resolution aliases - Extend skipFor keyword to accept multiple values svn-id: r22779
2006-05-30override some widget settings for launcher on 480x272Joost Peters
svn-id: r22778
2006-05-30Fix game options in PSP themeEugene Sandulenko
svn-id: r22777
2006-05-30Fix global options on PSP themeEugene Sandulenko
svn-id: r22776
2006-05-30Put volume controls conditionally into separate tab. Used by PSP theme.Eugene Sandulenko
svn-id: r22775
2006-05-30- Split global audio tab into audio and volumeEugene Sandulenko
- More logical order in game options tab svn-id: r22774
2006-05-30Should fix drawing on systems with alpha mask.Johannes Schickel
svn-id: r22773
2006-05-30Narrow buttons for PSP resolution for better look.Eugene Sandulenko
svn-id: r22771
2006-05-30A quick hack to let PSP gui use bigger fonts. Proper solution is to addEugene Sandulenko
possibility to specify font for each widget class svn-id: r22770
2006-05-30GUI theme for PSP-specific resolutionEugene Sandulenko
svn-id: r22768
2006-05-30Added sections for infrastructure and GUI to the credits file. These are ↵Max Horn
badly incomplete; folks, please add yourself as appropriate svn-id: r22766
2006-05-30Fix bug #1496582 "GUI: Default graphics mode not committing".Eugene Sandulenko
svn-id: r22763
2006-05-29Introduces special switch for GraphicsWidget for use of theme transparency ↵Johannes Schickel
again. svn-id: r22746
2006-05-29- updates new theme configJohannes Schickel
svn-id: r22744
2006-05-29- adds option to fill GraphicsWidgets with a special colorJohannes Schickel
- updates builtin theme config for my next commit - bumps theme config svn-id: r22743
2006-05-29Oops this reverts my last commit. :/Johannes Schickel
svn-id: r22742
2006-05-29- comments out getColorAlphaImp2Johannes Schickel
- adds note in getColorAlpha about we handle negative alpha values currently (could be removed when getColorAlphaImp2 get's fixed) svn-id: r22741
2006-05-29- cleanupJohannes Schickel
- uses working getColorAlphaImpl for alpha == 0 in getColorAlpha svn-id: r22740
2006-05-29- changes transparency parameter of Theme::drawSurface to alpha parameter.Johannes Schickel
- adds possibility to draw GraphicsWidgets with alpha values. svn-id: r22738
2006-05-29Removes leftover comment.Johannes Schickel
svn-id: r22737
2006-05-29- Fixes list position after screen change.Johannes Schickel
svn-id: r22736
2006-05-29- Fixes disabled transparency for classic theme.Johannes Schickel
- Introduces check for define 'CT_NO_TRANSPARENCY' to disable transparency support. svn-id: r22735
2006-05-29Fixes widget drawing for classic theme.Johannes Schickel
svn-id: r22734
2006-05-27Don't "tickle" a dialog until after it has had a chance to redraw itself,Torbjörn Andersson
otherwise it may be in an inconsistent state since the modern theme uses openDialog() to allocate a surface as large as he dialog itself. This fixes a crash when changing to a bigger scaler when the About dialog is running. svn-id: r22688
2006-05-27add fixme about scrolling in about dialogWillem Jan Palenstijn
svn-id: r22685
2006-05-27fix missing saveload thumbnail variables in classic theme configWillem Jan Palenstijn
svn-id: r22684
2006-05-27make EditableWidget's caret visible when it movesWillem Jan Palenstijn
svn-id: r22682
2006-05-27Don't draw the shadow outside the scrollbar (should fix 'garbage' when ↵Johannes Schickel
moving the scrollbar) svn-id: r22680
2006-05-27Fixes caret drawing in EditTextWidgets.Johannes Schickel
svn-id: r22678
2006-05-27More vertical space in game options 'game' tab for consistency and betterEugene Sandulenko
visuals svn-id: r22677
2006-05-27Override the list widget's FindWidget() function, to allow it to return theTorbjörn Andersson
scrollbar widget. svn-id: r22672
2006-05-27Oops. More advanced warning recovered a mechanic mistake. Fixing.Eugene Sandulenko
svn-id: r22671
2006-05-27Major GUI update:Eugene Sandulenko
- 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
2006-05-26remove unused variableEugene Sandulenko
svn-id: r22647
2006-05-26- Put scrollbar inside of list widgetEugene Sandulenko
- Use resize() instead of setPos() and setSize() where applicable svn-id: r22646
2006-05-26Do not create scrollbar copy on each resolution switchEugene Sandulenko
svn-id: r22645
2006-05-26Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.Eugene Sandulenko
svn-id: r22644