started to refactor Application

This commit is contained in:
fourtf
2018-07-07 11:41:01 +02:00
parent 6a418e6e59
commit c609a9fd37
32 changed files with 195 additions and 147 deletions
+5 -1
View File
@@ -1,5 +1,7 @@
#pragma once
#include "common/Singleton.hpp"
#include <QFont>
#include <QFontDatabase>
#include <QFontMetrics>
@@ -11,11 +13,13 @@
namespace chatterino {
class Fonts : boost::noncopyable
class Fonts final : public Singleton
{
public:
Fonts();
virtual void initialize(Application &app) override;
// font data gets set in createFontData(...)
enum Type : uint8_t {
Tiny,