Commit Graph

360 Commits

Author SHA1 Message Date
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
spx
40e7617ecc - Fixed that invalid skin context action is executed when executing action from tray context menu.
- Minor tweaks.
2012-10-03 14:59:49 -07:00
Brian Ferguson
7e6249f797 Tweak 2012-10-03 15:14:44 -06:00
Brian Ferguson
f0dd38000d Added support for custom Context Menu items 2012-10-03 14:52:17 -06:00
Brian Ferguson
032c7914f7 Fixed typo in @1e3d6c156d71953bb1faa48d8b64635bc956bbd2 2012-09-23 22:59:22 -06:00
Birunthan Mohanathas
1e3d6c156d Code cleanup 2012-09-21 21:42:44 +03:00
spx
0e01961c66 Fixed that #CURRENTCONFIGWIDTH# and #CURRENTCONFIGHEIGHT# don't work in some cases. Partially reverted 638b467.
http://rainmeter.net/forum/viewtopic.php?f=103&t=11698&start=10#p74334
2012-08-12 21:59:07 -07:00
Birunthan Mohanathas
adeb73478b Removed redundant code 2012-08-12 17:02:08 +03:00
spx
489f2c5a30 Code cleanup & cosmetics: Moved Measure/Meter shared part to Section.h 2012-08-09 06:50:58 -07:00
spx
66c3231b90 Code cleanup 2012-08-06 13:27:39 -07:00
Birunthan Mohanathas
05f411c579 Fixed group bang issue since 4778184
http://rainmeter.net/forum/viewtopic.php?p=73793
2012-08-06 18:50:42 +03:00
spx
a162451e87 Additional change for 4778184 2012-08-05 06:07:58 -07:00
Brian Ferguson
47781848e7 Fixed how meters are initialized to avoid problems with referencing a Dynamic Section Variable before its meter options are read 2012-08-05 06:27:07 -06:00
John Murphy
94b71f305f Changed ShowMeter to Error instead of Notice 2012-07-27 20:22:19 -05:00
Birunthan Mohanathas
67a57ca9ee Additional change to 4dbf793 2012-07-18 17:35:07 +03:00
Birunthan Mohanathas
ffbdcbf65a Tweaks 2012-07-18 13:27:30 +03:00
Birunthan Mohanathas
4dbf7932ab Additional changes to f2b52b4 2012-07-18 09:22:47 +03:00
Birunthan Mohanathas
f2b52b4204 Fixed that meters were initialized before measures 2012-07-18 08:19:01 +03:00
Birunthan Mohanathas
4bbc372116 Tweaked measure binding 2012-07-17 10:37:53 +03:00
Brian
ff7814b11f Additional changes to custom mouse cursors 2012-07-17 00:52:22 -04:00
Birunthan Mohanathas
215211741e Tweaks 2012-07-13 22:04:43 +03:00
Birunthan Mohanathas
eb1e900b20 Minor changes 2012-07-13 12:54:26 +03:00
Birunthan Mohanathas
e884201a90 Added support for custom cursors (based on @brianferguson's work)
Also refactored mouse action code to remove duplicate code.
2012-07-13 12:33:09 +03:00
Birunthan Mohanathas
e19bd368ff Fixed handle leak with @Resources\Fonts 2012-07-12 11:44:48 +03:00
Birunthan Mohanathas
3b8ab1e6e8 Tweaks 2012-06-27 14:49:52 +03:00
Birunthan Mohanathas
0ce52f744a Fixed messagebox and context menu layout with RTL languages 2012-06-19 14:31:08 +03:00
Birunthan Mohanathas
579e2df81e Cosmetics 2012-06-01 16:13:01 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
dac6303c1a Changed skin options saving
Skin options are now written post-load only when an option has changed or when common keys are missing
2012-06-01 14:55:25 +03:00
Birunthan Mohanathas
e3d92d354c Cosmetics 2012-05-30 21:53:44 +03:00
Birunthan Mohanathas
4558c2836c Changed @\ to #@# 2012-05-21 14:19:25 +03:00
Birunthan Mohanathas
f2318c4a65 Tweaks 2012-05-20 21:05:15 +03:00
Birunthan Mohanathas
9fb14b032c Additional change to cb0fd82 2012-05-20 18:33:15 +03:00
Birunthan Mohanathas
cb0fd823e7 Added support for @Resources 2012-05-20 17:51:15 +03:00
Birunthan Mohanathas
9453780c26 Tweaks 2012-05-19 18:16:04 +03:00
spx
638b467675 Disabled double update on initialization for meters 2012-05-04 18:23:35 -07:00
Birunthan Mohanathas
43427b4706 Added workaround for issue in bb4bcbd (skin not completely visible) 2012-04-28 19:49:28 +03:00
spx
27f33dbe10 Cosmetics 2012-04-17 17:27:40 -07:00
Birunthan Mohanathas
3cf1f43846 Cosmetics 2012-04-17 18:20:12 +03:00
Birunthan Mohanathas
f48d892526 Fixed cursor flicker issue with some applications
Removed support for background transparency with RGB(255,0,255)
2012-04-17 09:36:29 +03:00
Birunthan Mohanathas
8332f8465e Removed NativeTransparency option (now always enabled) 2012-04-17 09:32:10 +03:00
Birunthan Mohanathas
174a612c49 Minor change 2012-04-15 18:31:05 +03:00
Birunthan Mohanathas
b8292f3ab7 Additional change to e139153 2012-04-15 18:27:51 +03:00
Birunthan Mohanathas
e139153d77 About Skins: Fixed ignored first update for measures 2012-04-15 17:47:41 +03:00
Birunthan Mohanathas
bb4bcbdce3 Disabled double update on initialization for measures 2012-04-09 20:50:46 +03:00
spx
4339a00780 Removed #include "Timer.h" (7168634) 2012-04-09 10:05:26 -07:00
Birunthan Mohanathas
1e978aa4b8 Fixed typo 2012-04-09 19:49:39 +03:00
Birunthan Mohanathas
7168634bb6 Disabled RTTI and removed dynamic_cast 2012-04-09 19:45:54 +03:00
Birunthan Mohanathas
873b67571a Tweaks 2012-04-06 20:01:45 +03:00
Birunthan Mohanathas
ea67809d9b Replaced throw with Log where possible 2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
ba239ffeea Changed all numerical options or numerical parameters of bangs to accept formulas 2012-04-06 15:16:54 +03:00
Brian
7d0706c56a Added OnCloseAction 2012-03-31 11:55:56 +03:00
spx
2f2f5e6efa Code cleanup 2012-03-26 19:11:54 +03:00
spx
8e4d37a8ea - Now retries UpdateLayeredWindow if it fails for some reason. (E.g. when SetLayeredWindowAttributes is called by other application process.)
- Replaced Get(Set)WindowLong with Get(Set)WindowLongPtr.
- Code cosmetics.
2012-03-14 02:52:35 +00:00
Birunthan Mohanathas
ad2a986e88 Cosmetics. 2012-03-09 10:41:46 +00:00
Birunthan Mohanathas
cea569c0b6 !Move/!MoveMeter: Added support for formulas [Smurfier] 2012-03-08 18:34:30 +00:00
Birunthan Mohanathas
b60d7bdd90 Fixed crash that could occur when using RmExecute from separate thread (in WebParser) 2012-02-22 06:42:52 +00:00
spx
bb865ec514 Cosmetic changes. 2012-02-21 19:15:10 +00:00
Birunthan Mohanathas
876817bc11 - About Log and Skins: Added CTRL+C support to copy third column
- Cosmetics
2012-02-21 09:03:16 +00:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
3254520ced Added workaround for the issue that skins disappear when resuming from sleep mode.
http://rainmeter.net/forum/viewtopic.php?f=5&t=11313
2012-02-20 15:33:13 +00:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +00:00
spx
71402a8d48 Fixed crash when !EnableMeasure generates error log message. 2012-02-15 07:24:48 +00:00
spx
73f56cf50c Fixed that !SetOptionGroup doesn't work with Measures. 2012-02-11 06:43:34 +00:00
spx
bdb294893c Now skin is deactivated if the Rainmeter version is less than the AppVersion value. 2012-02-10 23:28:11 +00:00
spx
1e88fe1db3 Minor code tweaks. 2012-02-07 08:32:37 +00:00
Birunthan Mohanathas
c0ecf75e94 Fixed issue with r1153 (if skin is changed to other variant, the former skin is leaked). 2012-02-03 10:15:18 +00:00
Birunthan Mohanathas
808dca7afe Improved r277 fix. 2012-02-02 12:05:14 +00:00
Birunthan Mohanathas
b65b26c2b7 Cosmetic changes. 2012-02-01 18:00:32 +00:00
Birunthan Mohanathas
b21658b1cd - Partially refactored bang handling code
- Renamed CMeasure::ExecuteBang to CMeasure::Command
- Minor cosmetic changes and tweaks
2012-02-01 15:55:29 +00:00
spx
7531ddde27 - Tweaked !SetClip.
- Code cosmetics.
2012-01-30 08:34:56 +00:00
JamesAC
55fe503636 Added new Bang "!SetClip"
Usage - !SetClip "Text to set, #Variable#, [Measure]"

Dynamic Variables is only needed if a dynamic #Variable# is used, it is not needed for a [Measure] to appear dynamically.
2012-01-29 18:59:22 +00:00