adime_d_calc_edit_result_proc (3) - Linux Manuals

NAME

adime_d_calc_edit_result_proc

SYNOPSIS

#include <adime.h>

int adime_d_calc_edit_result_proc(int msg, DIALOG *d, int c);

DESCRIPTION

Dialog proc for the result of a calculator edit box. The difference between this and Allegro's `d_text_proc()' is that it uses the c parameter to find the color to draw with (see `d_double_calc_edit_proc()'), and it also erases its whole area even if the text doesn't fill it.