Commit Graph

32 Commits

Author SHA1 Message Date
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