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
72bf8dc317
String: Fix issue with Angle= since 59b3dea
2013-06-09 19:05:46 +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
Brian Ferguson
8b477d1a9b
String Meter: Fixed capitalization problem when letter followed whitespace that was not a space.
2013-04-18 11:19:21 -06:00
Birunthan Mohanathas
aa3c7eb8ce
Tweaks to reduce OnChangeAction overhead
2013-04-10 19:00:22 +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
Brian Ferguson
59b3dea21c
Gfx: Added support for TransformationMatrix and Angle (for String meters)
2013-04-05 02:35:20 -06: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
c6374f7c12
Minor tweaks and fixes
2013-03-28 14:26:55 +02: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
Brian Ferguson
c0d969f4b6
String meter: Fixed issues with ClipString=2
2013-01-28 00:38:26 -07:00
Brian Ferguson
178ccb0af4
ClipString options changed back to 0/1, and Auto changed to 2 to be more consistent with other options and to allow formulas.
2013-01-25 21:05:47 -07:00
spx
39459ad64b
Code cleanup
2013-01-24 05:24:25 +09:00
Brian Ferguson
84b1e3a7cd
Deprecated ClipString values 0/1 in favor of OFF/ON and added new value AUTO.
...
Added ClipStringW/ClipStringH options that work with ClipString=AUTO.
2013-01-23 11:57:01 -07:00
spx
f929109f01
Code cleanup
2012-11-12 11:10:40 +09:00
spx
1613fd76e2
Cleanup
2012-09-26 18:47:25 -07:00
Brian Ferguson
a4e158b796
Fixed memory leak in 6bd978a
2012-09-26 10:49:48 -06:00
Brian Ferguson
6bd978ad21
Arial font is now the default font when errors occur. Invalid string styles are now logged.
2012-09-26 00:45:53 -06:00
Brian Ferguson
71025aaf51
Use Arial font (if installed) when FontFace is invalid.
2012-09-25 17:37:28 -06:00
Birunthan Mohanathas
4dbf7932ab
Additional changes to f2b52b4
2012-07-18 09:22:47 +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
e2bb2b9ce2
Reverted 8a43e40
due to incorrect handling of newline (#CRLF#)
2012-07-03 20:31:34 +03:00
Birunthan Mohanathas
2cf883598c
Reverted 0706bf3
2012-07-03 16:57:46 +03:00
Birunthan Mohanathas
0706bf3a6e
Tweaks
2012-07-03 16:29:25 +03:00
Birunthan Mohanathas
63a5f4be38
Removed test code.
...
Ugh.
2012-07-03 16:21:55 +03:00
Birunthan Mohanathas
8a43e40583
String: Fixed that trailing spaces were ignored
2012-07-03 15:51:53 +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
6a520542bc
Removed useless comments
2012-05-20 20:58:37 +03:00
Birunthan Mohanathas
9453780c26
Tweaks
2012-05-19 18:16:04 +03:00
Brian
1ec7f71ce7
Changed StringAlign on Meter=String to support both horizontal and vertical positioning
2012-05-16 14:02:31 -04:00
Birunthan Mohanathas
b80fe5dbd1
Tweaks
2012-05-13 12:30:20 +03:00
Birunthan Mohanathas
69ec0aecc1
String: Fixed StringCase=UPPER/LOWER/PROPER with non-Latin chars
2012-05-13 12:17:00 +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
Birunthan Mohanathas
bb44c29f6c
Cosmetic changes to function comment blocks.
2012-02-20 19:10:40 +00:00
jsmorley
3c98527338
Add: Formulas now allowed in the following settings:
...
LineWidth
LineLength
StartAngle
RotationAngle
Angle
ImageRotate
MinValue
MaxValue
IfAboveValue
IfEqualValue
IfBelowValue
2012-02-19 15:45:43 +00:00
Birunthan Mohanathas
35be827071
- Changed std::transform(..., ::towlower/::towupper) to _wcsupr/_wcslwr
...
- MathParser: Fixed stack overflow (and possible crash) when the nested conditional limit is exceeded
2012-01-25 16:00:49 +00:00
spx
ebec08914a
Adjusted copyright notice.
...
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
3bebd7002a
Minor tweaks.
2011-12-09 19:49:06 +00:00
spx
8e8b7d1268
Code tweaks and cleanup.
2011-12-04 22:18:40 +00:00
spx
34005f14a4
Switched from std::wstring.compare() to wcscmp().
2011-11-27 08:30:39 +00:00
Birunthan Mohanathas
b02371276f
Minor tweaks.
2011-11-16 16:47:20 +00:00
spx
bbe733b437
Code tweaks and cleanups.
2011-11-10 13:44:19 +00:00