Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

d_keyboard_proc(3alleg4) [opendarwin man page]

d_keyboard_proc(3alleg4)					  Allegro manual					  d_keyboard_proc(3alleg4)

NAME
d_keyboard_proc - Invisible dialog procedure for implementing keyboard shortcuts. Allegro game programming library. SYNOPSIS
#include <allegro.h> int d_keyboard_proc(int msg, DIALOG *d, int c); DESCRIPTION
This is an invisible object for implementing keyboard shortcuts. You can put an ASCII code in the key field of the dialog object (a charac- ter such as 'a' to respond to a simple keypress, or a number 1-26 to respond to a control key a-z), or you can put a keyboard scancode in the d1 and/or d2 fields. When one of these keys is pressed, the object will call the function pointed to by dp. This should return an int, which will be passed back to the dialog manager, so it can return D_O_K, D_REDRAW, D_CLOSE, etc. SEE ALSO
exgui(3alleg4) Allegro version 4.4.2 d_keyboard_proc(3alleg4)

Check Out this Related Man Page

exgui(3alleg4)                                                    Allegro manual                                                    exgui(3alleg4)

NAME
exgui - Using the GUI routines. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exgui DESCRIPTION
This program demonstrates how to use the GUI routines. From the simple dialog controls that display a text or a bitmap to more complex mul- tiple choice selection lists, Allegro provides a framework which can be customised to suit your needs. SEE ALSO
DATAFILE(3alleg4), DIALOG(3alleg4), END_OF_MAIN(3alleg4), MENU(3alleg4), active_menu(3alleg4), alert(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), d_bitmap_proc(3alleg4), d_box_proc(3alleg4), d_button_proc(3alleg4), d_check_proc(3alleg4), d_clear_proc(3alleg4), d_ctext_proc(3alleg4), d_edit_proc(3alleg4), d_icon_proc(3alleg4), d_keyboard_proc(3alleg4), d_list_proc(3alleg4), d_menu_proc(3alleg4), d_radio_proc(3alleg4), d_rtext_proc(3alleg4), d_shadow_box_proc(3alleg4), d_slider_proc(3alleg4), d_text_list_proc(3alleg4), d_text_proc(3alleg4), d_textbox_proc(3alleg4), d_yield_proc(3alleg4), do_dia- log(3alleg4), gui_bg_color(3alleg4), gui_fg_color(3alleg4), gui_mg_color(3alleg4), install_keyboard(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), key(3alleg4), load_datafile(3alleg4), makecol(3alleg4), position_dialog(3alleg4), replace_filename(3alleg4), screen(3alleg4), set_dialog_color(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), unload_datafile(3alleg4), ustrtok(3alleg4), ustrz- cat(3alleg4), ustrzcpy(3alleg4), uszprintf(3alleg4) Allegro version 4.4.2 exgui(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies

Featured Tech Videos