31 lines
709 B
C++
31 lines
709 B
C++
/// FractalInspector Application.
|
|
/// Developed & maintained by josh@redacted.cc
|
|
/// (c) 2025 redacted.cc
|
|
/// This work is explicitly dedicated to the Public Domain.
|
|
|
|
|
|
|
|
|
|
#include <FractalApp.hpp>
|
|
|
|
int main(int argc, char** argv) {
|
|
ReWindow::Logger::Debug.EnableConsole(false);
|
|
|
|
int default_app_width = 1080;
|
|
int default_app_height = 768;
|
|
|
|
// TODO: Create AppConfig struct and pass to constructor.
|
|
|
|
auto* program = new FractalInspectorApp(default_app_width, default_app_height);
|
|
|
|
program->Open();
|
|
program->SetFullscreen(false);
|
|
program->SetVsyncEnabled(false);
|
|
program->SetResizable(true);
|
|
|
|
while (program->IsAlive())
|
|
program->ManagedRefresh();
|
|
|
|
return 0;
|
|
}
|