MCPcopy Create free account
hub / github.com/aseprite/laf / MainWindow

Method MainWindow

examples/floating_window.cpp:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110class MainWindow : public CustomWindow {
111public:
112 MainWindow() : m_font(FontMgr::Make()->defaultFont(12))
113 {
114 create("Main", 500, 400);
115 createFloating();
116 }
117
118private:
119 void onRedraw(os::Surface* surface, const gfx::Rect& rc) override

Callers

nothing calls this directly

Calls 1

defaultFontMethod · 0.45

Tested by

no test coverage detected