MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsValid

Method IsValid

trinity/UI/Tr2MouseCursor.cpp:55–64  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Check if the cursor is valid, i.e. was successfully created. Return Value: true If the cursor has image false Otherwise --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

53// false Otherwise
54// --------------------------------------------------------------------------------------
55bool Tr2MouseCursor::IsValid() const
56{
57#ifdef _WIN32
58 return m_cursor != nullptr;
59#elif __APPLE__
60 return m_cursor != 0;
61#else
62 return false;
63#endif
64}
65
66// --------------------------------------------------------------------------------------
67// Description:

Callers 15

DrawToTextureMethod · 0.45
DrawToHostBitmapMethod · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45
ReleaseResourcesMethod · 0.45
GetTextureMethod · 0.45
DoExecuteAsyncSaveMethod · 0.45
DoPrepareMethod · 0.45
UpdateLodRequestMethod · 0.45
ProcessLodRequestMethod · 0.45
SetTextureFromRTMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected