kobodl/graphics/display.h
Ville Lindholm dbc223eb84
Initial commit
Import existing source tree; original VCS history is no longer available.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-28 16:35:31 +03:00

25 lines
410 B
C++

/*(LGPL)
* Simple display for score, lives etc.
* © David Olofson, 2001
*/
#include "window.h"
class display_t : public window_t
{
char _caption[64];
char _text[64];
int _on;
Uint32 _color;
void render_caption();
void render_text();
public:
display_t();
void refresh(SDL_Rect *r);
void color(Uint32 _cl);
void caption(const char *cap);
void text(const char *txt);
void on();
void off();
};