Luna/wind/Window.h

20 lines
330 B
C
Raw Normal View History

2023-08-03 15:38:49 +00:00
#pragma once
#include <luna/LinkedList.h>
#include <ui/Canvas.h>
#include <ui/Color.h>
#include <ui/Rect.h>
struct Window : public LinkedListNode<Window>
{
ui::Rect surface;
ui::Color color;
Window(ui::Rect, ui::Color);
void focus();
void draw(ui::Canvas& screen);
};
extern LinkedList<Window> g_windows;