Commit graph

29 commits

Author SHA1 Message Date
Eugene Sandulenko
9254142207 HUGO: Fix top menu dimensions on scaling 2021-04-11 21:21:44 +02:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
aryanrawlani28
840f08d537 GUI: U32: Code cleanup & misc fixes
- Fix a translation for scumm subtitle settings dialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28
bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Lothar Serra Mari
39c1949251 HUGO: Properly deallocate _arrayBmp
Fixing a potential memory leak reported by deepcode.ai
2020-05-31 17:02:26 +02:00
Ori Avtalion
cba3909dfd HUGO: Reduce header dependencies 2016-04-13 15:23:11 +03:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
a331f4aea9 HUGO: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke
d7c86f3913 HUGO: Remove a useless variable assignation 2014-02-09 11:39:00 +01:00
Strangerke
79ecd017e2 HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0 2013-11-01 14:15:19 +01:00
Strangerke
f1817431df HUGO: Fix CID 1063173, 1002888, 1002886 2013-10-31 08:06:14 +01:00
Johannes Schickel
2578ec6e2f HUGO: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel
578715b6f6 HUGO: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Strangerke
fbc2c6d08a HUGO: More renaming 2012-06-13 17:44:09 +02:00
Strangerke
2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
Matthew Hoops
426c81a7a7 GRAPHICS: Rewrite ImageDecoder to have an improved API
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
strangerke
6959ee22e4 HUGO: Fix bug #3292400 : Overlapping help windows when using the menu bar 2011-04-25 14:28:19 +02:00
Johannes Schickel
1c0c15dd95 HUGO: Prefer Surface::format over Surface::bytesPerPixel. 2011-04-17 20:57:52 +02:00
Johannes Schickel
2104b2adb9 HUGO: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:27:37 +02:00
Eugene Sandulenko
dfadf40d42 HUGO: Close prompt box dialog on Return key 2011-04-16 16:19:44 +03:00
Eugene Sandulenko
8df814b625 HUGO: cleanup 2011-04-16 15:55:16 +03:00
Eugene Sandulenko
601d66df4f HUGO: Fix crashes 2011-04-16 15:54:01 +03:00
Eugene Sandulenko
550615f157 HUGO: Implement prompt text box
Still it sometimes asserts with repeated dialog launches.
2011-04-16 15:10:12 +03:00
Eugene Sandulenko
0389bd0c4b HUGO: Fix compilation 2011-03-17 17:46:38 +02:00
Eugene Sandulenko
901b5e2097 HUGO: Initial work on user input dialog 2011-03-17 17:31:05 +02:00
Eugene Sandulenko
c813391455 HUGO: Renamed menu.* to dialogs.* 2011-03-17 17:31:02 +02:00
Renamed from engines/hugo/menu.cpp (Browse further)