Commit Graph

52 Commits

Author SHA1 Message Date
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Torbjörn Andersson
681f81211f FLUIDSYNTH: Add separate dialog for FluidSynth settings
I don't really understand what these parameters do, or what the
sensible values are, so for now the sliders are limited only by
the allowed (or, in one case, "safe") values.
2013-01-26 13:36:37 +01:00
Johannes Schickel
1aa5200bb8 GUI: Create an interface for save/load dialogs. 2012-06-15 23:03:02 +02:00
Oleksiy Kurochko
ec32ccb6d6 GUI: Move predictive dialog to common gui 2012-03-25 12:21:38 +03:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93 GUI: Move major widgets to new directory gui/widgets
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files

svn-id: r54264
2010-11-16 10:11:57 +00:00
Eugene Sandulenko
d6695e180c GUI: Fix tooltip drawing
With help of Tanoku tooltips were switched from widgets to dialogs
which helped to fix nasty bug with background not being restored.
Although it is basically a hack around inconsistent font backbuffering
in our GUI code, for the time being it is feasible.

The patch was extended with way to specify tooltip background in the
theme file.

svn-id: r51217
2010-07-23 19:36:47 +00:00
Max Horn
f2ff555996 Rest of patch #2982224: GSoC: Added unit test and unified error message display
svn-id: r48627
2010-04-11 19:04:02 +00:00
Oystein Eftevaag
9d70103d9c The file selection dialog in OS X now uses Cocoa instead of Carbon, and lives in a separate file due to having to be compiled as Objective-C++. ScummVM can now run in x64 natively on OS X
svn-id: r46581
2009-12-26 13:35:57 +00:00
Max Horn
20dad9e967 Merged gui/ThemeData.cpp into ThemeEngine.cpp
svn-id: r35881
2009-01-17 17:13:04 +00:00
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
a39c78a1ba Moved GUI::SaveLoadChooser to its own source file
svn-id: r35002
2008-11-11 12:13:55 +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
0802da1f7f Order files in gui/module.mk alphabetically
svn-id: r34771
2008-10-11 21:37:15 +00:00
Vicent Marti
dcc72fe29e Massive refactoring/cleanup on the theme engine/parser.
svn-id: r34285
2008-09-02 17:51:08 +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
1d9f98d121 Massive API cleanup (removed legacy code).
Improved theme loading support.

svn-id: r33832
2008-08-13 16:50:50 +00:00
Vicent Marti
70ef503434 Massive refactoring on the layout parsing API.
Added support for layout spacings.
Fixed bug in theme conversion python script.

svn-id: r33630
2008-08-05 09:54:36 +00:00
Vicent Marti
7cb23c76a2 Improved looks on the Modern theme in the new GUI.
Added support for including externally the default theme in the code.
Added Modern theme as a separate XML file in the themes/ dir.
Added "makedeftheme.py" script to convert XML themes into include files.

svn-id: r33528
2008-08-02 15:15:32 +00:00
Vicent Marti
2d87b29058 GCC compiling fixes.
svn-id: r32877
2008-07-02 18:43:17 +00:00
Vicent Marti
0cd183b94b InterfaceManager now loads themes.
svn-id: r32800
2008-06-26 13:50:16 +00:00
Vicent Marti
7a9a74691f Parser skeleton
Expanded drawing interface

svn-id: r32678
2008-06-12 19:06:37 +00:00
Eugene Sandulenko
ca51f1f247 Add InterfaceManager to makefile.
svn-id: r32268
2008-05-25 11:53:49 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
94507bb44d Improved 'Mass Detector': Now displays a dialog which displays the scan progress to the user, and can be cancelled (the whole thing still needs to be polished)
svn-id: r25697
2007-02-18 18:23:52 +00:00
Johannes Schickel
6e16df7891 - renamed GUI::ThemeNew to GUI::ThemeModern
- renamed ThemeNew.cpp to ThemeModern.cpp

svn-id: r24512
2006-10-25 21:20:31 +00:00
Johannes Schickel
3a81941981 - Added dialog for selecting the theme to use
- Added runtime theme switching

svn-id: r24213
2006-10-08 18:22:28 +00:00
Max Horn
919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
08ad918af6 Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
svn-id: r21426
2006-03-24 14:15:45 +00:00
Eugene Sandulenko
e60c0441ad theme.cpp -> ThemeClassic.cpp for consistency and less confusion
svn-id: r21363
2006-03-18 12:43:50 +00:00
Eugene Sandulenko
ebd5833335 WIP for arbitrary widget positions. See
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.

svn-id: r21115
2006-03-07 03:31:31 +00:00
Max Horn
80cf2fa46f Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
svn-id: r20584
2006-02-12 00:16:31 +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
Max Horn
028cc42f2b Moved the console font from gui to graphics
svn-id: r16742
2005-02-06 18:12:29 +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
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Max Horn
cb052da949 Use custom font for the console -> more information visible, helps when using e.g. the 'actors' command
svn-id: r14627
2004-08-15 14:39:35 +00:00
Max Horn
a9789acfc6 Moved Surface/Font code into new 'graphics' module
svn-id: r13357
2004-03-21 21:20:25 +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
da76ac5890 Various changes to the build system which allow building ScummVM in an external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress
svn-id: r12680
2004-01-30 21:54:28 +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
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
Max Horn
231cb16b5b some tweaks to the build system (work toward plugin support)
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
bda0a18eee made about dialog global (so that it can be used from the launcher and from sky/simon; also added our copyright to it
svn-id: r9122
2003-07-22 16:05:51 +00:00
Max Horn
b9b8045e1f moved the console code to gui/console.cpp; make it actually printout something. Note that this is WORK IN PROGRESS! I know it is incomplete, no need to tell me that
svn-id: r5952
2002-12-14 14:31:44 +00:00
Max Horn
2af8f20344 added a dummy global options dialog; PopUpWidget tweaks
svn-id: r5919
2002-12-12 23:22:48 +00:00
Max Horn
57d8bb978f added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
svn-id: r5914
2002-12-12 12:07:46 +00:00