Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627761
selector.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
460 B
Referenced Files
None
Subscribers
None
selector.h
View Options
#ifndef SELECTOR_H
#define SELECTOR_H
#include
<SFML/Window.hpp>
#include
<SFML/Graphics.hpp>
#include
<SFML/System.hpp>
#include
"data.h"
class
Selector
:
public
sf
::
Drawable
,
public
sf
::
Transformable
{
public
:
explicit
Selector
(
int
squareSize
);
virtual
void
draw
(
sf
::
RenderTarget
&
target
,
sf
::
RenderStates
states
)
const
;
void
changeColor
(
int
colorNumber
);
int
squareSize
;
private
:
sf
::
RectangleShape
rectangle
;
};
#endif
// SELECTOR_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:41 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
111080
Default Alt Text
selector.h (460 B)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline