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.
This commit is contained in:
jsmorley
2009-10-30 18:15:13 +00:00
parent 2f51315869
commit fd9cac7add
4 changed files with 14 additions and 1 deletions

View File

@ -272,7 +272,10 @@ void CMeter::ReadConfig(const WCHAR* section)
m_MouseOverAction = parser.ReadString(section, L"MouseOverAction", L"", false);
m_MouseLeaveAction = parser.ReadString(section, L"MouseLeaveAction", L"", false);
m_MouseActionCursor = 0!= parser.ReadInt(section, L"MouseActionCursor", 1);
if(m_MouseActionCursor == false)
m_MouseActionCursor = 0!= parser.ReadInt(section, L"MouseActionCursor", 0);
else
m_MouseActionCursor = 0!= parser.ReadInt(section, L"MouseActionCursor", 1);
m_HasMouseAction =
( !m_MiddleMouseUpAction.empty() || !m_MiddleMouseDownAction.empty()