Commit Graph

331 Commits

Author SHA1 Message Date
spx
ca787306b5 Additional fix to 7849b2a
http://rainmeter.net/forum/viewtopic.php?f=14&t=16014
2013-07-09 21:59:37 +09:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06:00
Birunthan Mohanathas
6d87614d4c Fix drawing skin with zero width/height (regression in ef1cf22) 2013-06-23 14:21:04 +03:00
Birunthan Mohanathas
04090b232a Make Rainmeter a singleton class
This change is part of making the Libray project more testable. The old g_Rainmeter global pointer has been replaced with a GetRainmeter() function to guarantee that the object exists in some state.
2013-06-13 17:20:27 +03:00
Birunthan Mohanathas
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +03:00
spx
c6ec9093b7 Fixed that !Toggle causes infinite loop 2013-06-05 01:05:02 +09:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad Remove "C" prefix in class names 2013-05-31 17:18:52 +03:00
Birunthan Mohanathas
f8c3f11913 Refactor command and bang logic into new CCommandHandler class
This also improves bang log messages, which now include the bang name.
2013-05-30 19:55:59 +03:00
Birunthan Mohanathas
a3d8f73f6c Tweak f4429ad 2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
f4429ad8cc Refactor logging logic into new CLogger class 2013-05-29 22:05:41 +03:00
Brian Ferguson
497f6bbf54 Added OnWakeAction.
Executes when returning from sleep/hibernation.
2013-04-27 09:26:03 -06:00
Birunthan Mohanathas
d09c18a862 Fix "Image: Unable to open..." errors on refresh in some cases
The error usually occurred because the substitutes were not applied on the measure value on the first time. This change ensures that measure options are read prior to reading meter options.
2013-04-25 16:44:33 +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
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
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
9bf5871abf Fix crash when actions are executed by plugin threads after skin unload 2013-03-21 14:29:59 +02:00
Birunthan Mohanathas
f9e4230ddd Move CSystem::GetOSPlatform() to Platform.h 2013-03-12 17:53:55 +02: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
aecef0b5f9 Additional changes to af8befd 2013-03-11 04:59:05 +09: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
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
e96b02d3dc Tweaks
* Replaced if-else with switch-case
2013-02-06 18:55:45 +09:00
spx
89d477b4e1 Minor tweaks 2013-01-29 15:59:08 +09:00
spx
9375b5013c Code cleanup 2013-01-16 19:23:42 +09:00
Brian Ferguson
9da869363d Added special mouse variables 2013-01-15 17:51:02 -07:00
spx
e2c88e0946 Removed accidentally committed code 2013-01-15 04:39:35 +09:00
spx
4e27d71d97 Additional changes to c3982da 2013-01-15 04:30:10 +09:00
spx
c3982da712 Code cleanup 2013-01-15 01:37:13 +09:00
Brian Ferguson
731a0c611a Added OnUpdateAction to !UpdateMeter/!UpdateMeasure bangs 2013-01-11 00:37:10 -07:00
Brian Ferguson
69762e1b05 Revised previous commit 2013-01-11 00:23:21 -07:00
Brian Ferguson
61f088e59c Fixed issue with 8330415 2013-01-10 23:48:31 -07:00
Brian Ferguson
83304154a8 Changed OnChangeAction to ignore the first change when a skin is loaded 2013-01-10 23:25:59 -07:00
Brian Ferguson
90b80a2ca9 Added OnChangeAction to measures 2013-01-10 23:03:07 -07:00
Brian Ferguson
9800692f19 Added OnUpdateAction to measures, meters and the [Rainmeter] section. 2013-01-10 15:50:38 -07:00
spx
411f53b1f9 Added "*" to !UpdateMeasure/!UpdateMeter to update all measures/meters forcibly 2012-11-30 10:57:35 +09:00
spx
2b45f7301d Code cleanup 2012-11-27 17:45:53 +09:00
Birunthan Mohanathas
6a507dc761 Changed GetCursorPos() to GetMessagePos()
See: http://blogs.msdn.com/b/oldnewthing/archive/2009/06/18/9771135.aspx
2012-11-24 13:22:33 +02:00
Birunthan Mohanathas
a86b081906 Tweaks and fixes 2012-11-23 22:12:02 +02:00
Birunthan Mohanathas
12d7436d11 Fixed unfocused scroll with WOW64 2012-11-23 22:04:34 +02:00
Birunthan Mohanathas
0c89989d5a Changed to register for WM_INPUT only when needed 2012-11-23 21:59:24 +02:00
Brian Ferguson
f82ad78db9 Added mouse scrolling for meter windows without focus. 2012-11-23 12:08:40 -07:00
Brian Ferguson
651e6594b5 Added new Mouse actions.
Added OnFocusAction/OnUnfocusAction.
2012-11-13 22:39:32 -07:00
Brian Ferguson
e35c6dbd7d Added support for !SetOption and ContextTitle and ContextAction. Also added a disabled label for top level actions. 2012-10-04 15:30:55 -06:00