Commit Graph

1992 Commits

Author SHA1 Message Date
Birunthan Mohanathas
31d717085e Gfx: Fix mistakes in b737352 2013-04-13 18:58:24 +03:00
Brian Ferguson
1fd382d192 Reverted a903629 and add778c 2013-04-12 22:42:20 -06:00
Birunthan Mohanathas
d04bb46009 Gfx: Improve D2D local font support 2013-04-12 19:41:47 +03:00
Birunthan Mohanathas
3a70f91d15 Merge branch 'master' of github.com:rainmeter/rainmeter 2013-04-12 19:41:10 +03:00
Birunthan Mohanathas
b73735251e Gfx: Cosmetics 2013-04-12 19:18:56 +03:00
spx
50328acdf5 InputText: Fixed MissingMethodException
http://msdn.microsoft.com/en-US/library/system.drawing.font.originalfontname.aspx
2013-04-13 01:05:24 +09:00
Birunthan Mohanathas
73adaffe43 Additional changes to 4f26f77 2013-04-12 18:22:39 +03:00
Birunthan Mohanathas
d50c2ed33f Gfx: Add support for local fonts with D2D
This does not yet work with family names containing e.g. 'Light'.
2013-04-12 18:12:45 +03:00
Birunthan Mohanathas
4b95f07ca6 Add missing files in 4f26f77 2013-04-12 18:06:51 +03:00
Birunthan Mohanathas
4f26f777c9 Gfx: Move DWrite helpers to Util 2013-04-12 17:31:12 +03:00
Birunthan Mohanathas
b8bda82226 Gfx: Cosmetics 2013-04-12 17:14:43 +03:00
Birunthan Mohanathas
ad9149b143 Gfx: Move WIC files to Util 2013-04-12 17:09:42 +03:00
Birunthan Mohanathas
3827353c08 Gfx: Implement DWrite interfaces required for loading fonts 2013-04-12 17:05:21 +03:00
Birunthan Mohanathas
8c184a3dbb Simplify aa3c7eb 2013-04-10 19:04:28 +03:00
Birunthan Mohanathas
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
Birunthan Mohanathas
507e0294fe Gfx: Add comments 2013-04-09 20:54:40 +03:00
Birunthan Mohanathas
0b3a4d86c4 Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
Birunthan Mohanathas
4d22c5ac61 Gfx: Improve D2D support for subfamilies like 'Light' 2013-04-08 18:24:09 +03:00
Birunthan Mohanathas
7c90f65659 Gfx: Tweaks 2013-04-08 17:29:26 +03:00
Birunthan Mohanathas
53c6966819 Gfx: Tweaks 2013-04-08 17:21:47 +03:00
Birunthan Mohanathas
12bd890aef Gfx: Cosmetics 2013-04-07 14:32:41 +03:00
Birunthan Mohanathas
2f8f67e2cf Gfx: Make D2D font family name handling more consistent with GDI+ 2013-04-07 14:30:50 +03:00
Birunthan Mohanathas
e1b39f62b1 Change version check URL to use new github.io domain 2013-04-07 12:20:16 +03:00
Brian Ferguson
d0704a69d0 Cosmetics: Fixes VS2012 syntax highlighting 2013-04-05 15:07:51 -06:00
Birunthan Mohanathas
d064d087eb Update build instructions for VS2012.2 2013-04-05 15:35:03 +03:00
Brian Ferguson
59b3dea21c Gfx: Added support for TransformationMatrix and Angle (for String meters) 2013-04-05 02:35:20 -06:00
Brian Ferguson
add778cfea Add icon to 'Exit' in tray context menu.
Also adds the icon to the 'Exit' option in the Rainmeter sub menu in a skin's context menu.
2013-04-03 10:31:19 -06:00
Birunthan Mohanathas
a903629fc4 Add icon to 'Unload skin' in context menu 2013-04-03 12:38:50 +03:00
Birunthan Mohanathas
d862324887 Add UseD2D to preserved settings 2013-03-31 19:33:36 +03:00
Birunthan Mohanathas
3921369f35 Revert b9cdc53 2013-03-31 18:18:38 +03:00
Birunthan Mohanathas
0135b81a17 Optimize UpdateLayeredWindow when only alpha is changing 2013-03-31 12:52:03 +03:00
Birunthan Mohanathas
349988e5dd Gfx: Add GDI+ specific temporary solution for transformations 2013-03-29 13:33:11 +02:00
Birunthan Mohanathas
6f81e31f10 Gfx: Delay creation of ellipsis with D2D 2013-03-28 15:52:17 +02:00
Birunthan Mohanathas
e5100d9a9f Gfx: Make text rendering with D2D more efficient by reusing layout 2013-03-28 15:51:12 +02:00
Birunthan Mohanathas
71a454f954 Gfx: Cosmetic tweaks 2013-03-28 15:11:55 +02:00
Birunthan Mohanathas
39fe9750fd Gfx: Add temporary solution for local fonts 2013-03-28 15:09:46 +02:00
Birunthan Mohanathas
056277ce4f Gfx: Tweaks 2013-03-28 14:45:10 +02:00
Birunthan Mohanathas
5bf776090d Gfx: Avoid creating D2D render target when not necessary 2013-03-28 14:44:43 +02:00
Birunthan Mohanathas
c6374f7c12 Minor tweaks and fixes 2013-03-28 14:26:55 +02:00
Brian Ferguson
f16224793e FileView: Tweaks 2013-03-26 15:14:37 -06:00
Birunthan Mohanathas
5f03d7b235 Gfx: Fix rendering issues in some cases
It seems that Direct2D does not expect the underlying pixel data of the render target to change outside of the target draw commands while the render target exists. As a result, Direct2D may in some cases overwrite changes to the pixel data. This change changes the render target to be (re)created for each batch of Direct2D drawing operations as a temporary solution. As a side effect, a DIB section is now used as the render target bitmap.
2013-03-26 21:29:05 +02:00
Birunthan Mohanathas
7f51273950 Cosmetics 2013-03-26 21:28:34 +02:00
Birunthan Mohanathas
db427f58cf Update language files 2013-03-26 17:28:55 +02:00
Birunthan Mohanathas
4323b8f29e Installer: Remove statistics collection 2013-03-26 17:28:54 +02:00
Brian Ferguson
275b48ebf1 FileView: Fixed crash when using the Open command. 2013-03-25 22:47:59 -06:00
Birunthan Mohanathas
4fbc3c56a5 Add <memory> to StdAfx.h 2013-03-25 18:10:40 +02:00
Birunthan Mohanathas
27440ed515 Tweaks 2013-03-25 18:05:57 +02:00
Birunthan Mohanathas
0994fad7e9 Add UseD2D option to Rainmeter.ini (defaults to 0) 2013-03-25 18:01:21 +02:00
Birunthan Mohanathas
ef1cf223a7 Change to use Gfx rendering 2013-03-25 17:42:18 +02:00
Birunthan Mohanathas
82970d1cce Gfx: Add initial work
Gfx provides support for rendering with both Direct2D and GDI+.
2013-03-25 17:37:20 +02:00