Commit Graph

91 Commits

Author SHA1 Message Date
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
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
e3d92d354c Cosmetics 2012-05-30 21:53:44 +03:00
Birunthan Mohanathas
873b67571a Tweaks 2012-04-06 20:01:45 +03:00
Birunthan Mohanathas
ea67809d9b Replaced throw with Log where possible 2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
ba239ffeea Changed all numerical options or numerical parameters of bangs to accept formulas 2012-04-06 15:16:54 +03:00
spx
6d79b7efa4 Fixed that X/Y/Hidden is retained even if MeterStyle is changed by using !SetOption etc. 2012-03-26 13:40:07 -07:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
Birunthan Mohanathas
13b3241307 Minor tweaks and cleanup. 2011-12-09 08:40:19 +00:00
spx
2835739b12 Code tweaks and cleanup. 2011-12-09 03:28:19 +00:00
spx
8e8b7d1268 Code tweaks and cleanup. 2011-12-04 22:18:40 +00:00
spx
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
spx
34005f14a4 Switched from std::wstring.compare() to wcscmp(). 2011-11-27 08:30:39 +00:00
spx
3c1338b4c5 - Renamed bool ReadFormula() to ParseFormula.
- Changed ReadConfig() in Measure/Meter to protected.
- Other code tweaks and cleanups.
2011-11-26 02:49:52 +00:00
spx
efc8275ed1 Minor tweaks. 2011-11-18 22:40:58 +00:00
Birunthan Mohanathas
b02371276f Minor tweaks. 2011-11-16 16:47:20 +00:00
Birunthan Mohanathas
1e9d424c99 Made log messages more consistent. 2011-11-09 09:27:06 +00:00
Birunthan Mohanathas
a1e722181e More tweaks. 2011-11-08 19:11:31 +00:00
spx
a209bf15d0 - Fixed Button issue: http://rainmeter.net/forum/viewtopic.php?t=10274&p=59935
- Removed unneeded NULL checks.
- Other code tweaks and cleanups.
2011-11-08 10:32:57 +00:00
spx
f945bacfb7 Minor tweaks. 2011-11-04 12:48:03 +00:00
spx
153b466abd - Fixed negative W/H issue: http://rainmeter.net/forum/viewtopic.php?t=8614&p=59732#p59732
- Code cleanup.
2011-11-03 09:27:07 +00:00
spx
22c36f8b49 Code cleanup. 2011-11-03 00:13:42 +00:00
spx
1aaa03308c Code cleanup. 2011-11-01 04:56:46 +00:00
spx
a336c916f6 Fixed crash when W is negative value: http://rainmeter.net/forum/viewtopic.php?f=14&t=10177 2011-10-27 10:55:32 +00:00
Birunthan Mohanathas
f14d751604 - Added #CURRENTFILE# variable
- Changes to log strings
2011-09-09 16:31:55 +00:00
Birunthan Mohanathas
f17602ee1d - Manage Skins: Load order can now be changed
- Fixed that the PLAY/PLAYLOOP commands didn't work with relative paths
- Errors that used to display in a messagebox are now logged and shown in the About Log dialog (which is opened when an error occurs)
- Some minor tweaks
2011-09-08 14:39:25 +00:00
spx
6ceacb0d98 Minor tweaks. 2011-07-12 13:37:31 +00:00
spx
8867c94482 Cosmetic changes. 2011-07-07 23:25:45 +00:00
spx
3a7d937021 - Uptime now shows over 49.7 days correctly in Vista or later.
- Some related tweaks.
2011-06-05 12:32:18 +00:00
Birunthan Mohanathas
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +00:00
spx
fe9fd9f476 Code cleanup. 2011-02-15 16:26:54 +00:00
spx
1ba57f2adf Fixed some Lua related issues.
Removed some internal functions from exposed functions for Lua.
Code cleanup and optimizing for VC2010.
2011-02-15 13:22:19 +00:00
spx
251beb9e3a Fixed an issue that GradientAngle doesn't work correctly in some GradientAngle values when AntiAlias=0. 2011-01-30 11:28:20 +00:00
spx
7ea3a762ac - Fixed that r716 (precompiled header) doesn't work on x64.
- Now uses constructor initialization list in each class.
- TintedImage: Code cleanup.
2011-01-29 00:11:01 +00:00
spx
0ad2ef9414 Code cleanup. 2011-01-24 10:15:05 +00:00
spx
235841e01f Added AutoScale=2 and "k" postfix to Meter=STRING.
----
For instance:
A=2800000000, B=0

