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
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