Commit Graph

25 Commits

Author SHA1 Message Date
Birunthan Mohanathas
da92def9fc Define WIN32_LEAN_AND_MEAN globally 2013-12-24 11:20:19 +00: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
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
6a520542bc Removed useless comments 2012-05-20 20:58:37 +03: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
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
spx
b207eb1140 Code cleanup. 2011-11-12 16:20:41 +00:00
spx
8339d22a0f Code cleanup. 2011-11-02 09:45:41 +00:00
spx
1aaa03308c Code cleanup. 2011-11-01 04:56:46 +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
f0eb6d5da0 - Improved error handling for creating TrayMeasure.
- Code cleanup.
2010-12-06 08:59:55 +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