Commit Graph

2331 Commits

Author SHA1 Message Date
Birunthan Mohanathas
923215c0da ConfigParser: Implement ReadBool
This may break backwards compatibility in some cases. For example, the FreeDiskSpace measure treated only `Type=1` as true and `Type={0, 2, 3, ...}` as false. Now `Type=0` is false and everything else is true like with most other boolean options.
2013-07-31 13:36:53 +03:00
Birunthan Mohanathas
6b8d8a65d0 Gfx: Suppress int to float conversion warning 2013-07-31 13:15:26 +03:00
Birunthan Mohanathas
3c8c8a1f5e Gfx: Additional change to 37fd105 2013-07-31 13:12:15 +03:00
Birunthan Mohanathas
37fd105650 Gfx: Add Util::GetAdjustedDWriteTextLayoutMetrics to reduce code duplication 2013-07-31 13:09:48 +03:00
Birunthan Mohanathas
82b8920443 Gfx: Added comment 2013-07-31 12:55:32 +03:00
Brian Ferguson
572f2da0d2 D2D: Tweaks 2013-07-30 17:01:16 -06:00
Birunthan Mohanathas
20cac72e9b Gfx: Implement GDI+ fallback 2013-07-30 22:57:46 +03:00
Birunthan Mohanathas
44300e2f41 Gfx: Change to use D2D 1.1 2013-07-30 22:38:51 +03:00
Brian Ferguson
12dcf4628a D2D: Tweaks 2013-07-28 22:33:27 -06:00
Brian Ferguson
2dda00a071 D2D: Tweaks to spacing 2013-07-28 12:01:35 -06:00
Brian Ferguson
6aab840dfb D2D: Adjusted character spacing for AccurateText=0 2013-07-28 11:20:28 -06:00
Brian Ferguson
52b5e2584a D2D: Removed centering of text within W/H (from 481442b) due to conflict with different alignments and a meter's defined W/H. 2013-07-28 01:10:19 -06:00
Brian Ferguson
481442bc19 D2D: Tweaked formula that calculates the width/height of text using AccurateText=0 to better match GDI+. Also centers the text inside the adjusted width/height. 2013-07-28 00:00:22 -06:00
Brian Ferguson
2418c3692f Manage Dialog: Added "UseD2D" option in the Settings Tab
If changed, all skins are refreshed
Option is disabled on systems that do not support D2D
2013-07-25 16:44:06 -06:00
Brian Ferguson
05cbcb9aa8 Temporarily added "__UseD2D" to [Rainmeter] section of skin that overrides global "UseD2D" value to help in testing. 2013-07-25 15:03:14 -06: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
3bf2bd3902 Webparser: Commented out new DV temporarily 2013-07-21 09:51:03 -06:00
Brian Ferguson
e3c8ae2dfa Fixed issues with Padding 2013-07-21 09:49:16 -06:00
spx
5f1d1c5888 Fixed hittest of Button meter due to lack of compatibility with new "Padding" option 2013-07-21 19:46:13 +09:00
Brian Ferguson
369f8c7082 Meter.cpp: Typo in commented section 2013-07-20 10:11:34 -06:00
Brian Ferguson
96f27fffcb Reverted 32fc794 and cd35729 2013-07-20 10:09:37 -06:00
Brian Ferguson
d67db33ecf Added "Padding" option to meters.
Usage: Padding = left, top, right, bottom
2013-07-20 10:07:51 -06:00
spx
8f2f65c1fc !SetWallpaper: Additional fix to 3104a53
http://rainmeter.net/forum/viewtopic.php?f=14&t=16074

If it still causes crash, it might need to create a clone image first before saving as a bitmap.
2013-07-17 06:17:34 +09:00
Brian Ferguson
f76634055d Reverted 6e9bc98 due to bug in GDI+ and newline
http://rainmeter.net/forum/viewtopic.php?p=89915#p89915
2013-07-16 12:28:05 -06:00
spx
ed9ea73e6b Changed Button meter behavior. Now ignores transparent area of the button when mouseover. 2013-07-16 12:26:31 +09:00
Brian Ferguson
8bf1f6aec8 Add "Paused=0/1" to measures. This is an addition to a883e9d. 2013-07-15 11:59:58 -06:00
Brian Ferguson
6e9bc98d0b GDI+: Add trailing whitespace when measuring text (similar to 32fc794) 2013-07-13 10:16:35 -06:00
Birunthan Mohanathas
239e61fd14 Additional changes to dca5795 2013-07-13 13:49:53 +03:00
Birunthan Mohanathas
e9fac27b46 WebParser: Change to use RmReplaceVariables 2013-07-12 23:15:18 +03:00
Birunthan Mohanathas
ff24a06827 Revert ConfigParser change in f9ab4ee 2013-07-12 23:14:48 +03:00
Birunthan Mohanathas
dca5795929 Plugin API: Add RmReplaceVariables function 2013-07-12 23:01:02 +03:00
Birunthan Mohanathas
0d1089608c WebParser: More tweaks and cosmetics 2013-07-12 10:42:59 +03:00
Birunthan Mohanathas
56aef6edfa WebParser: Cosmetics 2013-07-12 10:39:00 +03:00
Birunthan Mohanathas
19551cbb6c Tweaks and cosmetics 2013-07-12 10:34:40 +03:00
Birunthan Mohanathas
92b1e7af8d Tweaks 2013-07-12 10:11:39 +03:00
Brian Ferguson
f66f858180 MeterWindow: Fixed previous typo in commented section 2013-07-11 14:30:17 -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
2507b4fe2c Webparser: Added $...$ escape syntax for using the string value of another Webparser measure as input for the URL option.
Syntax: Url=http://www.[$SomeOtherWebparserMeasure$].com
2013-07-11 11:40:22 -06:00
Brian Ferguson
c3987115ee WebParser: More cosmetics 2013-07-10 17:13:04 -06:00
Brian Ferguson
19c6c58271 WebParser: Cosmetics 2013-07-10 17:10:11 -06:00
Brian Ferguson
f9ab4ee414 Added DynamicVariables support for WebParser 2013-07-10 17:01:15 -06:00
spx
3104a53107 Fixed !SetWallpaper issue
http://rainmeter.net/forum/viewtopic.php?f=14&t=16018
2013-07-10 23:00:27 +09:00
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
cd35729a17 Fixed typo in 32fc794 2013-06-30 00:15:36 -06:00
Brian Ferguson
32fc7948ee CanvasD2D: Fix for trailing whitespace
http://rainmeter.net/forum/viewtopic.php?p=89139#p89139
2013-06-29 23:44:56 -06:00
Brian Ferguson
05964e9f7f CommandHandler: Cosmetics 2013-06-29 11:03:24 -06:00
Brian Ferguson
eb74f359ba CommandHandler: Fixed error in log message 2013-06-29 11:00:27 -06: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
13ebeccfd7 Script: Fix that some meter related operations (e.g. !HideMeterGroup) did not work in Initialize() 2013-06-23 14:03:44 +03:00