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
Eugene Sandulenko
f0c52096f3
GUI: Implemented possibility to use alphabitmaps in GraphicsWidget
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
53a42ececf
GUI: Added new alphabitmap image type
2016-08-24 16:07:55 +06: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
Paul Gilbert
9f316a5b37
GRAPHICS: Fix MSVC project generation
2016-08-03 20:51:54 -04: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
Eugene Sandulenko
01a240ca81
GRAPHICS: Fix warnings
2016-08-03 14:41:14 +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
02a18134c3
GRAPHICS: Add basic caching to 9patch colors
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
da33e52539
GRAPHICS: Reorder modules to preserve alphabetical order
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