naev 0.11.5
gui_omsg.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "colour.h"
7
8#define OMSG_FONT_DEFAULT_SIZE 16
9
10/*
11 * Creation and management.
12 */
13unsigned int omsg_add( const char *msg, double duration, int fontsize, const glColour *col );
14int omsg_change( unsigned int id, const char *msg, double duration );
15int omsg_exists( unsigned int id );
16void omsg_rm( unsigned int id );
17
18/*
19 * Global stuff.
20 */
21void omsg_position( double center_x, double center_y, double width );
22void omsg_cleanup (void);
23void omsg_render( double dt );