freebsd man page for gui_menu_draw_menu

Query: gui_menu_draw_menu

OS: freebsd

Section: 3alleg4

Links: freebsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

gui_menu_draw_menu(3alleg4)					  Allegro manual				       gui_menu_draw_menu(3alleg4)

NAME
gui_menu_draw_menu, gui_menu_draw_menu_item - Hooks to modify the appearance of menus. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern void (*gui_menu_draw_menu)(int x, int y, int w, int h); extern void (*gui_menu_draw_menu_item)(MENU *m, int x, int y, int w, int h, int bar, int sel); DESCRIPTION
If set, these functions will be called whenever a menu needs to be drawn, so you can change how menus look. gui_menu_draw_menu() is passed the position and size of the menu. It should draw the background of the menu onto screen. gui_menu_draw_menu_item() is called once for each menu item that is to be drawn. bar will be set if the item is part of a top-level hori- zontal menu bar, and sel will be set if the menu item is selected. It should also draw onto screen. SEE ALSO
Allegro version 4.4.2 gui_menu_draw_menu(3alleg4)
Related Man Pages
item_index(3curses) - opensolaris
menu_item_current(3) - netbsd
d_menu_proc(3alleg4) - suse
d_menu_proc(3alleg4) - linux
d_menu_proc(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
The Whole Story on #! /usr/bin/ksh
Is UNIX an open source OS ?
Valid separator in time and date format
UNIX Environment Setup - (Just starting!)
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?