mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional changes to e884201
This commit is contained in:
parent
ff7814b11f
commit
92a0048511
@ -52,15 +52,11 @@ void CMouse::ReadOptions(CConfigParser& parser, const WCHAR* section, CMeterWind
|
|||||||
|
|
||||||
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", meterWindow->GetMouse().GetCursorState());
|
m_CursorState = 0!=parser.ReadInt(section, L"MouseActionCursor", meterWindow->GetMouse().GetCursorState());
|
||||||
|
|
||||||
const WCHAR* mouseCursor = parser.ReadString(section, L"MouseActionCursorName", L"").c_str();
|
const WCHAR* mouseCursor = parser.ReadString(section, L"MouseActionCursorName", L"HAND").c_str();
|
||||||
if (_wcsicmp(mouseCursor, L"HAND") == 0)
|
if (_wcsicmp(mouseCursor, L"HAND") == 0)
|
||||||
{
|
{
|
||||||
m_CursorType = MOUSECURSOR_HAND;
|
m_CursorType = MOUSECURSOR_HAND;
|
||||||
}
|
}
|
||||||
else if (_wcsicmp(mouseCursor, L"ARROW") == 0)
|
|
||||||
{
|
|
||||||
m_CursorType = MOUSECURSOR_ARROW;
|
|
||||||
}
|
|
||||||
else if (_wcsicmp(mouseCursor, L"TEXT") == 0)
|
else if (_wcsicmp(mouseCursor, L"TEXT") == 0)
|
||||||
{
|
{
|
||||||
m_CursorType = MOUSECURSOR_TEXT;
|
m_CursorType = MOUSECURSOR_TEXT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user