Skip to content
Snippets Groups Projects
Commit b6b6e7f0 authored by Susa Márk's avatar Susa Márk
Browse files

Upload New File

parent 467b049c
Branches
No related tags found
No related merge requests found
#include "window.hpp"
#include "graphics.hpp"
#include <iostream>
Window::Window(int width, int height) {
genv::gout.open(width, height);
genv::gout << genv::font("LiberationSans-Regular.ttf", 20);
initializeWidgets();
}
void Window::initializeWidgets() {
widgets = {
// new AmoebaWidget(this, 150, 100, 600, 600) (1.5-os verzioig)
new Amoeba(this, 150, 100, 600, 600)
};
}
std::vector<OSWidget*>& Window::getWidgets() {
return widgets;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment