My Project
Loading...
Searching...
No Matches
banner.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "image.h"
4
5
class
Banner
:
public
Image{
6
private
:
7
enum
State {
8
FADE_IN, STATIC, FADE_OUT
9
};
10
11
State state;
12
13
float
time;
14
15
int
color;
16
float
fadeTime;
17
float
showTime;
18
19
public
:
20
Banner
(Image* sample);
21
Banner
(
const
std::string& tx);
22
void
show
(
int
color,
float
fadeTime,
float
showTime);
23
void
show
(
int
color,
float
fadeTime);
24
virtual
void
update
();
25
};
Banner::show
void show(int color, float fadeTime, float showTime)
Definition
banner.cpp:17
Banner::Banner
Banner(Image *sample)
Definition
banner.cpp:4
Banner::update
virtual void update()
Definition
banner.cpp:33
pd
banner.h
Generated by
1.13.2