Exemple #1
0
void gui_el_t1::setTextureFramed(gr_tex *_tex, int32_t w, int32_t h)
{
    tex->tex = _tex;
    gr_set_spr_tex(sprite, _tex);
    set_frame_size(w,h);

    gr_info inf = gr_get_info(tex->tex);
    tex_h = inf.h;
    tex_w = inf.w;
}
Exemple #2
0
void update_window_sizes(void)
{
    set_frame_size(root_frame, screen_w, screen_h - 1);
    update_window_coordinates();
}