see ya later allocator
This commit is contained in:
parent
d7bc7e10ab
commit
aa53a4addb
44 changed files with 32 additions and 1693 deletions
|
|
@ -23,23 +23,11 @@ private:
|
|||
};
|
||||
|
||||
int main() {
|
||||
|
||||
tp::ModuleManifest* deps[] = { &tp::gModuleWidgets, nullptr };
|
||||
tp::ModuleManifest binModule("Chat", nullptr, nullptr, deps);
|
||||
|
||||
if (!binModule.initialize()) {
|
||||
return 1;
|
||||
}
|
||||
GlobalGUIConfig mConfig;
|
||||
gGlobalGUIConfig = &mConfig;
|
||||
|
||||
{
|
||||
GlobalGUIConfig mConfig;
|
||||
gGlobalGUIConfig = &mConfig;
|
||||
|
||||
{
|
||||
ExampleGUI gui;
|
||||
gui.run();
|
||||
}
|
||||
ExampleGUI gui;
|
||||
gui.run();
|
||||
}
|
||||
|
||||
binModule.deinitialize();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,4 @@
|
|||
|
||||
namespace tp {
|
||||
GlobalGUIConfig* gGlobalGUIConfig = nullptr;
|
||||
|
||||
ModuleManifest* deps[] = { &gModuleGraphics, &gModuleStrings, nullptr };
|
||||
ModuleManifest gModuleWidgets = ModuleManifest("Widgets", nullptr, nullptr, deps);
|
||||
}
|
||||
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
namespace tp {
|
||||
|
||||
extern ModuleManifest gModuleWidgets;
|
||||
|
||||
struct WidgetConfig {
|
||||
struct Node {
|
||||
enum Type { NONE, VAL, COL, REF };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue