Commit Graph

251 Commits

Author SHA1 Message Date
kenz0
5a4304f020 aspect ratio of the image is preserved when the image is scaled.
(Thanks to px268 for the code)
2009-08-28 07:42:28 +00:00
Kimmo Pekkola
c6fdbf7b60 Dynamic variables can be used to change the font in the string Meter.cpp.
Removed the error message if the meter's dimensions are 0.
2009-08-27 17:05:10 +00:00
Kimmo Pekkola
c09ff5cf61 Using variables in other variables should work again.
Increased the number of decimals used in dynamic measures from 1 to 5.
2009-08-27 16:04:06 +00:00
Kimmo Pekkola
f5f257a595 Previous beta changed everything to be case sensitive. Fixed. 2009-08-27 15:42:24 +00:00
Kimmo Pekkola
ffdec7be65 Some of the plugins don't work with the dynamic variables so the feature is now disabled for them. 2009-08-26 19:29:49 +00:00
Kimmo Pekkola
9246161739 Skin information and instructions can be added to [Metadata] section. 2009-08-26 17:48:12 +00:00
Kimmo Pekkola
dc3c767efa It's now possible to use the measures as if they were variables (use [MeasureName] instead #VariableName#). Set DynamicVariables=1 for all meters and measures which refer to other measures.
New bang !RainmeterSetVariable can be used to change the value of a variable (DynamicVariables must be 1 in places where the variable is used).
2009-08-26 17:37:15 +00:00
Kimmo Pekkola
7b22d717a3 The windows stay visible with Aero Peek on Windows 7. 2009-08-23 12:09:17 +00:00
Kimmo Pekkola
40f11d3934 !RainmeterRefresh and !RainmeterQuit are now handled only during the event loop since they can crash the application if executed during Update(). 2009-08-19 17:57:09 +00:00
Kimmo Pekkola
d6444b7dff RainThemes wasn't started correctly if the path had spaces. Fixed. 2009-08-12 19:02:51 +00:00
Kimmo Pekkola
29e1dfba5b Removed duplicated code. 2009-08-12 18:02:24 +00:00
Kimmo Pekkola
122fb8f90f Variables can be used under the [Variables] section (as long as they have been defined before the current variable is read). 2009-08-12 17:26:34 +00:00
Kimmo Pekkola
1d1290e3fa Added Themes submenu to the Rainmeter's context and tray menus. 2009-08-12 17:11:52 +00:00
Kimmo Pekkola
c895803238 The IgnoreRemovable now defaults to true (1) which should help with the missing disk errors. 2009-08-12 16:15:54 +00:00
Kimmo Pekkola
3a5b634b1b !RainmeterQuit bang doesn't show error message even if Rainmeter is not running. 2009-08-05 08:36:38 +00:00
Kimmo Pekkola
e73d35e220 New !bang: !RainmeterQuit 2009-08-04 09:48:03 +00:00
Kimmo Pekkola
848cd361e3 Removed unnecessary UAC prompt when editing skins in My Documents. 2009-08-04 09:35:56 +00:00
Kimmo Pekkola
9654dc21ae #PROGRAMPATH# and #ADDONSPATH# returned incorrect value if the ini file was given as a command line argument. Fixed. 2009-08-03 22:21:56 +00:00
Kimmo Pekkola
7fbb09d4ca Updated the version number for the upcoming release candidate. 2009-08-02 11:32:12 +00:00
Kimmo Pekkola
3c0923f862 The themes are now copied to the %APPDATA% on first run.
Few changes to the Enigma skin to make it work better in different resolutions.
2009-08-01 16:40:04 +00:00
Kimmo Pekkola
b6954bcdd0 Added #WORKAREAX# and #WORKAREAY# build-in variables. 2009-08-01 15:38:03 +00:00
Kimmo Pekkola
14648a2974 The WORKAREAHEIGHT wasn't calculated correctly. Fixed. 2009-08-01 11:46:15 +00:00
Kimmo Pekkola
7440667743 New build-in variables: #WORKAREAWIDTH#, #WORKAREAHEIGHT#, #SCREENAREAWIDTH#, #SCREENAREAHEIGHT#
Added support for math formulas for the X, Y, W, H, WindowX and WindowY (e.g. "WindowX=(#WORKAREAWIDTH# / 2)"). The formula must be surrounded by parenthesis.
2009-07-30 15:19:47 +00:00
Kimmo Pekkola
8563915b4b String meter supports now shadow and border effects. 2009-07-29 12:54:05 +00:00
Kimmo Pekkola
1ec9e90265 Removed some commented test code. 2009-07-29 12:37:58 +00:00
Kimmo Pekkola
5d9ed7ca80 Button state is reset correctly if the left mouse button is released outside the window. 2009-07-29 12:33:02 +00:00
Kimmo Pekkola
fce069e2c7 The antialias setting can be set for all meters. 2009-07-29 11:52:01 +00:00
Kimmo Pekkola
df9817a83c HorizontalLineColor didn't work as documented. Fixed. 2009-07-29 10:38:09 +00:00
Kimmo Pekkola
978988d41b The DefWindowProc is not called anymore on WM_SETTINGCHANGE since it can cause crashes. 2009-07-28 09:16:07 +00:00
Kimmo Pekkola
d1d3f1303b The version check is now done from the svn. 2009-07-27 20:32:33 +00:00
Kimmo Pekkola
1dbfc85b01 The stats are now written once per minute to the settings file. 2009-07-27 12:30:28 +00:00
Kimmo Pekkola
dd9ab1dc04 Added support for transformation matrix in meters. 2009-07-27 11:48:57 +00:00
Kimmo Pekkola
bded6e6fc7 New build in variables: #PROGRAMPATH#, #SETTINGSPATH#, #SKINSPATH#, #PLUGINSPATH#, #ADDONSPATH# and #CURRENTPATH# (this is the path where the ini file that is currently read is located).
If there is a file called Default.ini in the program folder it will be used as the default settings file for new users.
The location of the settings file (rainmeter.ini) can be defined as a command line argument.
2009-07-26 21:08:46 +00:00
Kimmo Pekkola
ace2a67049 Image and button meters don't ignore errors anymore if they are bound to a non-existing measure. 2009-07-24 08:19:01 +00:00
Kimmo Pekkola
a588a86b3b Applied the Rorix's image meter patch which makes it possible to define the path to the image location. 2009-07-24 08:08:52 +00:00
Kimmo Pekkola
a7c6c939ac Skins are now read from the My Documents by default.
Added the revision number to the about dialog (use UpdateRevision.py to update it).
Added a check to the startup which verifies that the rainmeter.ini is writable.
The skin folder can be opened from the context menu.
2009-07-24 07:56:37 +00:00
Kimmo Pekkola
e2448f42b1 Added 64-bit compilation configuration.
The bitmap meter supports transition frames now.
Few Vista/Win7 fixes (the rainmeter.ini is now in %APPDATA%).
2009-07-21 12:26:50 +00:00
Brian Todoroff
3e9be18739 -Added options to RoundLine to use meter to control any combination of RotationAngle, LineStart, and LineLength. Defaults to meter controlling RotationAngle only to match traditional behavior. 2009-04-25 06:11:43 +00:00
Kimmo Pekkola
e7d1b6c064 The help couldn't be opened if Rainmeter was installed to a folder with spaces. Fixed. 2009-04-21 16:07:13 +00:00
Brian Todoroff
62c9249076 -Fixed bug reported in Issue 29 '"Y as a percentage" in menu operation is not reflected in a Rainmeter.ini'. Copy and paste error was linking both X and Y menus to X as a percentage. 2009-04-06 05:50:37 +00:00
Brian Todoroff
1bd2045f13 -Removed the AllowNegativeCordinates option. 2009-03-27 01:55:12 +00:00
Brian Todoroff
537f02146f -Fixed several bugs in real time resolution changes
-Added AnchorX and AnchorY to the config and help
-Added some of the build directories to the ignore list for svn
2009-03-26 04:16:57 +00:00
Brian Todoroff
78bc4ba9dc Detect and handle resolution changes while running 2009-03-25 02:56:56 +00:00
Brian Todoroff
8a66cc73c0 Positioning from right/bottom, as a percentage of screen, and multi-monitor selection implemented. Updated context menu Position sub-menu and help files. Dragging should work for all options.
Removed dependencies from Library on plug-in .DLL's.
2009-03-24 04:29:48 +00:00
Brian Todoroff
5a793b3644 Switch "afxres.h" to "windows.h" for compatibility with VS2008 Express Edition 2009-03-22 01:03:46 +00:00
Kimmo Pekkola
2d2247d3d8 Upgraded the project to VC 2008. 2009-03-21 09:35:03 +00:00
Brian Todoroff
a60756d308 Even better way to draw solid arcs. Fixes overlap issues at abutting arcs. 2009-03-13 00:30:19 +00:00
Brian Todoroff
a035c76101 Fixed RoundLine implementation for Solid=1, AntiAlias=1, and LineStart > 0. AntiAliasing now works correctly on both edges of the arc. 2009-03-12 19:32:43 +00:00
Kimmo Pekkola
b4b2d3b9b0 Free disk space can be read from the removable drives too.
Size and count were reversed in the recycle manager. Fixed.
2009-03-10 17:32:35 +00:00
Kimmo Pekkola
5d2f960552 Code cleanup. 2009-02-14 10:11:28 +00:00
Kimmo Pekkola
30edc895f2 2009-02-10 18:37:48 +00:00