Commit Graph

46 Commits

Author SHA1 Message Date
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Max Horn
c0f82d3518 Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with GUI::ThemeEngine::TextAlignVertical
svn-id: r35023
2008-11-12 14:30:16 +00:00
Max Horn
42533c2354 cleanup
svn-id: r35020
2008-11-12 13:01:21 +00:00
Max Horn
710084dde6 GUI: Got rid of kBigButtonWidth etc.
svn-id: r35019
2008-11-12 12:58:33 +00:00
Max Horn
fa942c42cc GUI: Got rid of most 'built-in' variables
svn-id: r35018
2008-11-12 12:53:53 +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
4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Max Horn
8cfb778bfa Adding two missing #includes to fix compilation. *sigh* I am really bad at double checking my commits tonight. Sorry, folks
svn-id: r27630
2007-06-22 21:58:32 +00:00
Max Horn
d21b8c43d0 Converted some more code to make use of Common::KEYCODE_ / Common::ASCII_
svn-id: r27628
2007-06-22 21:38:34 +00:00
Max Horn
39405cbb25 Changed default buttons of MessageDialogs and mass add dialog to accept 'return' as hotkey for the default button, instead of 'enter' (resp. even 'nothing' on some systems)
svn-id: r27611
2007-06-22 17:51:17 +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
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
Eugene Sandulenko
c3f91ca288 Converted all scumm dialogs to new scheme
svn-id: r21147
2006-03-09 01:08:25 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +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
41f69db19f Cleanup.
svn-id: r18324
2005-06-03 12:33:03 +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
469319aa70 Made the buttons scale themselves too.
svn-id: r18127
2005-05-16 10:26:20 +00:00
Max Horn
2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn
2eb868d2a3 Fix doxygen warning
svn-id: r17969
2005-05-08 17:05:19 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
407c489cc4 removed obsolete #include's
svn-id: r12729
2004-02-05 11:59:06 +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
Paweł Kołodziejski
14b7d027a2 cleanup whitespaces
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
e9ae86bb76 introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)
svn-id: r11052
2003-11-02 14:50:53 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
2d7eef223e renamed 'timer' to duration; minimal doxygen comments
svn-id: r11040
2003-11-01 22:20:14 +00:00
Max Horn
72bee75297 modified MessageDialog to allow for custom button texts
svn-id: r11034
2003-11-01 21:15:33 +00:00
Max Horn
f7ab7f6207 cleanup: new MessageDialog subclass TimedMessageDialog
svn-id: r11033
2003-11-01 20:52:41 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
1ff9749b87 and more cleanup .... Last
svn-id: r6721
2003-03-06 19:52:54 +00:00
James Brown
9df455ce38 Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
room in-game, but it works for bootparams and saved games..

svn-id: r6322
2003-01-02 10:36:17 +00:00
Max Horn
81dce87a5c allow for a timed message dialog w/o buttons (still need to add support for multiple buttons with customm labels)
svn-id: r6038
2002-12-21 11:57:24 +00:00
Max Horn
fa312d3746 center dialog vertically, too; split overlong lines at whitespaces if posible
svn-id: r5661
2002-11-21 13:20:27 +00:00
Max Horn
ce3cde15a0 added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
svn-id: r5600
2002-11-19 01:36:47 +00:00
Max Horn
42e6a81629 improved MessageDialog: long lines are split now (this needs improvement to favor splitting at spaces); maximum size is restricted to 300x180
svn-id: r5491
2002-11-10 14:53:28 +00:00
Max Horn
cdb7b13789 revised options dialog
svn-id: r5130
2002-10-12 00:26:24 +00:00
Max Horn
09f56dc233 some fixes for the message dialog; added some comments
svn-id: r5021
2002-09-26 12:29:10 +00:00
Max Horn
58e5e0069f added simple message dialog
svn-id: r5020
2002-09-26 11:44:02 +00:00