20 #include "../Engine/Surface.h" 36 Frame(
int width,
int height,
int x = 0,
int y = 0);
Uint8 getColor() const
Gets the border color.
Definition: Frame.cpp:69
Frame(int width, int height, int x=0, int y=0)
Creates a new frame with the specified size and position.
Definition: Frame.cpp:32
void setBorderColor(Uint8 color)
Changes the color used to draw the shaded border.
Definition: Frame.cpp:60
void draw()
Draws the frame.
Definition: Frame.cpp:120
void setColor(Uint8 color)
Sets the border color.
Definition: Frame.cpp:47
void setThickness(int thickness)
Sets the border thickness.
Definition: Frame.cpp:108
Uint8 getSecondaryColor() const
Gets the background color.
Definition: Frame.cpp:88
void setSecondaryColor(Uint8 bg)
Sets the background color.
Definition: Frame.cpp:78
Element that is blit (rendered) onto the screen.
Definition: Surface.h:38
void setHighContrast(bool contrast)
Sets the high contrast color setting.
Definition: Frame.cpp:98
Fancy frame border thing used for windows and other elements.
Definition: Frame.h:28
~Frame()
Cleans up the frame.
Definition: Frame.cpp:39
Definition: BaseInfoState.cpp:40