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,
bool
layered);
8
void
load(ObjectType ty,
const
UUID
&uu,
const
Placement
&pl =
Placement
(),
bool
fit =
true
);
9
void
load_symbol(
const
UUID
&uu,
const
Placement
&pl =
Placement
(),
bool
fit =
true
,
const
UUID
&uu_part =
UUID
(),
10
const
UUID
&uu_gate =
UUID
());
11
void
load(
Package
&pkg,
bool
fit =
true
);
12
13
private
:
14
class
Pool
&pool;
15
};
16
}
// namespace horizon
horizon::PreviewCanvas
Definition:
preview_canvas.hpp:5
horizon::CanvasGL
Definition:
canvas_gl.hpp:15
horizon::Package
Definition:
package.hpp:28
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:21
horizon::Placement
Definition:
placement.hpp:8
Generated by
1.8.16