コード例 #1
0
ファイル: A3DPULL.C プロジェクト: Breton/Animator-Pro
a3d_pull_disables()
{
enable_pulls(&root_pull);
if (cel == NULL)
	{
	if (vs.ado_source == OPS_CEL)
		vs.ado_source = OPS_SCREEN;
	ado_cel_pull.disabled = 1;
	}
if (!jexists(poly_name))
	{
	if (vs.ado_source == OPS_SPLINE || vs.ado_source == OPS_POLY)
		vs.ado_source = OPS_SCREEN;
	ado_spline_pull.disabled = 1;
	ado_poly_pull.disabled = 1;
	}
}
コード例 #2
0
ファイル: browse.c プロジェクト: kodybrown/Animator-Pro
static void
draw_cpi(Flicmenu *m)
{
    gary_menu_back(m);
    /* if we can find it somewhere else on screen... */
    if ((find_elix() != NULL) && elix >= 0)
    {
        blit8(XMAX/5,YMAX/5, elx+1, ely+1, vf.p, vf.bpr,
              m->x+1, m->y+1, vf.p, vf.bpr);
    }
    else
    {
        if (jexists(cpi_name))
        {
            postage_stamp(m->x+1,m->y+1,cpi_name);
        }
    }
}
コード例 #3
0
ファイル: PALPULL.C プロジェクト: Breton/Animator-Pro
pal_disables()
{
pal_me_pull.disabled = sys5;
val_use_pull.disabled = (cel == NULL);
val_ble_pull.disabled = val_pas_pull.disabled = !jexists(cclip_name);
}
コード例 #4
0
ファイル: TITLE.C プロジェクト: Breton/Animator-Pro
static
title_disables()
{
    tit_do__sel.disabled = !jexists(text_name);
}