Commit Graph

21 Commits

Author SHA1 Message Date
Max Horn
76116f36dd *Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
svn-id: r22873
2006-06-03 13:33:39 +00:00
Torbjörn Andersson
8975ba8963 Cleanup. We no longer need these widget size parameters.
svn-id: r22798
2006-05-31 12:09:00 +00:00
Willem Jan Palenstijn
0993c6a712 make EditableWidget's caret visible when it moves
svn-id: r22682
2006-05-27 13:17:19 +00:00
Eugene Sandulenko
9943084227 Oops. More advanced warning recovered a mechanic mistake. Fixing.
svn-id: r22671
2006-05-27 06:08:44 +00:00
Eugene Sandulenko
b56c7b88d7 Major GUI update:
- 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-27 05:46:04 +00:00
Eugene Sandulenko
a8a8624511 o Converted most (all?) widgets to new scheme.
o Converted global options dialog to new scheme.

svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
018c93b14a More work on customizable GUI.
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog

svn-id: r21118
2006-03-07 05:39:52 +00:00
Torbjörn Andersson
2cb8832991 Fixed redraw glitch. Our editable widgets were asking the theme to draw a very
wide caret. Changed that width to 1.

svn-id: r20842
2006-02-24 20:25:34 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
5051b080a2 - adds the new gui renderer also a new implementation for the classic gui
- 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-27 15:43:23 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
1d39f986c9 Whitespace changes.
svn-id: r18449
2005-06-24 16:08:31 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
7dfa96a8b8 Cleanup.
svn-id: r18319
2005-06-03 11:33:15 +00:00
Torbjörn Andersson
801db4a515 Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.

svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
99ef35bdd4 Fixed caret regression in editable text fields.
svn-id: r18133
2005-05-17 06:19:11 +00:00
Torbjörn Andersson
c64467af1a Fixed drawing of the caret. (It was drawn using the GUI font, rather than
the widget's font.)

svn-id: r18130
2005-05-16 13:43:31 +00:00
Max Horn
b43a53f74d Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
svn-id: r16694
2005-01-29 18:04:34 +00:00
Max Horn
04fc9fe6e7 Started to merge the text editing code in ListWidget and EditTextWidget
svn-id: r16692
2005-01-29 16:30:51 +00:00