Commit Graph

130 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a577608835 Unignore and fix warnings in Library/ 2013-12-23 19:42:31 +00:00
spx
9885c57b70 Meter: ToolTipIcon option allows to use relative path 2013-11-24 00:29:45 +09:00
Brian Ferguson
e53b984bde Cosmetics 2013-09-01 00:01:50 -06:00
Brian Ferguson
e62a1aa262 Fixed issue where the width/height of a meter would not update when using the Padding option. 2013-08-31 23:58:12 -06: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
Brian Ferguson
e3c8ae2dfa Fixed issues with Padding 2013-07-21 09:49:16 -06:00
Brian Ferguson
369f8c7082 Meter.cpp: Typo in commented section 2013-07-20 10:11:34 -06:00
Brian Ferguson
d67db33ecf Added "Padding" option to meters.
Usage: Padding = left, top, right, bottom
2013-07-20 10:07:51 -06:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06: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
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
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
Birunthan Mohanathas
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
Birunthan Mohanathas
ef1cf223a7 Change to use Gfx rendering 2013-03-25 17:42:18 +02:00
spx
95aacda3cb Code cleanup 2013-02-06 19:12:16 +09:00
spx
9375b5013c Code cleanup 2013-01-16 19:23:42 +09:00
spx
4e27d71d97 Additional changes to c3982da 2013-01-15 04:30:10 +09:00
Brian Ferguson
9800692f19 Added OnUpdateAction to measures, meters and the [Rainmeter] section. 2013-01-10 15:50:38 -07:00
Brian Ferguson
35b2e10f16 Fixed that MouseActionCursor's did not work with new scroll actions/X buttons 2012-11-26 14:46:41 -07:00
Brian Ferguson
956465b96c Fixed issue with StringAlign and Relative Positioning 2012-08-12 23:42:50 -06:00
spx
489f2c5a30 Code cleanup & cosmetics: Moved Measure/Meter shared part to Section.h 2012-08-09 06:50:58 -07:00
spx
4fe98ae296 Fixed issue with 90c81e0 2012-08-04 17:29:25 -07:00
Brian Ferguson
90c81e01d1 Fixed Bar/Histogram meters containing wrong width/height values when used with images 2012-08-04 17:15:56 -06:00
Brian Ferguson
78542ec2be Fixed resizing of certain meters with !SetOption 2012-08-03 17:18:12 -06:00
spx
66c52d6d80 Code tweaks and cosmetics 2012-08-01 14:47:10 -07:00
Brian
06f625c91c Adds new [Meter:] and [Measure:] functionality 2012-08-01 13:52:50 -04:00
Birunthan Mohanathas
ea124f5ccd Changed MeasureName(N) to work dynamically 2012-07-18 17:55:32 +03:00
Birunthan Mohanathas
ffbdcbf65a Tweaks 2012-07-18 13:27:30 +03:00
Birunthan Mohanathas
f2b52b4204 Fixed that meters were initialized before measures 2012-07-18 08:19:01 +03:00
Birunthan Mohanathas
ef375232a8 Additional changes to 2f543e5 2012-07-17 22:15:06 +03:00
Birunthan Mohanathas
1ecf6086bd Additional changes to 4bbc372 2012-07-17 22:07:57 +03:00
Birunthan Mohanathas
2f543e5dcb Changed !SetOption to work with X, Y, and Hidden 2012-07-17 21:19:03 +03:00
Birunthan Mohanathas
ef2942a6c1 Fixed mistake in 3653e16 2012-07-17 17:49:37 +03:00
Birunthan Mohanathas
3653e16f88 Tweaks 2012-07-17 17:47:34 +03:00
Birunthan Mohanathas
40212ddd5e Tweaks 2012-07-17 12:00:28 +03:00
Birunthan Mohanathas
8309eb2bda Tweaks 2012-07-17 10:57:28 +03:00
Birunthan Mohanathas
4bbc372116 Tweaked measure binding 2012-07-17 10:37:53 +03:00
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