Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627672
banner.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
462 B
Referenced Files
None
Subscribers
None
banner.h
View Options
#ifndef BANNER_H
#define BANNER_H
#include
<string>
#include
<SFML/Graphics.hpp>
class
Banner
:
public
sf
::
Drawable
,
public
sf
::
Transformable
{
public
:
explicit
Banner
(
sf
::
Font
*
gameFont
);
void
setText
(
std
::
string
newText
);
bool
active
;
std
::
string
textStr
;
sf
::
Text
text
;
float
timeDownCounter
;
void
update
(
sf
::
Time
frameTime
);
virtual
void
draw
(
sf
::
RenderTarget
&
target
,
sf
::
RenderStates
states
)
const
;
};
#endif
// BANNER_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:30 AM (3 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132045
Default Alt Text
banner.h (462 B)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline