Commit Graph

2519 Commits

Author SHA1 Message Date
Johannes Schickel
10c5547de3 GUI: Allow any cased version of 'all' to toggle all debug flags.
This makes it consistent with our matching rules when enabling other debug
flags.
2014-06-05 16:40:42 +02:00
Johannes Schickel
450924a0c7 Merge pull request #465 from digitall/debugRework
Add "all" option for debug flags to GUI::Debugger base class.
2014-06-05 16:27:44 +02:00
Johannes Schickel
dc4b9b8bc1 GUI: Recreate default theme. 2014-06-05 03:36:40 +02:00
Johannes Schickel
eac2f789fe GUI: Use sorted file list in scummtheme.py.
This will (hopefully) reduce the amount of changes when recreating the themes
because the order in which files will be processed is the same unless the
sorting differs on systems...
2014-06-05 03:33:22 +02:00
D G Turner
1e6fe10e3d COMMON: Add "all" option to debugflag controls in GUI Debugger. 2014-06-05 02:18:58 +01:00
Sven Hesse
6908c1ee42 CREDITS: Update for Voyeur- and MADS-changes 2014-05-28 23:18:17 +02:00
Johannes Schickel
8b7672b64c ALL: Introduce typesafe Debugger::registerVar functions.
This also adds a FIXME to SCI which registered an enum type as int...
2014-05-27 02:04:08 +02:00
Johannes Schickel
75a78c89fa GUI: Don't endorse function naming against our guidelines in docu. 2014-05-27 02:04:08 +02:00
Johannes Schickel
30d64edac4 ALL: Make Debugger command function names conform to our guidelines. 2014-05-27 02:04:08 +02:00
Johannes Schickel
07c9fea9cb GUI: Slight naming cleanup in Debugger. 2014-05-27 02:04:08 +02:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
0adca2c579 ALL: Rename Debugger::DVar_Register to Debugger::registerVar. 2014-05-27 02:04:07 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Willem Jan Palenstijn
6cf5cb939b GUI: Fix compilation
This adds a missing header in the case #ifndef USE_TEXT_CONSOLE_FOR_DEBUGGER
2014-05-25 12:29:13 +02:00
D G Turner
fbb923daee GUI: Add usage for "debuglevel" command output in Debugger base class. 2014-05-15 01:35:48 +01:00
D G Turner
bac58f3e18 GUI: Clarify "debuglevel" command output in Debugger base class.
This should make it clear that -1 is used for disable.
2014-05-13 19:39:47 +01:00
D G Turner
c81d0b680e GUI: Minor further fixes to "debuglevel" command in Debugger base class. 2014-05-12 00:56:20 +01:00
D G Turner
bc7af1de19 GUI: Add "debuglevel" command to Debugger base class.
This allows the debug level to be changed at runtime from the debug
console.
2014-05-10 17:12:14 +01:00
Zerophase
5c12e09ed1 GUI: Tab cycling handles multiple themes.
First visible tab moves up when a theme's width cannot fit another tab.
2014-04-06 19:58:56 -05:00
Zerophase
5df3c14eba GUI: Fix tab cycling when total tabs increase.
Tab cycling ignores tab width, and slides correctly for larger tab counts.
2014-04-01 07:28:57 -05:00
Zerophase
80d34a8a7c GUI: Add Tab cycling to TabWidget
Tab and Shift-Tab can now cycle between each Tab of the Edit Game menu.
2014-04-01 07:28:48 -05:00
Thierry Crozat
3f88d60ad9 I18N: Update translation data file 2014-03-09 21:52:31 +00:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
f5dfe6725a GUI: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
uruk
f6c14408a3 AVALANCHE: Repair rest of the credits. 2014-01-15 16:23:02 +01:00
Marcus Comstedt
9957965257 GUI: Fix menu layout for low-res classic theme
Since clipping is now in place for strings, having text widgets which
are 4 pixels high will no longer work.  Remade the layout to set better
heights, and remove some spacing instead.
2014-01-11 17:48:34 +01:00
Willem Jan Palenstijn
5686d606f0 BUILD: Support libedit readline wrapper
This is used in Mac OS X. Thanks to waltervn for pointing this out and
testing.
2014-01-02 01:04:24 +01:00
Eugene Sandulenko
ae6efb09b7 JANITORIAL: Update copyright year 2014-01-01 12:44:08 +02:00
Johannes Schickel
fe7f28bf6c GUI: Do not draw text outside edit rect in EditableWidget. 2013-11-24 01:15:27 +01:00
Johannes Schickel
b487c1fc38 GUI: Fix undrawing caret glitch when the edit text is inversed.
This is prominently visible in the list based save/load chooser since the
edit string is drawn on a special green background there. When the caret is
at the end of the edit string this would result in the green color missing
at the place of the (undrawn) caret. To avoid this we simply draw a fake
space now.
2013-11-24 00:38:47 +01:00
Johannes Schickel
95f07fd405 GUI: Document EditableWidget::getEditRect. 2013-11-24 00:20:29 +01:00
Johannes Schickel
3be846cfd7 GUI: Draw caret over the whole height of the edit rect.
This improves the look of the editable widgets.
2013-11-24 00:15:48 +01:00
Johannes Schickel
bb4a730a88 GUI: Fix out-of-bounds check in EditableWidget::drawCaret.
The line "y + editRect.height() + 2" is not included in drawing anymore. Thus
it is allowed to equal EditableWidget::_h.
2013-11-24 00:15:48 +01:00
Johannes Schickel
aaad08c9fe GUI: Fix character redrawing behind caret in EditTextWidgets.
This fixes an ugly y position change when the caret is moved to a character in
an edit text widget.
2013-11-24 00:15:48 +01:00
Johannes Schickel
e036aa76da GUI: Fix EditTextWidget::getEditRect's returned height. 2013-11-24 00:15:48 +01:00
Johannes Schickel
129e891a87 GUI: Fix ListWidget::getEditRect's returned height. 2013-11-24 00:15:47 +01:00
Joel Teichroeb
51dceaf165 GUI: Use Common::String for console history, to ensure buffer safety.
Previously, if the user enters a command that is more than 256
characters, it will overflow the history buffer.

