Home
Forum
Documentation
C++
|
Lua
Issue Tracker
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ScrlInfo.hpp
1
/*
2
Cafu Engine, http://www.cafu.de/
3
Copyright (c) Carsten Fuchs and other contributors.
4
This project is licensed under the terms of the MIT license.
5
*/
6
7
#ifndef CAFU_CLIENT_SCROLLINFO_HPP_INCLUDED
8
#define CAFU_CLIENT_SCROLLINFO_HPP_INCLUDED
9
10
#include "Templates/Array.hpp"
11
#include <string>
12
13
14
class
FontT
;
15
16
17
class
ScrollInfoT
18
{
19
public
:
20
21
ScrollInfoT
();
22
23
void
Print(
const
std::string& Line);
24
void
Draw(
FontT
& Font,
unsigned
long
PosX,
unsigned
long
PosY,
float
FrameWidth,
float
FrameHeight)
const
;
25
void
AdvanceTime(
float
FrameTime);
26
27
28
private
:
29
30
const
unsigned
int
m_MAX_LINES;
31
float
m_TimeLeft;
32
ArrayT<std::string>
m_InfoLines;
33
};
34
35
#endif
FontT
A class for MatSys-based font rendering.
Definition:
Font.hpp:19
ScrollInfoT
Definition:
ScrlInfo.hpp:17
ArrayT< std::string >
Ca3DE
Client
ScrlInfo.hpp
Generated on Wed Jun 22 2016 11:29:35 for Cafu Engine by
1.8.6
Copyright © 2002-2016 Carsten Fuchs Software.