Commit Graph

367 Commits

Author SHA1 Message Date
spx
cc3ad487a7 * Changed the way to get the information of the multiple display monitors.
This change brings the order of monitors close to the order of "Display Properties" due to using EnumDisplayDevices and EnumDisplaySettings instead of EnumDisplayMonitors. (If EnumDisplayDevices failed, EnumDisplayMonitors is used as before.)

-----

* Added the "Display Monitor" submenu in [Skins Menu]-[Position].

These menus convert the present position to the relative position from the specified monitor.
(But the meter window doesn't move to the specified monitor area immediately. Only converts.)

- "Use default: Primary monitor" removes the @-directive from WindowX/Y.
- @0(@1, @2, ...) adds the specified monitor number to WindowX/Y. @0 means "The Virtual Screen". (http://msdn.microsoft.com/en-us/library/dd145136%28VS.85%29.aspx)
- If "Auto-select based on window position" is checked, the WindowX and WindowY "@n" settings are made automatically based on the position of the meter's window. If a monitor is selected directly using "Display Monitor" in the Rainmeter / skin context menu, this menu is unchecked. This setting can be manually made in either the [Rainmeter] (all configs) or individual config sections of Rainmeter.ini.

AutoSelectScreen
If set to 1, the WindowX and WindowY "@n" settings are made automatically based on the position of the meter's window. If a monitor is selected directly using "Display Monitor" in the Rainmeter / skin context menu, this setting is reset to 0.

-----

* Added the variables for multiple display monitors and the virtual screen.
All X/Y positions are represented in the virtual screen coordinates.

The following variables are for the virtual screen.

 #VSCREENAREAX# is the X-position of the left-side of the virtual screen.
 #VSCREENAREAY# is the Y-position of the top-side of the virtual screen.
 #VSCREENAREAWIDTH# is the width of the virtual screen.
 #VSCREENAREAHEIGHT# is the height of the virtual screen.

The following variables are for the PRESENT monitor.
Note that these variables automatically change by the WindowX and WindowY "@n" settings. If "@n" is not set, these variables return the value of the primary monitor.

 #WORKAREAX# is the X-position of the left-side of the work area.
 #WORKAREAY# is the Y-position of the top-side of the work area.
 #WORKAREAWIDTH# is the width of the work area.
 #WORKAREAHEIGHT# is the height of the work area.
 #SCREENAREAX# is the X-position of the left-side of the monitor screen.
 #SCREENAREAY# is the Y-position of the top-side of the monitor screen.
 #SCREENAREAWIDTH# is the width of the display resolution.
 #SCREENAREAHEIGHT# is the height of the display resolution.

The following variables are for the PRIMARY monitor.

 #PWORKAREAX# is the X-position of the left-side of the work area.
 #PWORKAREAY# is the Y-position of the top-side of the work area.
 #PWORKAREAWIDTH# is the width of the work area.
 #PWORKAREAHEIGHT# is the height of the work area.
 #PSCREENAREAX# is the X-position of the left-side of the monitor screen. (maybe, always 0)
 #PSCREENAREAY# is the Y-position of the top-side of the monitor screen. (maybe, always 0)
 #PSCREENAREAWIDTH# is the width of the display resolution.
 #PSCREENAREAHEIGHT# is the height of the display resolution.

The following variables are for the SPECIFIED monitor. (@n = @1, @2, ...)

 #WORKAREAX@n# is the X-position of the left-side of the work area.
 #WORKAREAY@n# is the Y-position of the top-side of the work area.
 #WORKAREAWIDTH@n# is the width of the work area.
 #WORKAREAHEIGHT@n# is the height of the work area.
 #SCREENAREAX@n# is the X-position of the left-side of the monitor screen.
 #SCREENAREAY@n# is the Y-position of the top-side of the monitor screen.
 #SCREENAREAWIDTH@n# is the width of the display resolution.
 #SCREENAREAHEIGHT@n# is the height of the display resolution.

-----

* Other related changes:

- Fixed the problem that the primary monitor isn't recognized correctly.

- Fixed the problem that the information of the multiple display monitors is refreshed excessively.

- For DynamicVariables, when display setting or workarea size has been changed, all variables are now updated to apply changed WORKAREA/SCREENAREA variables.

- Fixed the problem that the "On Desktop" window isn't dragged correctly when the top-left corner of the virtual screen has negative coordinates.

- Changed the way to stick the "On Desktop" window. ("SysListView32/FolderView" is used instead of "Progman/Program Manager".)

-----

* Other changes:

- When the meter window is draggable and isn't dragged, LeftMouseUpAction is now executed.

- Added MouseDoubleClickAction (LeftMouseDoubleClickAction, RightMouseDoubleClickAction, MiddleMouseDoubleClickAction). If MouseDoubleClickAction is empty when mouse button is double-clicked, MouseDownAction is executed instead.

- Fixed the problem that the Meter's hit-test code checks outside the area.

- Changed the way to set the #CURRENTCONFIG#. (CMeterWindow::GetSkinName() is now used instead of parsing the path.)
2009-12-18 05:58:37 +00:00
jsmorley
15353ea701 New !bang
!RainmeterRefreshApp

Does a full refresh of all skins and reloads the list of configs and Rainmeter.ini settings.  This is the same as "Refresh All" from the system tray context menu.  Is not the same as !RainmeterRefresh [config | *] as it can be used to make Rainmeter "see" a new folder added to \Skins by the user or a process.  Note: This was added mostly to better support RainBrowser when a user adds a downloaded config while using RainBrowser.
2009-12-01 01:35:43 +00:00
spx
794d3c8c77 Fixed the abnormal termination on startup caused by r313. 2009-11-20 10:39:41 +00:00
jsmorley
4f71fe8791 Help: Minor fix to Meter-Image.htm 2009-11-14 16:27:46 +00:00
spx
c5acb8c954 Fixed the problem that the skin window is unable to be located in negative coordinates. 2009-11-12 20:03:17 +00:00
jsmorley
23988b5471 RainBrowser: Changed the compile to not use UPX compression to reduce false positives from a couple of crappy antivirus packages. 2009-11-07 12:53:52 +00:00
jsmorley
02da501fd5 Help: Improvements to the "Installation" section
RainBrowser: Fix for a left-behind preview image
RainThemes: Change to the way the app "stop" Rainmeter to support PortableApps.com
2009-11-06 13:06:41 +00:00
jsmorley
28d5eb1bb1 Help: Wrong content was added by me for Meter-Image in the last commit. 2009-11-03 14:22:48 +00:00
jsmorley
53a39ff722 Help: Adding the versions extracted from the CMS of the changes kenz0 made to Meter-xx pages. 2009-11-03 12:57:44 +00:00
kenz0
148ca59c0e Help: Add config example for each meters. 2009-11-03 12:31:01 +00:00
jsmorley
177bae4c34 Help: Broke the individual meter types out into their own pages so we can expand them and add examples. New .hhp and .hhc files for compiling the .chm for builds. 2009-11-02 23:28:43 +00:00
jsmorley
7d68992eec Help: Updates by Alex2539 to several .htm files. 2009-11-01 10:35:35 +00:00
Kimmo Pekkola
5d3d148b46 PowerPlugin could unload the powrprof.dll even if some other skin was still using it. Fixed. 2009-11-01 10:00:12 +00:00
Kimmo Pekkola
dcebc3bebd Updated the version history for the upcoming release. 2009-11-01 08:41:24 +00:00
jsmorley
4d70dd11fe 1) Change to each .htm help file to facilitate sharing the same files with Rainmeter.net, the .chm and the plain online version.
2) Some improvements to the CALC documentation by Alex2539
2009-11-01 03:24:02 +00:00
Kimmo Pekkola
46570b6025 Updating a skin should work now even if the current version is missing. This should solve the issue 121.
The default tray icon is shown if custom tray measure cannot be created.
2009-10-30 19:10:55 +00:00
jsmorley
fd9cac7add Change by MattKing to the MouseActionCursor feature. The user can now set MouseActionCursor=0 in the [Rainmeter] section of the skin, and the change of the cursor to the hand when over mouse action meters will be disabled for the entire skin. This can be overridden on a meter-by-meter basis with MouseActionCursor=1.
Added this change to the Meters.htm help file.
2009-10-30 18:15:13 +00:00
jsmorley
2f51315869 New versions of "Help" files. Now done with CSS to be easier to maintain and to be consistent in appearance with the new Rainmeter.net home page.
Should work exactly as before.  The Microsoft Help Workshop .hhp and hcc files will still work as they are.  Rainy, please test by creating the .chm before you do the build.
2009-10-29 20:07:52 +00:00
jsmorley
74720208a4 RainBrowser: Minor fix for WindowX and WindowY when the user drags a skin while editing these values in the tool. 2009-10-25 01:59:39 +00:00
jsmorley
1a0cb103f7 RainBrowser: Added "Browse" feature to skin previews. 2009-10-20 19:27:58 +00:00
jsmorley
dca3319033 Small change to the GDI+ routines for .png. Just a little one to keep the entire GUI from chewing off it's own arm trying to escape. 2009-10-20 00:19:57 +00:00
jsmorley
3197541ab3 RainBrowser: Reworked the GDI+ routines for displaying .png images with a proper alpha channel. Got it all working properly, but I now officially hate GDI+. You should NOT have to use a structure of pointers to resize an image... ;-) 2009-10-19 22:54:56 +00:00
jsmorley
f9028a72a9 Added some changes/fixes for WiFiStatus to the History.htm file. 2009-10-19 17:56:36 +00:00
jsmorley
f84489443e RainThemes: One more fix for pathing to help when called externally in Win7. 2009-10-19 00:06:52 +00:00
jsmorley
8f8a86193f RainThemes: Fix for a path problem to "Help" when RainThemes is called from RainBrowser. 2009-10-18 20:14:23 +00:00
Kimmo Pekkola
bca90dbf9f The install script now deletes the old skins before upgrading them. With portable installation the user can choose not to upgrade the skins and themes. 2009-10-18 19:11:27 +00:00
jsmorley
a6fab0af7b 2009-10-18 17:33:11 +00:00
jsmorley
12b12199a9 Removing Enigma Folder to ensure no left behind old files 2009-10-18 17:27:05 +00:00
jsmorley
e2aae665f7 Enigma: Posting missing new files. 2009-10-18 16:28:47 +00:00
jsmorley
3542b8ee26 RainBrowser: Fix for "Working Dir" when opening RainThemes. 2009-10-18 16:24:25 +00:00
jsmorley
08b9a5261d Enigma: Fixes for a couple of RSS issues and minor tweaks. 2009-10-18 16:01:44 +00:00
jsmorley
d63abd3f1d RainBrowser: Minor fix to not change the scale of preview images if they are smaller than the allocated space. Don't "grow" them if not needed. 2009-10-18 15:34:25 +00:00
Kimmo Pekkola
9f156bcf9f Added the preview image to Tranquil. 2009-10-18 15:18:41 +00:00
jsmorley
ef3182f91f EnigmaConfigure: Fixed an issue with case sensitivity
In a couple of string comparisons I was using IF string1 = string2, which is case insensitive, so you couldn't change just the case of a value.  Changed to IF string1 == string2 to make the comparison case sensitive.
2009-10-18 15:08:07 +00:00
Kimmo Pekkola
b5042589cb The deactivated window wasn't deleted properly (issue 117).
Deactivating a config kept it still activate in the rainmeter.ini file (issue 118).
2009-10-18 13:31:55 +00:00
jsmorley
0ccc1e8388 EnigmaConfigure: Minor tweak. 2009-10-18 02:18:22 +00:00
jsmorley
b5a4730fcd Deleting old ConfigureEnigma folder from \Addons 2009-10-18 01:23:41 +00:00
jsmorley
b200ac503b Enigma: Change to the configuration tool. Now called EnigmaConfigure.exe. All skins changed to support new configuration strategy for preventing overwrite of user's variables on an upgrade.
DefaultVariables.inc and EnigmaConfigure.cfg in \Skins\Enigma\Resources\Variables
Source files: EnigmaConfigure.au3, FileListToArrayXT.au3 and EnigmaConfigure.ico now in \Skins\Enigma\Resources\Variables\Source.

