Pioneer
src
VideoLink.h
Go to the documentation of this file.
1
// Copyright © 2008-2021 Pioneer Developers. See AUTHORS.txt for details
2
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4
#ifndef _VIDEOLINK_H
5
#define _VIDEOLINK_H
6
7
#include "
gui/Gui.h
"
8
9
class
VideoLink
:
public
Gui::Widget
{
10
public
:
11
VideoLink
(
float
w
,
float
h
) :
12
m_width(
w
),
13
m_height(
h
) {}
14
15
virtual
void
GetSizeRequested
(
float
size[2])
16
{
17
size[0] = m_width;
18
size[1] = m_height;
19
}
20
21
private
:
22
float
m_width, m_height;
23
};
24
25
#endif
Gui.h
Gui::Widget
Definition:
GuiWidget.h:14
Gui::Widget::w
float w
Definition:
GuiWidget.h:93
Gui::Widget::h
float h
Definition:
GuiWidget.h:93
VideoLink
Definition:
VideoLink.h:9
VideoLink::VideoLink
VideoLink(float w, float h)
Definition:
VideoLink.h:11
VideoLink::GetSizeRequested
virtual void GetSizeRequested(float size[2])
Definition:
VideoLink.h:15
Generated by
1.9.1