Project

General

Profile

Revision 290

fixed menu lag

View differences:

proj_func.c
213 213
    rectangle_set_fill_color(ret->r0, GRAPH_BLACK);
214 214
    rectangle_set_outline_width(ret->r0, 2);
215 215
    rectangle_set_outline_color(ret->r0, GRAPH_WHITE);
216
    rectangle_set_fill_trans(ret->r0, GRAPH_TRANSPARENT);
216 217
    rectangle_set_fill_color(ret->r1, GRAPH_BLACK);
217 218
    rectangle_set_outline_width(ret->r1, 2);
218 219
    rectangle_set_outline_color(ret->r1, GRAPH_WHITE);
220
    rectangle_set_fill_trans(ret->r1, GRAPH_TRANSPARENT);
219 221
    rectangle_set_fill_color(ret->r2, GRAPH_BLACK);
220 222
    rectangle_set_outline_width(ret->r2, 2);
221 223
    rectangle_set_outline_color(ret->r2, GRAPH_WHITE);
224
    rectangle_set_fill_trans(ret->r2, GRAPH_TRANSPARENT);
222 225
    text_set_valign(ret->t0, text_valign_center);
223 226
    text_set_halign(ret->t0, text_halign_center);
224 227
    text_set_color(ret->t0, TEXT_COLOR);
......
231 234
    rectangle_set_fill_color(ret->frame, GRAPH_BLACK);
232 235
    rectangle_set_outline_width(ret->frame, 6);
233 236
    rectangle_set_outline_color(ret->frame, GRAPH_WHITE);
237
    rectangle_set_fill_trans(ret->frame, GRAPH_TRANSPARENT);
234 238
    // POSITIONS
235 239
    rectangle_set_pos(ret->r0,
236 240
                      graph_get_XRes()/2    - rectangle_get_w(ret->r0)/2,

Also available in: Unified diff