117404979b
This means everything is displayed via OpenGL, and there’s a basic menu system usable.
18 lines
396 B
QML
18 lines
396 B
QML
import QtQuick 2.0
|
|
import FlightGear 1.0
|
|
|
|
CanvasItem {
|
|
implicitHeight: text.implicitHeight
|
|
implicitWidth: text.implicitWidth
|
|
|
|
property alias text: text.text
|
|
property alias fontPixelSize: text.font.pixelSize
|
|
property alias fontFamily: text.font.family
|
|
property alias color: text.color
|
|
|
|
Text {
|
|
id: text
|
|
font.pixelSize: 20
|
|
color: "yellow"
|
|
}
|
|
}
|