Rainy, please let me know if this works ok for compiling EnigmaConfigure.exe.  It should end up in \Skins\Enigma\Resources\Variables when compiled.

RainBrowser: Minor fix and a replacement for one image file.
2009-10-18 01:18:01 +00:00
jsmorley
abeef03b45 Removing old Enigma configuration tool 2009-10-18 00:48:15 +00:00
Kimmo Pekkola
d5297bb0e7 The themes are updated now with Enigma. 2009-10-17 07:37:09 +00:00
Kimmo Pekkola
2c6c43c652 The window deletion is now delayed when !RainmeterDeactivateConfig is used. This fixes the problem: Issue 116: Crash when skin tries to deactivate self by measure action. 2009-10-17 06:43:18 +00:00
jsmorley
a5b6d3a46e Enigma: Fix to AppVersion on all skins.. ;-) 2009-10-17 01:02:26 +00:00
jsmorley
909f3eb371 Enigma: Update for RC1 version 2009-10-16 16:45:22 +00:00
jsmorley
0ab1b8b56b RainBrowser: Added the ability to have skin "Preview" images specified in the [Metadata] 2009-10-16 07:18:02 +00:00
jsmorley
a8f2577018 RainBrowser: Minor tweaks
RainThemes: Minor tweaks
2009-10-15 01:00:00 +00:00
jsmorley
60904eb575 RainThemes: Redesign of the GUI to be consistent with RainBrowser and the Enigma Configuration tool. Executable, icon, and help file images. 2009-10-14 22:35:23 +00:00
jsmorley
e43fa9cd6b Updating Default.ini for new Enigma version. 2009-10-14 19:14:42 +00:00
jsmorley
2803d2f6a6 Adding Install\Themes folders for new Enigma version. 2009-10-14 19:12:34 +00:00
jsmorley
87f4226814 Deleting Enigma themes to upload new version with a different folder structure. 2009-10-14 19:11:18 +00:00
jsmorley
02a8b81171 Adding new 2.6 version of Arcs/Enigma from Kaelri. This should be the versions to use in RC1 of 1.1 2009-10-14 19:05:49 +00:00