Overte C++ Documentation
TextOverlay.h
1
//
2
// TextOverlay.h
3
// interface/src/ui/overlays
4
//
5
// Copyright 2014 High Fidelity, Inc.
6
//
7
// Distributed under the Apache License, Version 2.0.
8
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9
//
10
11
#ifndef hifi_TextOverlay_h
12
#define hifi_TextOverlay_h
13
14
#include "QmlOverlay.h"
15
16
class
TextOverlay :
public
QmlOverlay {
17
public
:
18
static
QString
const
TYPE;
19
QString getType()
const override
{
return
TYPE; }
20
static
QUrl
const
URL;
21
22
TextOverlay();
23
TextOverlay(
const
TextOverlay* textOverlay);
24
25
TextOverlay* createClone()
const override
;
26
QSizeF textSize(
const
QString& text)
const
;
// Pixels
27
};
28
29
30
#endif
// hifi_TextOverlay_h
interface
src
ui
overlays
TextOverlay.h
Generated by
1.9.1