strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Eugene Sandulenko
01f9006ee7
GUI: Implement tooltips. FR #2821513 .
...
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-15 10:52:35 +00:00
Max Horn
894e2aefe6
GUI: Unify various definitions of kOKCmd and move it to namespace GUI
...
svn-id: r48564
2010-04-06 09:26:43 +00:00
Max Horn
f906c4e80f
GUI: Tweaked the launcher so that TAB switches focus between the list and the quick search field
...
svn-id: r41311
2009-06-06 23:22:48 +00:00
Max Horn
6510226216
Renamed NewGui to GuiManager
...
svn-id: r35544
2008-12-25 23:55:36 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Max Horn
fa942c42cc
GUI: Got rid of most 'built-in' variables
...
svn-id: r35018
2008-11-12 12:53:53 +00:00
Vicent Marti
b98f89c7f0
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
...
Massive cleanup.
svn-id: r34983
2008-11-10 11:24:55 +00:00
Max Horn
0508fec8a8
Pushing down some header deps
...
svn-id: r34936
2008-11-08 01:30:32 +00:00
Vicent Marti
1f2ce8b188
Manual merge of the GSoC2008 GUI branch. (71 files)
...
svn-id: r34757
2008-10-09 11:49:35 +00:00
Vicent Marti
2b52383534
Finished legacy API cleanup. Removed all legacy code.
...
Possible regressions.
svn-id: r33833
2008-08-13 17:46:00 +00:00
Vicent Marti
2d87b29058
GCC compiling fixes.
...
svn-id: r32877
2008-07-02 18:43:17 +00:00
Vicent Marti
0e4cd6fc8e
Expanded InterfaceManager API to mimic NewGUI. (WIP)
...
svn-id: r32831
2008-06-28 16:49:39 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +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
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
a73c6c3670
Added new file gui/object.cpp (collecting GuiObject methods in there), and renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted)
...
svn-id: r26147
2007-03-16 20:47:41 +00:00
Max Horn
1a10cacfb9
Renamed handleScreenChanged() -> reflowLayout() in the GUI code
...
svn-id: r23662
2006-08-04 13:55:53 +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
09074b1685
More cleanup. We shouldn't need these widget size parameters either.
...
svn-id: r22799
2006-05-31 12:27:05 +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
5daa835cc7
- PopUpWidget (drop down list) does not shadow underlying dialog anymore
...
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn
up to 4 times
svn-id: r21998
2006-04-18 00:37:04 +00:00
Johannes Schickel
b99632831f
This should fix wrong colors of the scummvm logo in the new theme after screen change.
...
svn-id: r21953
2006-04-16 20:33:52 +00:00
Eugene Sandulenko
8a5f44d797
Converted last dialogs to new scheme. Now it seems to be everything. Please,
...
test throghoutly.
svn-id: r21157
2006-03-09 05:18:00 +00:00
Eugene Sandulenko
fc84c7fc1d
o More widgets fot alternative constructors
...
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
2006-03-07 19:02:42 +00:00
Max Horn
b34e207dbb
Change CVS keywords to SVN keywords
...
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
5fda0cc6f1
- Fixes a bug that the debugger crashed while opening
...
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog
svn-id: r20276
2006-01-28 23:03:39 +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
bf89c8a4b9
The GUI has reached the point where I think it's safe to begin removing the
...
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.
Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.
svn-id: r18310
2005-06-02 12:29:01 +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
81453854ee
Big version of the popup widget. It could use a bit more polish, though...
...
svn-id: r18185
2005-05-19 17:03:31 +00:00
Torbjörn Andersson
35dda2b636
Added big slider widget. There is nothing in the widget itself that's
...
dependent on size, so the two different sizes are handled through a new
addSlider() function.
Figuring out why the big widget won't let you set volume to 0 is left as an
exercise for the reader.
svn-id: r18170
2005-05-18 15:58:39 +00:00
Torbjörn Andersson
4aac7819d1
Some more scaling work. Parts of the options dialogs scale themselves. Some
...
of them better than others.
svn-id: r18165
2005-05-18 14:11:53 +00:00
Torbjörn Andersson
ef8e42473a
Made use of addCheckbox(). I had to add an alternative form of the function
...
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)
svn-id: r18161
2005-05-18 10:12:20 +00:00
Torbjörn Andersson
f0e43fb2a6
New function: addCheckbox()
...
svn-id: r18159
2005-05-18 09:21:03 +00:00
Max Horn
79241d323f
Start work on support for 'big' widgets
...
svn-id: r18060
2005-05-11 19:30:30 +00:00
Max Horn
919af98314
Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scaling
...
svn-id: r17646
2005-04-17 11:20:59 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
a40ed29abd
Renamed _clickedWidget -> _dragWidget; if a drag is in process, send the mouse moved / mouse up events to the widget on which the drag is performed (this fixes at least one bug and improves the user experience)
...
svn-id: r16362
2004-12-28 21:07:34 +00:00
Max Horn
71051f551e
Fix bug #1091189 (GUI: Launcher List/Edit game interaction)
...
svn-id: r16326
2004-12-25 23:20:37 +00:00
Max Horn
a0bde7a732
Revamped the font code: now it's very easy to switch between the 'original' SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui
...
svn-id: r13243
2004-03-13 13:03:25 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
22c22d1e81
added namespace GUI
...
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
2c3b8c9b30
minor tweaks
...
svn-id: r11149
2003-11-05 11:24:37 +00:00
Max Horn
8a8743a042
removed PushButtonWidget
...
svn-id: r11120
2003-11-03 23:33:40 +00:00