You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
676 B

  1. /* $Id */
  2. #ifndef _SLANGUI_H
  3. #define _SLANGUI_H
  4. struct packages_t;
  5. void ui_init(int argc, char * const argv[], struct packages_t *taskpkgs, struct packages_t *packages);
  6. int ui_shutdown(void);
  7. void ui_resize(void);
  8. int ui_eventloop(void);
  9. int ui_drawbox(int obj, int x, int y, unsigned int dx, unsigned int dy);
  10. void ui_button(int row, int col, char *txt);
  11. void ui_dialog(int row, int col, int height, int width, char *title, char *msg, int reflow);
  12. int ui_drawscreen(void);
  13. void ui_drawchooseritem(int index);
  14. void ui_toggleselection(int index);
  15. void ui_showhelp(void);
  16. void ui_showpackageinfo(void);
  17. void ui_redrawchooser(void);
  18. void ui_redrawcursor(int index);
  19. #endif