1541 Commits

Author SHA1 Message Date
Eugene Sandulenko
2f7879d118 GRAPHICS: Restrinct MacText to designated width 2016-12-15 18:07:48 +01:00
Eugene Sandulenko
6329f73c9e GRAPHICS: Implemented basic rendering for MacText 2016-12-14 20:10:32 +01:00
Eugene Sandulenko
aecc17e5a5 GRAPHICS: Further work on MacText class 2016-12-14 20:10:32 +01:00
Eugene Sandulenko
34a9c588b0 GRAPHICS: Added stub for MacText class 2016-12-14 20:10:32 +01:00
Paul Gilbert
4e06799122 GRAPHICS: Support varying bit depths in ManagedSurface transBlitFrom 2016-11-26 15:25:19 -05:00
Paul Gilbert
982c8f4eeb GRAPHICS: Allow 32-bit fast blitting when formats match in ManagedSurface 2016-11-23 19:51:44 -05:00
Paul Gilbert
fa0a6f2812 IMAGE: Support blitting from different surface formats in ManagedSurface 2016-11-22 21:17:54 -05:00
Paul Gilbert
3185ca4957 GRAPHICS: Fix compiler warning in BdfFont 2016-10-31 19:39:00 -04:00
Alexandre Detiste
f8388db32b JANITORIAL: Typos
I've not fixed this one, maybe it's on purpose:

RELASE -> RELEASE

engines/mads/staticres.cpp:const char *const kGameReleaseTitleStr =
"GAME RELASE VERSION INFO";
2016-10-31 09:56:43 +01:00
Eugene Sandulenko
e19cb15943 GRAPHICS: Declared few methods in MacFontManager public 2016-10-18 11:50:12 +02:00
Eugene Sandulenko
01cf3d2ebd GRAPHICS: Remove debug leftover 2016-10-18 11:50:12 +02:00
Eugene Sandulenko
04f0fa36a6 GRAPHICS: Fixed BDF font scaling 2016-10-15 12:25:21 +02:00
Eugene Sandulenko
290ac2cc04 GRAPHICS: Added all supported Mac fonts to enum 2016-10-15 12:25:20 +02:00
Eugene Sandulenko
5aac0e9d39 GRAPHICS: Further work on BDF font scaling 2016-10-14 19:21:18 +02:00
Eugene Sandulenko
ce89406b9a GRAPHICS: Fix BDF font referencing on font generation 2016-10-12 23:27:50 +02:00
Eugene Sandulenko
b5d4c302d0 GRAPHICS: Fix built-in font parameters 2016-10-12 22:12:40 +02:00
Eugene Sandulenko
2cb0e45c63 GRAPHICS: Further work on BDF font scaling 2016-10-12 19:17:29 +02:00
Eugene Sandulenko
719bc03487 GRAPHICS: Added stub for BDF font scaler 2016-10-11 18:27:06 +02:00
Eugene Sandulenko
d7a452a6f6 GRAPHICS: Use PIXEL_SIZE as BDF font size 2016-10-10 14:00:41 +02:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Eugene Sandulenko
c0b76581d8 GRAPHICS: Detect substitute for Mac fonts 2016-10-08 14:47:38 +02:00
Eugene Sandulenko
086963fd23 GRAPHICS: Search for font substitution for MacFonts 2016-10-07 19:42:55 +02:00
Eugene Sandulenko
db05a9448b GRAPHICS: Differentiate Mac fonts by slant 2016-10-07 10:49:17 +02:00
Eugene Sandulenko
ee476e9cf0 GRAPHICS: Parse slant from BDF fonts 2016-10-07 10:49:17 +02:00
Eugene Sandulenko
b2dcd1bb1e GRAPHICS: Move font-related MacGUI code to MacFontManager 2016-10-06 23:49:39 +02:00
Eugene Sandulenko
59a7993951 GRAPHICS: Fix BDF font parsing 2016-10-06 23:49:39 +02:00
Eugene Sandulenko
9730e42fac GRAPHICS: Parse font size from BDF fonts 2016-10-06 07:44:18 +02:00
Eugene Sandulenko
0d4d5459f2 GRAPHICS: Use Family name instead of font name when reading from BDF fonts 2016-10-06 07:33:46 +02:00
Eugene Sandulenko
d8f700c105 GRAPHICS: Use Face Name for Mac fonts if they're specified.
Allows to avoid situations with files named "NewYork" with
"New York" font inside.
2016-10-05 23:31:04 +02:00
Eugene Sandulenko
15e4997720 GRAPHICS: Load Face Name from BDF files
Also adjust the devtools and built-in fonts accordingly.
2016-10-05 23:24:53 +02:00
Paul Gilbert
019eda55fc GRAPHICS: Added a PixelFormat bpp method 2016-09-29 20:35:05 -04:00
Torbjörn Andersson
bf851cc525 GRAPHICS: Handle Windows and Mac line breaks when word-wrapping text
This seems like the right place to do it. Hopefully it's also the
right way. It fixes line breaks in the MacVenture engine, where the
text apparently uses Mac line breaks.
2016-09-05 18:41:40 +02:00
Torbjörn Andersson
40c65540fa GRAPHICS: Add setBackgroundPattern() to MacWindow
Set a background pattern for the window surface. For instance, the
exits window in the MacVenture engine should have a light gray
background, rather than a white one, and this will allow it to get
one without having to draw it by itself.
2016-09-04 08:31:39 +02:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Eugene Sandulenko
b1657f4748 Merge pull request #816 from blorente/macgui-fix
GRAPHICS: [GSoC] Fix leaks and bugs in MacGui
2016-09-02 23:39:32 +02:00
Eugene Sandulenko
bfbfbd3e1a Merge pull request #788 from Tkachov/cloud
ALL: Add Cloud storage support
2016-08-30 13:54:12 +02:00
Borja Lorente
ec6bb1431e GRAPHICS: Fix leak in ninepatch destructor 2016-08-26 12:27:16 +02:00
Borja Lorente
5bba089724 GRAPHICS: Fix big leak when blitting macgui borders 2016-08-25 13:26:02 +02:00
Borja Lorente
9444a1864b GRAPHICS: Fix leak in macgui border loading 2016-08-25 13:26:02 +02:00
Eugene Sandulenko
8605b6da85 GRAPHICS: Correcting think line thickness 2016-08-25 12:25:58 +02:00
Eugene Sandulenko
2b3af190db GRAPHICS: Fix potential rounding errors in the h/v thick line drawing 2016-08-25 12:18:11 +02:00
Filippos Karapetis
102fe0be9f GRAPHICS: Fix discrepancy in the thick line drawing function
The shortcuts for horizontal and vertical lines should draw the extra
thickness pixels around the line, not below it or to the right
2016-08-25 11:57:08 +03:00
Eugene Sandulenko
ea80e24481 GUI: Added animation classes 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
6524a8d103 GUI: Added transparency to PicWidgets 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
c6e04845cc GUI: Switched GUI to draw on TransparentSurface 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
94bc75ae46 GUI: Implemented centering of dialog background 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
75f9b099dc GUI: Added possibility to specify scale mode for AlphaBitmaps 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
38114eb760 GUI: Plug NinePatch bitmaps into parser 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
ec7312ac13 GUI: Implemented more modes to autoscale 2016-08-24 16:07:55 +06:00
Eugene Sandulenko
4474ccf814 GUI: Implemented alphabitmap autoscale 2016-08-24 16:07:55 +06:00