Luna/wind/Window.h
apio f3dbea044f
All checks were successful
continuous-integration/drone/pr Build is passing
libui+wind: (Draggable) windows
2023-08-03 17:38:49 +02:00

20 lines
330 B
C

#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;