mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gameui): add skeleton of CGTooltip class
This commit is contained in:
parent
e8130aabe8
commit
b291f47306
6 changed files with 149 additions and 67 deletions
11
src/gameui/CGTooltip.cpp
Normal file
11
src/gameui/CGTooltip.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "gameui/CGTooltip.hpp"
|
||||
|
||||
CGTooltip::CGTooltip(CSimpleFrame* parent) : CSimpleFrame(parent) {
|
||||
}
|
||||
|
||||
CSimpleFrame* CGTooltip::Create(CSimpleFrame* parent) {
|
||||
// TODO: Data = CDataAllocator__GetData(0, ".?AVCGTooltip@@", -2);
|
||||
|
||||
auto m = SMemAlloc(sizeof(CGTooltip), __FILE__, __LINE__, 0);
|
||||
return m ? (new (m) CGTooltip(parent)) : nullptr;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue