8541cce5f4
A bit of work on app's UI and integration between .net and native.
2014-07-23 13:47:09 +03:00
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
Brian Ferguson
67aeaf5392
Remove Platform version helpers and use <VersionHelpers.h> per http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx
2014-02-12 14:42:02 -07:00
Birunthan Mohanathas
d0fd184063
Add !SkinCustomMenu bang that displays the user-defined context menu items only
2014-02-07 20:49:31 +02:00
Birunthan Mohanathas
a577608835
Unignore and fix warnings in Library/
2013-12-23 19:42:31 +00:00
Birunthan Mohanathas
b7c6ec0e54
Call DefWindowProc after processing WM_INPUT
2013-12-06 10:30:14 +02:00
Birunthan Mohanathas
c864de2859
Tweaks
2013-12-06 10:18:50 +02:00
Birunthan Mohanathas
b62fca59d0
IfActions: Read condition options after measure value is changed to properly support section variables
2013-11-05 20:52:58 +02:00
spx
150ccf8b14
Additional change to f5d875e
...
This also fixes the flickering issue caused by !Refresh: http://rainmeter.net/forum/viewtopic.php?f=14&t=16535#p92322
2013-10-30 04:35:44 +09:00
spx
f5d875e7a3
Cosmetics
...
- Removed reset parameter from MeterWindow::UpdateWindow(). It was for NativeTransparency support.
2013-10-20 22:18:13 +09:00
spx
cfd525c2fc
Fixed AnchorX/Y issue (caused by ef1cf223
)
...
http://rainmeter.net/forum/viewtopic.php?f=14&t=16798
2013-10-20 20:44:57 +09:00
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