Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

object_message(3alleg4) [v7 man page]

object_message(3alleg4) 					  Allegro manual					   object_message(3alleg4)

NAME
object_message - Sends a message to an object and returns the answer. Allegro game programming library. SYNOPSIS
#include <allegro.h> int object_message(DIALOG *dialog, int msg, int c); DESCRIPTION
Sends a message to an object and returns the answer it has generated. Remember that the first parameter is the dialog object (not a whole array) that you wish to send the message to. For example, to make the second object in a dialog draw itself, you might write: object_message(&dialog[1], MSG_DRAW, 0); The function will take care of scaring and unscaring the mouse if the message is MSG_DRAW. SEE ALSO
dialog_message(3alleg4), scare_mouse(3alleg4), scare_mouse_area(3alleg4), unscare_mouse(3alleg4), excustom(3alleg4), exrgbhsv(3alleg4) Allegro version 4.4.2 object_message(3alleg4)

Check Out this Related Man Page

excustom(3alleg4)						  Allegro manual						 excustom(3alleg4)

NAME
excustom - Creating custom GUI objects. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example excustom DESCRIPTION
A follow up of the exgui.c example showing how to customise the default Allegro framework. In this case a dialog procedure animates a graphical clock without disrupting other GUI dialogs. A more simple option shows how to dynamically change the font used by all GUI ele- ments. SEE ALSO
BITMAP(3alleg4), DATAFILE(3alleg4), DIALOG(3alleg4), END_OF_MAIN(3alleg4), FONT(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), circle(3alleg4), circlefill(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), d_but- ton_proc(3alleg4), d_check_proc(3alleg4), d_clear_proc(3alleg4), d_edit_proc(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), do_dialog(3alleg4), fixcos(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixsin(3alleg4), fixtoi(3alleg4), font(3alleg4), install_key- board(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), line(3alleg4), load_datafile(3alleg4), makecol(3alleg4), object_message(3alleg4), replace_filename(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), unload_datafile(3alleg4) Allegro version 4.4.2 excustom(3alleg4)
Man Page