Horizon
horizon-eda-1.3.0
src
widgets
unit_preview.hpp
1
#pragma once
2
#include <gtkmm.h>
3
#include <set>
4
#include "common/common.hpp"
5
#include "util/uuid.hpp"
6
#include "preview_base.hpp"
7
8
namespace
horizon {
9
class
UnitPreview
:
public
Gtk::Box,
public
PreviewBase
{
10
public
:
11
UnitPreview
(
class
IPool
&pool);
12
13
void
load(
const
class
Unit
*unit);
14
15
private
:
16
class
IPool
&pool;
17
const
class
Unit
*unit =
nullptr
;
18
class
PreviewCanvas
*canvas_symbol =
nullptr
;
19
Gtk::ComboBoxText *combo_symbol =
nullptr
;
20
Gtk::Button *goto_symbol_button =
nullptr
;
21
22
void
handle_symbol_sel();
23
};
24
}
// namespace horizon
horizon::PreviewCanvas
Definition:
preview_canvas.hpp:7
horizon::PreviewBase
Definition:
preview_base.hpp:9
horizon::IPool
Definition:
ipool.hpp:12
horizon::Unit
A Unit is the template for a Gate inside of an Entity.
Definition:
unit.hpp:60
horizon::UnitPreview
Definition:
unit_preview.hpp:9
Generated by
1.8.20