Horizon
src
widgets
preview_canvas.hpp
1
#pragma once
2
#include "canvas/canvas_gl.hpp"
3
4
namespace
horizon
{
5
class
PreviewCanvas
:
public
CanvasGL
{
6
public
:
7
PreviewCanvas
(
class
Pool
&pool);
8
void
load(ObjectType ty,
const
UUID
&uu);
9
10
private
:
11
class
Pool
&pool;
12
};
13
}
// namespace horizon
horizon::PreviewCanvas
Definition:
preview_canvas.hpp:5
horizon::CanvasGL
Definition:
canvas_gl.hpp:10
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition:
uuid.hpp:16
horizon::Pool
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition:
pool.hpp:18
horizon
Definition:
block.cpp:7
Generated by
1.8.13