mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Fix additional issues from review
This commit is contained in:
@ -292,12 +292,12 @@ void plMouseDevice::IUpdateCursorSize()
|
||||
}
|
||||
}
|
||||
|
||||
void plMouseDevice::AddNameToCursor(const char* name)
|
||||
void plMouseDevice::AddNameToCursor(const plString& name)
|
||||
{
|
||||
if (fInstance && name)
|
||||
if (fInstance && !name.IsNull())
|
||||
{
|
||||
plDebugText &txt = plDebugText::Instance();
|
||||
txt.DrawString(fInstance->fWXPos + 12 ,fInstance->fWYPos - 7,name);
|
||||
txt.DrawString(fInstance->fWXPos + 12 ,fInstance->fWYPos - 7,name.c_str());
|
||||
}
|
||||
}
|
||||
void plMouseDevice::AddCCRToCursor()
|
||||
|
@ -188,8 +188,7 @@ public:
|
||||
static void SetCursorOpacity( float opacity = 1.f );
|
||||
static bool GetInverted() { return plMouseDevice::bInverted; }
|
||||
static void SetInverted(bool inverted) { plMouseDevice::bInverted = inverted; }
|
||||
static void AddNameToCursor(const char* name);
|
||||
static void AddNameToCursor(const plString& name) { AddNameToCursor(name); }
|
||||
static void AddNameToCursor(const plString& name);
|
||||
static void AddIDNumToCursor(uint32_t idNum);
|
||||
static void AddCCRToCursor();
|
||||
|
||||
|
Reference in New Issue
Block a user