Exemple #1
0
/*
 * Here when a focus out event occurs.
 */
void
do_focusout(GR_EVENT_GENERAL *gp)
{
	if (gp->wid != w1)
		return;
	GrSetBorderColor(w1, GRAY);
}
Exemple #2
0
/*
 * Here when a focus in event occurs.
 */
void
do_focusin(GR_EVENT_GENERAL *gp)
{
	if (gp->wid != w1)
		return;
	GrSetBorderColor(w1, LTBLUE);
}
Exemple #3
0
/*
 * Here when a exit window event occurs.
 */
void
do_exit(GR_EVENT_GENERAL	*gp)
{
	if (gp->wid != w5)
		return;
	GrSetBorderColor(w5, GREEN);
	GrLowerWindow(w5);
}
Exemple #4
0
/*
 * Here when a enter window event occurs.
 */
void
do_enter(GR_EVENT_GENERAL	*gp)
{
	if (gp->wid != w5)
		return;
	GrSetBorderColor(w5, WHITE);
	GrRaiseWindow(w5);
}