[ADD] pretty display of score in a separate window #4
This commit is contained in:
@@ -53,4 +53,29 @@ void drawing_draw_hline(float x0, float y0, float width, int thiccness, unsigned
|
||||
*/
|
||||
void drawing_draw_vline(float x0, float y0, float height, int thiccness, unsigned int color);
|
||||
|
||||
/**
|
||||
* @brief draws a window frame with the specified features
|
||||
*
|
||||
* @param x the top left x position of the frame
|
||||
* @param y the top left y position of the frame
|
||||
* @param width the width of the frame
|
||||
* @param heigth the heigth of the frame
|
||||
* @param title_text the title text to be displayed at the top of the frame
|
||||
* @param pgf pointer to the pgf font to be used
|
||||
*/
|
||||
void drawing_draw_window_clear(float x, float y, float width, float heigth, const char *title_text, vita2d_pgf *pgf);
|
||||
|
||||
/**
|
||||
* @brief draws a window frame with the specified features
|
||||
*
|
||||
* @param x the top left x position of the frame
|
||||
* @param y the top left y position of the frame
|
||||
* @param width the width of the frame
|
||||
* @param heigth the heigth of the frame
|
||||
* @param title_text the title text to be displayed at the top of the frame
|
||||
* @param pgf pointer to the pgf font to be used
|
||||
* @param color the color of the background of the window
|
||||
*/
|
||||
void drawing_draw_window_filled(float x, float y, float width, float heigth, const char *title_text, vita2d_pgf *pgf, unsigned int color);
|
||||
|
||||
#endif // !DRAWING_H
|
||||
|
||||
Reference in New Issue
Block a user