Lines Matching refs:num_buttons
36 static int num_buttons = 0; variable
366 num_buttons++; in get_buttons()
367 buttons[num_buttons - 1].yalign = 0.9; in get_buttons()
368 buttons[num_buttons - 1].xalign = 0.5; in get_buttons()
369 buttons[num_buttons - 1].circular = FALSE; in get_buttons()
383 buttons[num_buttons - 1].label = malloc(sizeof(char) in get_buttons()
385 strcpy(buttons[num_buttons - 1].label, buf); in get_buttons()
391 buttons[num_buttons - 1].action = malloc(sizeof(char) in get_buttons()
393 strcpy(buttons[num_buttons - 1].action, buf); in get_buttons()
399 buttons[num_buttons - 1].text = malloc(sizeof(char) in get_buttons()
401 strcpy(buttons[num_buttons - 1].text, buf); in get_buttons()
411 buttons[num_buttons - 1].bind = buffer[tok[i].start]; in get_buttons()
422 buttons[num_buttons - 1].yalign = buffer[tok[i].start]; in get_buttons()
433 buttons[num_buttons - 1].xalign = buffer[tok[i].start]; in get_buttons()
445 buttons[num_buttons - 1].circular = TRUE; in get_buttons()
448 buttons[num_buttons - 1].circular = FALSE; in get_buttons()
486 for (int i = 0; i < num_buttons; i++) in check_key()
511 if ((num_buttons % buttons_per_row) == 0) in load_buttons()
513 num_col = (num_buttons / buttons_per_row); in load_buttons()
517 num_col = (num_buttons / buttons_per_row) + 1; in load_buttons()
605 for (int i = 0; i < num_buttons; i++) in main()