File: example.c.in

package info (click to toggle)
mlv 3.1.0-8
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 10,596 kB
  • sloc: ansic: 18,982; sh: 4,760; makefile: 381; objc: 246; xml: 92
file content (20 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <MLV/MLV_all.h>

int main( int argc, char *argv[] ){

	MLV_create_window( "Nom_fenetre", "nom_icone", 640, 480 );

	MLV_draw_text(
		10, 120, 
		"Bonjour, vous utilisez la librairie @PACKAGE_TARNAME@-@PACKAGE_VERSION@.",
		MLV_COLOR_MAGENTA
	);

	MLV_actualise_window();

	MLV_wait_seconds( 10 );

	MLV_free_window();

	return 0;
}