1458 Commits

Author SHA1 Message Date
stevenhoefel
12032bb518 DIRECTOR: Round rectangles for Buttons. Improved TextCast alignment. 2017-01-11 11:25:31 +11:00
Willem Jan Palenstijn
87c57e42de GRAPHICS: Fix build 2017-01-10 14:54:14 +01:00
stevenhoefel
19b0cc784d DIRECTOR: Load Shared Cast Bitmaps (anchor point is incorrect).
More Text Cast Formatting.
2017-01-10 23:13:45 +11:00
D G Turner
8ae904e154 GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning. 2017-01-10 03:13:08 +00:00
stevenhoefel
8c3c9df350 DIRECTOR: System beep and Mouse Cursors. 2017-01-09 00:00:17 +01:00
Eugene Sandulenko
f1dd84fdf8 WINTERMUTE: Fix references to TransparentSurface templates 2016-12-26 18:54:44 +01:00
Eugene Sandulenko
6a11ac7f12 GRAPHICS: Avoid name clashes for templates/non-template function 2016-12-26 18:31:54 +01:00
Eugene Sandulenko
e05c57b64c GRAPHICS: Fix another instance of structures nested in templates 2016-12-26 18:07:31 +01:00
Eugene Sandulenko
dff109caba GRAPHICS: Increase portability. Hopefully it will fix PS2 backend 2016-12-26 18:00:17 +01:00
Tobia Tesan
c6ed1625f0 WINTERMUTE: Add TFilteringMode to transparent_surface.h 2016-12-26 12:28:51 +01:00
Eugene Sandulenko
57864f5e6c GRAPHICS: Implemented MacText::replaceLastLine() 2016-12-22 18:16:54 +01:00
Eugene Sandulenko
88b9dd3472 GRAPHICS: Simplify MacText 2016-12-20 21:49:29 +01:00
Eugene Sandulenko
2d6c582805 GRAPHICS: Implement surface reallocation in MacText 2016-12-20 21:49:29 +01:00
Eugene Sandulenko
16b0cde5fb GRAPHICS: Implemented partial MacText drawing 2016-12-20 21:49:29 +01:00
Eugene Sandulenko
76ffd9cccb GRAPHICS: Fix initialization 2016-12-19 09:26:56 +01:00
Eugene Sandulenko
ffea222f5b GRAPHICS: Added stubs for pasting text to MacText 2016-12-16 19:47:19 +01:00
Eugene Sandulenko
d6126ffcfa GRAPHICS: Implemented blitting code for MacText 2016-12-15 18:18:12 +01:00
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