By using a Common::String, this is not possible.
2013-11-14 15:23:01 +00:00
Joel Teichroeb
0ccc918940 GUI: Fix for potential bad cursor palette access in warning case.
Previously, if the colorsFound exceeded the maximum number of
cursor colors, a bad access to the cursor palette buffer could be
performed before the warning was emitted. This reordering avoids
that.
2013-11-14 15:11:16 +00:00
Eugene Sandulenko
aa2a6d7445 GUI: Skip useless assignment. CID 1002117 2013-11-03 01:28:03 +02:00
Thierry Crozat
0d20acf8de CREDITS: Add credits for game translations 2013-10-30 21:56:39 +00:00
Johannes Schickel
f20471d962 Merge pull request #408 from lordhoto/opengl-replacement
OpenGL revamp
2013-10-20 06:20:46 -07:00
Johannes Schickel
fa90f9797c GUI: Check for screen change whenever an event is polled.
This should *hopefully* really fix all GUI crashes when resizing with OpenGL.
2013-10-19 22:18:22 +02:00
Willem Jan Palenstijn
a532c7729f Merge branch 'zvision'
This merges pull request 395 for the ZVision engine developed during
GSoC2013.
2013-10-17 23:00:00 +02:00
Willem Jan Palenstijn
1771162242 Merge branch 'avalanche'
This merges pull request 399 for the Avalanche engine developed during
GSoC2013.
2013-10-17 22:33:15 +02:00
RichieSams
7a97c992de ZVISION: Use credits.pl to update AUTHORS and credits.h 2013-10-14 19:02:18 -05:00
Strangerke
7b11be0a92 AVALANCHE: Fix savegame patterns 2013-10-07 22:26:33 +02:00
uruk
77c10447c3 AVALANCHE: Repair credits.h 2013-10-07 10:04:53 +02:00
Matthew Hoops
303261482d CREDITS: Add Keith for some pegasus patches 2013-10-06 22:41:30 -04:00
uruk
fed8546444 AVALANCHE: Update credit files. 2013-10-06 01:20:20 +02:00
Johannes Schickel
023fedef48 GUI: Do not return current input on cancel in PredictiveDialog.
Returning the currently displayed input when you click cancel is confusing
behavior in my eyes.
2013-10-02 00:16:59 +02:00