Mercurial > minori
view src/main.cc @ 102:b315f3759c56
*: big patch
1. use a wrapper for mINI that enables case sensitivity
(personal preference)
2. rename dark_theme.cc to theme.cc and change it to be
a class
3. include the "dep" folder so we don't have stupidity in
json.h or ini.h
4. I think the graph was also tweaked a lot in this, nothing
is constexpr and size is found at runtime...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 21:32:52 -0400 |
parents | 582b2fca1561 |
children | 2004b41d4a59 |
line wrap: on
line source
#include "core/session.h" #include "gui/window.h" #include <QApplication> #include <QStyleFactory> #include <QLocale> Session session; int main(int argc, char** argv) { QApplication app(argc, argv); /* this is a reasonable default, I presume */ QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); session.config.Load(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }