45 Commits

Author SHA1 Message Date
Eugene Sandulenko
db05a9448b GRAPHICS: Differentiate Mac fonts by slant 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
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
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
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
Borja Lorente
2b6f1719e7 GRAPHICS: Fix window closing 2016-08-10 19:45:48 +02:00
Alexander Tkachev
139ad46410 WAGE: Fix crash in Explorer
Caused by operator[] usage on empty string.
2016-08-06 16:20:44 +06:00
Eugene Sandulenko
0cccd0ddd1 GRAPHICS/WAGE: Made MacWindowManager font maping requiring font size 2016-08-03 23:39:10 +02:00
Eugene Sandulenko
7c12e80552 WAGE/GRAPHICS: Move standard Mac font mapping to gui/ 2016-08-03 17:28:15 +02:00
Borja Lorente
ff9b1ccb57 GRAPHICS: Add most of the documentation to MacWindowManager 2016-08-02 08:33:50 +02:00
Borja Lorente
5ce231a527 GRAPHICS: Add macwindow documentation 2016-08-02 08:33:50 +02:00
Borja Lorente
c4f6c4c2fd GRAPHICS: Add documentation to BaseMacWindow 2016-08-02 08:33:50 +02:00
Borja Lorente
d7010637af GRAPHICS: Add documentation to MacWindowBorder 2016-08-02 08:33:50 +02:00
Borja Lorente
03f2d9b01e GRAPHICS: Remove unused variables 2016-08-02 08:33:50 +02:00
Borja Lorente
e809320f58 GRAPHICS: Fix indentation 2016-08-02 08:33:50 +02:00
Borja Lorente
6d8b6ad4f8 GRAPHICS: Fix include path in macwindowborder 2016-08-02 08:33:50 +02:00
Borja Lorente
f7ba1cb812 GRAPHICS: Rename header guards in macgui 2016-08-02 08:33:50 +02:00
Borja Lorente
95beba7b63 GRAPHICS: Fix spacing issues in MacWindowManager 2016-08-02 08:33:50 +02:00
Borja Lorente
f92873ae37 GRAPHICS: Add missing file header 2016-08-02 08:33:50 +02:00
Borja Lorente
7bc8d472ab GRAPHICS: Fix style and spelling 2016-08-02 08:33:50 +02:00
Borja Lorente
bc798d9ff4 GRAPHICS: Add custom border measures 2016-08-02 08:33:43 +02:00
Borja Lorente
3b1ba50c88 GRAPHICS: First approximation to custom border offsets 2016-07-31 14:47:19 +02:00
Borja Lorente
f642ad1cae GRAPHICS: Refactor MacWindow to accept MacWindowBorder 2016-07-31 14:45:37 +02:00
Borja Lorente
a2955b1025 GRAPHICS: Add active/inactive borders to MacWindowBorders 2016-07-31 14:45:36 +02:00
Borja Lorente
4ab02530ae GRAPHICS: Add MacWindowBorder to abstract borders 2016-07-31 14:45:36 +02:00
Borja Lorente
26238ee6f9 GRAPHICS: Fix border loading 2016-07-31 14:44:48 +02:00
Borja Lorente
b6722a1477 GRAPHICS: Fix segfault in macwindow 2016-07-31 14:05:15 +02:00
Borja Lorente
4a16f5fc39 WAGE: Begin adding borders to the windows 2016-07-31 14:05:15 +02:00
Borja Lorente
6c89eaa1b8 GRAPHICS: Include border loading code 2016-07-31 14:05:15 +02:00
Borja Lorente
1f00d2a099 GRAPHICS: Introduce NinePatchBitmap to MacWindow 2016-07-31 14:05:15 +02:00
Borja Lorente
c071eb0e18 GRAPHICS: Fix style issues 2016-07-31 14:05:14 +02:00
Borja Lorente
80604fb3f5 GRAPHICS: Clean up namespaces 2016-07-31 14:05:14 +02:00
Borja Lorente
9ce6fbd0d7 GRAPHICS: Move MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente
1080f19995 GRAPHICS: Create wrapper namespace for MacWindowManager constants 2016-07-31 14:05:14 +02:00
Borja Lorente
941617fc38 GRAPHICS: Create wrapper namespace for MacWindow constants 2016-07-31 14:05:14 +02:00
Borja Lorente
ffbc6b0c78 GRAPHICS: Create wrapper namespace for MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente
68b2d44a0f WAGE: Extract MacMenu 2016-07-31 14:04:48 +02:00
Borja Lorente
d8652af84e GRAPHICS: Change namespace of MacMenu 2016-07-30 10:06:14 +02:00
Borja Lorente
744034bd98 WAGE: Extract MacWindow 2016-07-30 10:06:09 +02:00
Borja Lorente
592a6defb7 WAGE: Change namespace of MacWindow 2016-07-30 09:42:49 +02:00
Borja Lorente
3d4087b9d0 WAGE: Extract MacWindowManager 2016-07-30 09:41:54 +02:00