Commit Graph

136 Commits

Author SHA1 Message Date
spx
6eafb835ad Revert 2152117
http://rainmeter.net/forum/viewtopic.php?f=5&t=18580
2014-06-08 22:12:15 +09:00
Birunthan Mohanathas
3190fc267f Use decltype instead of typedefs for function pointers 2014-02-28 18:35:32 +02:00
Birunthan Mohanathas
7164dddefd Disable copy constructors and copy assignment operators 2014-01-05 12:07:22 +02:00
spx
f5d875e7a3 Cosmetics
- Removed reset parameter from MeterWindow::UpdateWindow(). It was for NativeTransparency support.
2013-10-20 22:18:13 +09:00
Birunthan Mohanathas
6df7d5d509 Add "Use D2D rendering" option to skin context menu 2013-10-06 10:57:24 +03:00
Birunthan Mohanathas
08eb662e1f Add #ROOTCONFIG# variable 2013-09-15 15:05:06 +03:00
Birunthan Mohanathas
a1f15d9adc Minor tweaks 2013-08-02 14:46:42 +03:00
Brian Ferguson
b27bf1ee63 Added "AccurateText" option [Rainmeter] section of a skin.
When AccurateText=0 (default) and UseD2D=0, inaccurate GDI+ measuring of text is used
When AccurateText=1 and UseD2D=0, Accurate measuring occurs similar to D2D
When AccurateText=0 and UseD2D=1, D2D adds padding to the text similar to GDI+
When AccurateText=1 and UseD2D=1, Accurate measuring occurs using D2D
2013-07-25 14:53:02 -06:00
Brian Ferguson
a883e9d47d Add !PauseMeasure, !UnpauseMeasure, and !TogglePauseMeasure bangs. This is similar to a disabled measure, only it retains its value instead of changing to 0.
Also, group bangs !PauseMeasureGroup, !UnpauseMeasureGroup, and !TogglePauseMeasureGroup bangs have been added.
2013-07-11 14:29:23 -06:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06: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
Brian Ferguson
497f6bbf54 Added OnWakeAction.
Executes when returning from sleep/hibernation.
2013-04-27 09:26:03 -06: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
0135b81a17 Optimize UpdateLayeredWindow when only alpha is changing 2013-03-31 12:52:03 +03:00
Birunthan Mohanathas
ef1cf223a7 Change to use Gfx rendering 2013-03-25 17:42:18 +02:00
spx
aecef0b5f9 Additional changes to af8befd 2013-03-11 04:59:05 +09: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
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
9800692f19 Added OnUpdateAction to measures, meters and the [Rainmeter] section. 2013-01-10 15:50:38 -07:00
spx
2b45f7301d Code cleanup 2012-11-27 17:45:53 +09: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
Brian Ferguson
f0dd38000d Added support for custom Context Menu items 2012-10-03 14:52:17 -06: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
ef375232a8 Additional changes to 2f543e5 2012-07-17 22:15:06 +03:00
Birunthan Mohanathas
215211741e Tweaks 2012-07-13 22:04:43 +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
3b8ab1e6e8 Tweaks 2012-06-27 14:49:52 +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
jsmorley
74c3c2cf5c Fixed errors on Refresh All from context menu or Manage. 2012-05-21 10:21:09 -04:00
Birunthan Mohanathas
f2318c4a65 Tweaks 2012-05-20 21:05:15 +03:00
Birunthan Mohanathas
6a520542bc Removed useless comments 2012-05-20 20:58:37 +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
spx
638b467675 Disabled double update on initialization for meters 2012-05-04 18:23:35 -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
873b67571a Tweaks 2012-04-06 20:01:45 +03:00
Brian
7d0706c56a Added OnCloseAction 2012-03-31 11:55:56 +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
b60d7bdd90 Fixed crash that could occur when using RmExecute from separate thread (in WebParser) 2012-02-22 06:42:52 +00:00