Birunthan Mohanathas
2fb733ef75
Gfx: Remove __D2DParams
2013-10-06 17:07:00 +03:00
Birunthan Mohanathas
6df7d5d509
Add "Use D2D rendering" option to skin context menu
2013-10-06 10:57:24 +03:00
Birunthan Mohanathas
21d9c0698f
Gfx: Additional changes to d003db6
2013-09-29 17:57:21 +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
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
20cac72e9b
Gfx: Implement GDI+ fallback
2013-07-30 22:57:46 +03: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
spx
ed9ea73e6b
Changed Button meter behavior. Now ignores transparent area of the button when mouseover.
2013-07-16 12:26:31 +09: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
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