- AutoScale=0
AutoScale is disabled. Uses Scale value. (Same as before.)
A="2800000000", B="0"

- AutoScale=1
Scales value by 1024. (Same as before.)
A="2.6 G", B="0.0 "

- AutoScale=2
Scales value by 1000.
A="2.8 G", B="0.0 "

- AutoScale=1k
Scales value by 1024, and uses kilo as the lowest unit.
A="2.6 G", B="0.0 k"

- AutoScale=2k
Scales value by 1000, and uses kilo as the lowest unit.
A="2.8 G", B="0.0 k"
----
2011-01-19 15:31:45 +00:00
spx
837488871b Fixed an issue that BevelType doesn't work correctly in Meter. (Issue 178) 2011-01-18 13:01:04 +00:00
spx
2fafb5dcdc - Added !RainmeterUpdate/!RainmeterUpdateMeter(Group)/!RainmeterUpdateMeasure(Group).
- Changed Update= and UpdateDivider= behaviors. If you specify < 0 to them, measures/meters are not updated automatically.
2010-12-28 13:31:17 +00:00
JamesAC
c50f1c27f2 - Replace DebugLog() with LogWithArgs(int nLevel, const WCHAR* format, ... ), so that variable strings can be logged but the log level can be set to those other than LOG_DEBUG
- Note: DebugLog() is still in the code as I was not sure whether it is required to maintain Litestep interoperability
- Replaced instances of LOG_DEBUG where other log levels would be more appropriate
2010-12-19 23:06:13 +00:00
spx
d1a7b604df Core dll:
- Replace swprintf/wsprintf/wcscpy/wcscat to _snwprintf_s/wcsncpy_s/wcsncat_s.
- Changed printf format parameter strictly for supporting both 32bit and 64bit.
- Fixed an issue that !RainmeterWriteKeyValue doesn't accept %APPDATA%\Rainmeter path.
- Code cleanup.
2010-12-16 20:35:44 +00:00
spx
9c24727749 - Reduced memory usage on BackgroundMode=2.
- Code cleanup.
2010-12-08 09:04:36 +00:00
Birunthan Mohanathas
6efbd23314 Adding ImageCrop and MeasureName/ImageName changes by spx. 2010-12-05 15:34:37 +00:00
spx
96c81ac516 - Added BackgroundMode=4 for tiling background image.
- Added tinting functions for Background.
- Added "ImageCrop" option to Meter=IMAGE/BAR/HISTOGRAM/ROTATOR and Background.
- Added "Tile" option to Meter=IMAGE.
- Some code cleanups.
2010-12-04 15:07:28 +00:00
spx
999ab0bd18 Code optimization. 2010-11-25 22:00:34 +00:00
spx
0e1486f0be Code optimization. 2010-11-25 15:34:49 +00:00
spx
45e33ce704 - Code cleanup.
- MeterLine: Small performance improvement on Draw().
2010-11-19 07:33:58 +00:00
Birunthan Mohanathas
0dd7ab194f Fixed that %10, %11, etc. doesn't work. 2010-11-14 18:55:34 +00:00
spx
b9c406aef2 Minor change for r600. 2010-11-13 19:53:28 +00:00
spx
35d0eeea11 Fixed an issue that UpdateDivider is ignored if DynamicVariables=1 is set. 2010-11-13 19:45:50 +00:00