dc7eff73b4
Work on trimming native rainmeter library. Incomplete (won't build!!!)
2014-08-12 16:38:37 +03:00
7cba5cc109
Fixed line endings and applied gitignore
2014-07-26 09:43:40 +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
Brian Ferguson
eeef84dfa0
Added skin/section (if available) to logging.
2013-06-29 10:59:18 -06:00
Birunthan Mohanathas
d079d13da6
Move path related functions into PathUtil
2013-06-12 21:15:16 +03:00
Brian Ferguson
f1cb311723
ImagePath: Fixed that the image was not reloaded when changing with !SetOption
2013-06-07 23:45:28 -06:00
Brian Ferguson
136689bcfb
Added ImagePath to all meters with general image options. This deprecates the Path option for Image meters.
...
Also fixes bug in MeterHistogram that crashes Rainmeter when the PrimaryImage is invalid.
Note: For Histogram the option is called PrimaryImagePath, SecondaryImagePath, and BothImagePath
2013-06-07 13:35:36 -06: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
bd971168cc
Added "UseExifOrientation" to Image meters
2013-05-10 13:33:26 -06: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
6efb485e69
Cosmetics
2012-05-30 21:51:06 +03:00
Birunthan Mohanathas
9453780c26
Tweaks
2012-05-19 18:16:04 +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
3e1dc73e0e
Added workaround for icon.
...
http://rainmeter.net/forum/viewtopic.php?f=14&t=10946
2012-01-09 18:13:22 +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
f28ecf6e83
Minor tweaks.
2011-11-28 14:13:20 +00:00
spx
e56273113d
Fixed handle leak when failed to get the image file size.
2011-11-26 04:41:50 +00:00
spx
02f2d51b41
Minor tweaks.
2011-11-24 00:30:56 +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
spx
8339d22a0f
Code cleanup.
2011-11-02 09:45:41 +00:00
spx
cecd111869
Improved performance on drawing image. (2-10 times faster in some cases)
2011-11-02 09:19:37 +00:00
spx
1aaa03308c
Code cleanup.
2011-11-01 04:56:46 +00:00
Birunthan Mohanathas
f14d751604
- Added #CURRENTFILE# variable
...
- Changes to log strings
2011-09-09 16:31:55 +00:00
Birunthan Mohanathas
a92bdd9b18
Cosmetic changes to code.
2011-03-29 19:21:57 +00:00
spx
ec49c6e588
Fixed a regression (in r776) that ImageCrop cannot treat a transparent part of the outside of the image.
2011-03-09 03:03:02 +00:00
spx
8ddc383ed1
- Added image caching system internally.
...
It would reduce memory usage in case that you use the same image file repeatedly on some meters. (Eg. Crop a part from same image by using ImageCrop.)
- Fixed an issue that Background image isn't drawn correctly when BackgroundMode=0 and tint option is set.
2011-03-08 19:39:04 +00:00
spx
1228e243cc
Reduced resource usage.
2011-02-07 09:38:27 +00:00
spx
b0af82a25d
Cleaned up header dependencies to avoid unnecessary compiling.
2011-02-07 08:02:12 +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
f0e2084c42
- Added skin related variables.
...
#CURRENTCONFIGX#
#CURRENTCONFIGY#
#CURRENTCONFIGWIDTH#
#CURRENTCONFIGHEIGHT#
- Code cleanup.
2011-01-16 15:51:23 +00:00
spx
89ea706055
Improved the drawing performance by using PixelFormat32bppPARGB instead of PixelFormat32bppARGB. (PARGB is faster than ARGB.)
2011-01-06 01:44:09 +00:00
spx
365206e33a
Code cleanup.
2010-12-28 19:43:19 +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
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
a0ae80cd04
Added image manipulation codes to Meter=BITMAP/BUTTON/HISTOGRAM and refactored them.
...
For BITMAP/BUTTON:
- Greyscale
- ImageTint
- ImageAlpha
- ColorMatrixN
- ImageFlip
Note: BITMAP and BUTTON are not able to support ImageRotate.
For HISTOGRAM:
- PrimaryGreyscale
- PrimaryImageTint
- PrimaryImageAlpha
- PrimaryColorMatrixN
- PrimaryImageFlip
- PrimaryImageRotate
- Secondary***
- Both***
2010-11-27 19:53:23 +00:00