Commit Graph

1941 Commits

Author SHA1 Message Date
Eugene Sandulenko
2fb21ba90a GRAPHICS: MACGUI: Split drawing and blitting operations for widgets 2020-04-14 00:42:39 +02:00
Eugene Sandulenko
fb11113d00 GRAPHICS: MACGUI: Properly initialize font in MacEditableText 2020-04-14 00:40:35 +02:00
Eugene Sandulenko
06fc491663 GRAPHOCS: MACGUI: Renamed MacWindow::getSurface() to getWindowSurface() 2020-04-14 00:27:49 +02:00
Eugene Sandulenko
e7b2b87acf GRAPHICS: MACGUI: Cleanup MacEditableText of border logic 2020-04-13 15:48:01 +02:00
Eugene Sandulenko
a3967ca048 GRAPHICS: MACGUI: Implemented abstract method stubs for MacEditableText 2020-04-12 01:46:02 +02:00
Paul Gilbert
9214ecb1d7 GRAPHICS: Added a hasTransparentColor method to ManagedSurface 2020-04-09 18:00:54 -07:00
Paul Gilbert
914fad839d GRAPHICS: Add a getPalette method to ManagedSurface 2020-04-09 18:00:54 -07:00
Eugene Sandulenko
393362b616 GRAPHICS: MACGUI: Fix window removal 2020-04-08 01:17:28 +02:00
Eugene Sandulenko
b0fecf95c7 GRAPHICS: MACGUI: Fix infinite loop in event processing for MacWindow 2020-04-08 01:16:57 +02:00
Eugene Sandulenko
8ae73ce263 GRAPHICS: MACGUI: Add disableBorder() to MacWindow 2020-04-08 00:47:11 +02:00
Eugene Sandulenko
e5adfff853 GRAPHICS: MACGUI: Pass events to window children 2020-04-07 01:03:24 +02:00
Eugene Sandulenko
52137f6627 GRAPHICS: MACGUI: Turned MacWindow into MacWidget 2020-04-07 00:56:27 +02:00
Eugene Sandulenko
37485b9670 GRAPHICS: MACGUI: Implemented event dispatcher for MacWidget 2020-04-06 21:09:13 +02:00
stevenhoefel
cb224864fc GRAPHICS: MACGUI: Align text to bottom if font-size changes during chunk. 2020-04-05 13:27:03 +10:00
Eugene Sandulenko
2cbb611821 GRAPHICS: MACGUI: Fix double freeing of menus 2020-04-04 16:24:51 +02:00
Eugene Sandulenko
c529644d8c GRAPHICS: MACGUI: Plug memory leak 2020-04-02 18:06:35 +02:00
Eugene Sandulenko
8e215fad59 GRAPHICS: Fix memory leak 2020-03-30 11:48:02 +02:00
Eugene Sandulenko
251886124e GRAPHICS: MACGUI: Specify hotspot for custom cursor and fix cursor popping 2020-03-27 02:00:56 +01:00
Eugene Sandulenko
7cf998f9d5 GRAPHICS: Remove redundant (and illegal) includes 2020-03-25 09:49:58 +01:00
Paul Gilbert
4f1521f542 GRAPHICS: Fix setting ManagedSurface palette 2020-03-22 20:29:37 -07:00
Eugene Sandulenko
80f1132e22 GRAPHICS: FONTS: Fix Mac outline font generation 2020-03-22 18:08:30 +01:00
Eugene Sandulenko
4193097f3f GRAPHICS: MACGUI: Draw text styles in MacMenu 2020-03-22 17:59:19 +01:00
Eugene Sandulenko
930cf4df03 GRAPHICS: Generate Mac outline fonts 2020-03-22 17:41:21 +01:00
Eugene Sandulenko
39ad4d4e02 GRAPHICS: MACGUI: Request outline fonts generation 2020-03-22 17:40:59 +01:00
Eugene Sandulenko
6774d7aced GRAPHICS: MACGUI: Initial code for generating outlined fonts 2020-03-22 01:39:29 +01:00
Le Philousophe
8e156fe37d GRAPHICS: Fix compilation on old FreeType2 versions
Old FreeType2 had FT_Bitmap_New which got renamed later in FT_Bitmap_Init
2020-03-14 16:56:25 +01:00
Le Philousophe
3f7726ea66 GRAPHICS: Fix compilation for Amiga and PSP
Amiga failed because int isn't the same than int32
PSP failed because of an old FreeType version so try to take this
into account
2020-03-14 14:23:34 +01:00
Le Philousophe
ee1aa81063 GRAPHICS: Mimic CreateFont Windows API
Implement a kind of font mapper which takes a list of font files, font
face name, size, slant and weight and finds the best matching face.
Fakes italic and bold if there it isn't available.
This commit adds support for TTC files which contains multiple faces
(used by CJK Windows fonts).
2020-03-14 12:19:21 +01:00
Eugene Sandulenko
7d81e1c14f GRAPHICS: MACGUI: Implemented addWidget() to BaseMacWindow class 2020-02-25 18:23:00 +01:00
Eugene Sandulenko
988daefade GRAPHICS: MACGUI: Parse slant in extra fonts too 2020-02-16 15:53:19 +02:00
Eugene Sandulenko
8df4d8a339 GRAPHICS: MACGUI: Proper processing of font slant names 2020-02-16 15:53:19 +02:00
Eugene Sandulenko
0f3b188205 GRAPHICS: MACGUI: Fix double Geneva font ids 2020-02-16 15:53:19 +02:00
Eugene Sandulenko
96912ee3f1 GRAPHICS: MACGUI: Moved Font::setName() method implementation out of the header 2020-02-10 15:05:46 +01:00
Eugene Sandulenko
80da619f47 GRAPHICS: MACGUI: Added possibility to specify custom cursor 2020-02-10 15:05:38 +01:00
Eugene Sandulenko
9b3ca6498e GRAPHICS: MACGUI: Adding style to menu items 2020-02-07 19:21:47 +01:00
Eugene Sandulenko
0fbc07449d GRAPHICS: MACGUI: Fix Mac cursors 2020-02-04 23:55:18 +01:00
Paul Gilbert
db92f62b7a GRAPHICS: Add new overridable updateScreen method to Screen 2020-02-01 13:13:51 -08:00
Paul Gilbert
3a0c62e1e4 GRAPHICS: Make copying sources as const 2020-02-01 13:13:51 -08:00
Paul Gilbert
46e49e3ed3 GRAPHICS: Add transparent color field and palette to ManagedSurface 2020-02-01 13:13:51 -08:00
jepael
567c81905f GRAPHICS: MACGUI: Fix compiler warning 2020-02-01 00:22:47 +01:00
Eugene Sandulenko
b0fba6d0f3 GRAPHICS: Added override keywords 2020-01-31 14:51:42 +01:00
Eugene Sandulenko
69343b2db8 GRAPHICS: MACGUI: Actually store palette when it is passed 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
cdd2d9336b GRAPHICS: MACGUI: Simplified color matching 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
2ec72ea3dd GRAPHICS: MACGUI: Add helper method for color searching 2020-01-31 00:10:18 +01:00
Eugene Sandulenko
66455b6aa5 GRAPHICS: MACGUI: Added sanity check to splitString() 2020-01-14 18:48:42 +01:00
Filippos Karapetis
bc908dd840 GRAPHICS: Revert unwanted changes to copyright comments 2020-01-12 02:14:48 +02:00
Harsh Bawari
6bf14cf547 GRIFFON: Fix slugginess in final boss and a crash when loading the Griffon.s03 map 2020-01-11 17:35:55 +02:00
Cameron Cawley
a692905eb2 COMMON: Add a function to simplify loading Windows executables 2020-01-11 17:34:12 +02:00
Cameron Cawley
5cd6812b9d GRAPHICS: Unify loading Windows cursor groups 2020-01-11 17:34:12 +02:00
Cameron Cawley
e49282577f GRAPHICS: Simplify loading Windows fonts 2020-01-11 17:34:12 +02:00