Commit Graph

1197 Commits

Author SHA1 Message Date
Brian Ferguson
d606ce0170 MeasureString: Correctly convert strings to floating-point numbers instead of integers only 2014-01-02 13:47:36 -07:00
Brian Ferguson
46ddc24f90 Removed unneeded library from previous commit d3e4a2b 2014-01-01 09:36:35 -07:00
Brian Ferguson
d3e4a2b6a4 MeasureString - New measure for simple manipulation of strings as a measure. 2014-01-01 09:33:40 -07:00
Brian Ferguson
1a345f1ad8 Fixed bug in 1383c04 2014-01-01 09:14:49 -07:00
Brian Ferguson
1383c046e0 MeasureCalc - Limit the amount of unique random numbers to preserve memory. The limit is set at 65535, which "should" be enough. 2014-01-01 08:59:39 -07:00
Birunthan Mohanathas
da92def9fc Define WIN32_LEAN_AND_MEAN globally 2013-12-24 11:20:19 +00:00
Birunthan Mohanathas
a577608835 Unignore and fix warnings in Library/ 2013-12-23 19:42:31 +00:00
Birunthan Mohanathas
98b00cc73a Cosmetics 2013-12-08 15:07:45 +02:00
Birunthan Mohanathas
f5fb87f336 Calc: Use std::mt19937 with a deterministic seed as the random engine 2013-12-08 15:06:01 +02:00
Birunthan Mohanathas
ec9c2ef598 Reapply accidentally reverted changes in 3b1dfba 2013-12-08 13:44:03 +02:00
Birunthan Mohanathas
1eb46ae448 Calc: Minor tweaks 2013-12-08 13:41:19 +02:00
Birunthan Mohanathas
3383713853 Calc: Make std::default_random_engine static 2013-12-08 13:40:48 +02:00
Brian Ferguson
3b1dfbac7e MeasureCalc: Fixed error message from repeating when HighBound is smaller than LowBound 2013-12-06 20:55:50 -07: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
spx
9885c57b70 Meter: ToolTipIcon option allows to use relative path 2013-11-24 00:29:45 +09:00
Birunthan Mohanathas
4e936e5365 Tweaks 2013-11-10 19:41:21 +02:00
Brian Ferguson
cd658fe2b1 IfActions: Tweaks 2013-11-08 08:40:14 -07:00
Brian Ferguson
fc96387105 Added IfConditionMode. If 1, will execute the True/False action on every update of the measure. If 0, will only execute the True/False action once until it switches case and back again (like IfActions). 2013-11-08 08:36:43 -07:00
spx
b492d40f61 IfActions: Tweaks 2013-11-06 16:02:05 +09:00
Birunthan Mohanathas
fa81ea4fe9 Additional change to 40e0b70 2013-11-05 21:19:04 +02:00
Birunthan Mohanathas
dcca59ae91 Use the precompiled header with IfActions.cpp 2013-11-05 21:12:20 +02:00
Birunthan Mohanathas
40e0b70baf IfActions: Tweaks 2013-11-05 21:10:21 +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
Brian Ferguson
cf86d365ad Fixed error when a self-referencing closing bracket was omitted from the IfCondition 2013-11-05 10:41:33 -07:00
Brian Ferguson
521861a87d Fixed typo in 87edcd0 2013-11-05 10:11:57 -07:00
Brian Ferguson
87edcd0ce4 Added new options IfCondition/IfTrueAction/IfFalseAction for all Measures.
Multiple conditions/actions are also possible (eg. IfCondition2/IfTrueAction2)
2013-11-05 10:07:42 -07:00
Birunthan Mohanathas
e1872e67bb Move .props files to Build\VS\ 2013-11-03 20:18:42 +02:00
Birunthan Mohanathas
99e2b69ff8 Manage: Disable resizable window frame 2013-11-02 11:58:25 +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
Birunthan Mohanathas
3c58e4d48c Minor fixes 2013-10-21 19:22:57 +03:00
Birunthan Mohanathas
c2530b3761 Plugin API: Add RmLog and RmLogF functions
These functions take a `void* rm` parameter that is used to populate the Source field in the log.
2013-10-21 18:04:13 +03:00
Birunthan Mohanathas
2315fe8cc5 Remove unnecessary duplication in .vcxproj files 2013-10-20 17:45:43 +03: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
30fc135abc Manage: Include country in language list 2013-10-13 18:54:55 +03:00
Brian Ferguson
6d705f5c95 String: Strip carriage returns in strings for compatibility between GDI+ and D2D 2013-10-13 16:28:57 +03:00
Birunthan Mohanathas
b539c19b8f Minor tweaks to 176a941 2013-10-13 16:19:51 +03:00
Birunthan Mohanathas
06cc2a3cf0 Language: Update translations 2013-10-06 18:17:14 +03:00
Birunthan Mohanathas
6248f07634 Disable skin menu "Use D2D rendering" item if D2D is globally disabled 2013-10-06 17:12:19 +03:00
Birunthan Mohanathas
ded19a42fa Enable D2D by default 2013-10-06 17:08:11 +03: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
jsmorley
2029cea23f Revert "Added #NBSP# built-in variable to support using a Unicode no-break space in strings."
This reverts commit 73069b692f.

Reverted due to some risk of issues when used in Lua when the .lua file is not encoded and the user's local code page does not support the ANSI "no-break space".
2013-09-22 10:26:58 -04:00
jsmorley
73069b692f Added #NBSP# built-in variable to support using a Unicode no-break space in strings. 2013-09-22 07:53:17 -04:00
Birunthan Mohanathas
7558666b13 Script: Add default value support for SKIN:GetVariable 2013-09-19 17:16:26 +03:00
Birunthan Mohanathas
5fd98509cf Script: Fix that default value is not used in Meter:GetOption 2013-09-19 17:07:47 +03:00
Birunthan Mohanathas
08eb662e1f Add #ROOTCONFIG# variable 2013-09-15 15:05:06 +03:00
Birunthan Mohanathas
8b68092cf1 Tweak some log messages to remove redundant info 2013-09-14 12:57:33 +03:00