naev 0.12.6
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,
14 const glColour *col );
15int omsg_change( unsigned int id, const char *msg, double duration );
16int omsg_exists( unsigned int id );
17void omsg_rm( unsigned int id );
18
19/*
20 * Global stuff.
21 */
22void omsg_position( double center_x, double center_y, double width );
23void omsg_cleanup( void );
24void omsg_render( double dt );