19 #ifndef OPENXCOM_FRAME_H
20 #define OPENXCOM_FRAME_H
22 #include "../Engine/Surface.h"
38 Frame(
int width,
int height,
int x = 0,
int y = 0);
Uint8 getBackground() const
Gets the background color.
Definition: Frame.cpp:75
Frame(int width, int height, int x=0, int y=0)
Creates a new frame with the specified size and position.
Definition: Frame.cpp:31
void draw()
Draws the frame.
Definition: Frame.cpp:107
void setColor(Uint8 color)
Sets the border color.
Definition: Frame.cpp:46
void setThickness(int thickness)
Sets the border thickness.
Definition: Frame.cpp:95
Element that is blit (rendered) onto the screen.
Definition: Surface.h:39
void setHighContrast(bool contrast)
Sets the high contrast color setting.
Definition: Frame.cpp:85
Fancy frame border thing used for windows and other elements.
Definition: Frame.h:30
~Frame()
Cleans up the frame.
Definition: Frame.cpp:38
void setBackground(Uint8 bg)
Sets the background color.
Definition: Frame.cpp:65
Uint8 getColor() const
Gets the border color.
Definition: Frame.cpp:56