Commit Graph

1046 Commits

Author SHA1 Message Date
Brian Ferguson
1fd382d192 Reverted a903629 and add778c 2013-04-12 22:42:20 -06:00
Birunthan Mohanathas
73adaffe43 Additional changes to 4f26f77 2013-04-12 18:22:39 +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
0b3a4d86c4 Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +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
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
39fe9750fd Gfx: Add temporary solution for local fonts 2013-03-28 15:09:46 +02:00
Birunthan Mohanathas
c6374f7c12 Minor tweaks and fixes 2013-03-28 14:26:55 +02: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
4fbc3c56a5 Add <memory> to StdAfx.h 2013-03-25 18:10:40 +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
Birunthan Mohanathas
9bf5871abf Fix crash when actions are executed by plugin threads after skin unload 2013-03-21 14:29:59 +02:00
spx
5252c95fd6 Fixed that copy operation fails on XP if from path ends with path separator 2013-03-18 20:29:03 +09:00
Birunthan Mohanathas
5d6794ce7b Script: Fix handle leak with unclosed script file 2013-03-17 17:58:25 +02:00
Birunthan Mohanathas
c171a31d9d Fix mistake in f9e4230 2013-03-12 17:57:18 +02:00
Birunthan Mohanathas
f9e4230ddd Move CSystem::GetOSPlatform() to Platform.h 2013-03-12 17:53:55 +02:00
spx
87014a8a87 Tweaks
- Use InitializeCriticalSectionEx function with CRITICAL_SECTION_NO_DEBUG_INFO flag.
2013-03-12 13:30:43 +09:00
spx
6ad5d56498 Additional changes to af8befd: Fixed that unloaded skin is not deleted properly in rare case. 2013-03-11 06:06:02 +09:00
spx
27fe4a1e1c Tweaks 2013-03-11 05:08:00 +09:00
spx
aecef0b5f9 Additional changes to af8befd 2013-03-11 04:59:05 +09:00
Birunthan Mohanathas
ad59b70768 Manage: Fix crash when loading a skin in some cases 2013-03-10 12:17:15 +02:00
Birunthan Mohanathas
af8befd22b Fix that unloaded skin is displayed in context menu until fade is complete 2013-03-10 12:14:40 +02:00
spx
3552a928dd Added error check for zero divide 2013-03-09 02:39:17 +09:00
spx
53f5ceb674 Updated plugin API
- Added new option to RmGet(): RMG_SKINNAME, RMG_SKINWINDOWHANDLE
2013-02-27 20:00:26 +09:00
spx
533d53e446 Code cleanup 2013-02-26 03:57:37 +09:00
Birunthan Mohanathas
f81b4ff8bb Added __declspec(novtable) to interface classes 2013-02-19 16:53:00 +02:00
spx
f48c7f9e01 Reverted change at OnDelayedMove() in d25ae27:
http://rainmeter.net/forum/viewtopic.php?p=83860
2013-02-12 23:19:17 +09:00
spx
d25ae270c4 Tweaks
* Optimized some part for multi monitor
2013-02-09 01:52:41 +09:00
spx
95aacda3cb Code cleanup 2013-02-06 19:12:16 +09:00
spx
1c8b798928 Tweaks
* Merged Shrink() code to Tokenize()
2013-02-06 19:09:17 +09:00
spx
e96b02d3dc Tweaks
* Replaced if-else with switch-case
2013-02-06 18:55:45 +09:00
spx
da34fc1fa8 Additional change to 0b84213, 0d8e8ac
http://rainmeter.net/forum/viewtopic.php?p=83467
2013-02-03 19:31:52 +09:00
spx
8ce97640dd OnChangeAction: Tweaks 2013-01-29 16:02:16 +09:00
spx
89d477b4e1 Minor tweaks 2013-01-29 15:59:08 +09:00
Brian Ferguson
c0d969f4b6 String meter: Fixed issues with ClipString=2 2013-01-28 00:38:26 -07:00
Birunthan Mohanathas
438f79bf5d Tweaks 2013-01-27 12:49:23 +02:00
Birunthan Mohanathas
fdcd5a9757 Tweaks 2013-01-27 12:49:22 +02:00
spx
654599d192 Code cleanup 2013-01-27 18:39:13 +09:00
Brian Ferguson
178ccb0af4 ClipString options changed back to 0/1, and Auto changed to 2 to be more consistent with other options and to allow formulas. 2013-01-25 21:05:47 -07:00