Johannes Schickel
2f062ff616
Fixed memory leaking of TabWidget. (thanks to jvprat for pointing out)
...
svn-id: r29475
2007-11-11 11:08:58 +00:00
Johannes Schickel
0ec41a2d80
- made Widget::_flags private
...
- reworked state (enabled/disabled/highlighted) handling of widgets
- cleanup in ModernTheme.cpp
svn-id: r29403
2007-11-04 03:38:30 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
2243197f50
Changed GUI system to use Common::KeyState state
...
svn-id: r27786
2007-06-30 12:26:59 +00:00
Max Horn
0bebe25e0f
Added TabWidget::removeTab method; and updated some comments in TabWidget.h
...
svn-id: r27168
2007-06-07 15:14:58 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
f8067d54e5
Fixing some memory leaks in the GUI code
...
svn-id: r26515
2007-04-15 19:03:25 +00:00
Max Horn
1a10cacfb9
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
...
svn-id: r23662
2006-08-04 13:55:53 +00:00
Johannes Schickel
84b54c3173
- Adds 'THEME_HINT_NO_BACKGROUND_RESTORE' for buttons which don't want restored background (example: the tab scrolling buttons).
...
- Call _theme->drawAll() at the end of the redraw method of NewGui
svn-id: r23134
2006-06-15 14:25:59 +00:00
Eugene Sandulenko
65041ae239
Fix bug with tab navigation buttons jumping on resolution change.
...
svn-id: r23128
2006-06-15 12:09:53 +00:00
Torbjörn Andersson
e939153b6a
Fixed regression with the override checkboxes in the "Edit game" dialog. The
...
checkbox's command message was being intercepted by the tab widget.
svn-id: r23126
2006-06-15 12:04:22 +00:00
Eugene Sandulenko
021159724d
Fix drawing of tab widget. Now it matches mock-ups. Added tab scrolling.
...
svn-id: r23116
2006-06-15 02:14:40 +00:00
Johannes Schickel
793151a0aa
Implements new Tab drawing for modern theme (nearlly matches mockups now)
...
svn-id: r23106
2006-06-14 16:29:56 +00:00
Torbjörn Andersson
3e42e4a601
Re-calculate tab width when the screen changes.
...
svn-id: r23037
2006-06-11 21:43:09 +00:00
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
Torbjörn Andersson
9aa7eec0f6
Update _tabHeight on screen changes.
...
svn-id: r22791
2006-05-31 08:52:20 +00:00
Johannes Schickel
30787714d3
Started to prepare the gui for runtime resolution switches.
...
(some little things could be missing yet though)
svn-id: r22017
2006-04-19 01:05:28 +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
Johannes Schickel
e067a7f288
Implemented new tab drawing, should look nicer now. (The border under the active tab isn't drawn anymore)
...
svn-id: r20669
2006-02-13 18:00:04 +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
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
6408377337
Cleanup.
...
svn-id: r18320
2005-06-03 12:00:38 +00:00
Torbjörn Andersson
4ecb6d650f
Added "big" version of the Tab widget, and made use of it.
...
svn-id: r18134
2005-05-17 06:19:42 +00:00
Max Horn
adf9bcf5d1
Fix for bug #1166231 (GUI: Caret not removed when switching tabs)
...
svn-id: r17379
2005-04-04 17:57:40 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ffbbef6f31
Draw the active tab differently: remove the horizontal line at the bottom (inspired by patch #1091165 )
...
svn-id: r16322
2004-12-25 21:56:26 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
f59eb3b219
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
...
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
b8c0fbf06e
new font code (currently disabled by default), which allows using 'arbitrary' BDF fonts (via convbdf)
...
svn-id: r11350
2003-11-19 23:46:39 +00:00
Max Horn
22c22d1e81
added namespace GUI
...
svn-id: r11255
2003-11-10 23:40:48 +00:00
Paweł Kołodziejski
14b7d027a2
cleanup whitespaces
...
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
767fc87148
fixed memory leak in TabWidget
...
svn-id: r11191
2003-11-07 14:50:32 +00:00
Chris Apers
e050421bc2
Fixed compile error under codewarrior for PalmOS
...
svn-id: r11092
2003-11-03 14:55:36 +00:00
Max Horn
7724d9a340
distinguish selected tab by size, too (not just by color)
...
svn-id: r11079
2003-11-03 01:14:40 +00:00
Max Horn
528c9f4513
automatically compute tab width
...
svn-id: r11072
2003-11-03 00:18:33 +00:00
Max Horn
1d9ac7b91b
more changes to allow widget nesting to fully work
...
svn-id: r11068
2003-11-02 22:31:20 +00:00
Max Horn
af19319a24
added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope
...
svn-id: r11062
2003-11-02 19:11:03 +00:00