Update widgets module. Raster example initial.

This commit is contained in:
IlyaShurupov 2024-04-12 15:27:40 +03:00 committed by Ilya Shurupov
parent aa10424fbb
commit 90244934d9
48 changed files with 1169 additions and 530 deletions

View file

@ -6,9 +6,9 @@
using namespace tp;
using namespace obj;
class ExampleGUI : public Application {
class SimpleGUI : public Application {
public:
ExampleGUI() { gui.cd(objects_api::create<DictObject>(), "root"); }
SimpleGUI() { gui.cd(objects_api::create<DictObject>(), "root"); }
void processFrame(EventHandler* eventHandler) override {}
@ -28,7 +28,7 @@ int main() {
if (module.initialize()) {
{
ExampleGUI gui;
SimpleGUI gui;
gui.run();
}
module.deinitialize();