Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. Welcome to the README for GUI LIBRARY FOR KOLIBRIOS IN C.
  2.  
  3. This library tries to use the wealth of code already written for KolibriOS in assembly.
  4.  
  5. The files currently available are :
  6.  
  7. 0) loadboxlib.asm :
  8.    This is a wrapper created so that C can call assembly functions.
  9.    Assemble this to loadboxlib.obj and use with cross compiler linker the .obj file
  10.    to create correct executables which use this GUI library.
  11.  
  12. 1) kolibri_boxlib.h :
  13.    This file contains functions for initializing boxlib from C. This is used by the
  14.    function kolibri_gui_init() in kolibri_gui.h
  15.  
  16. 2)kolibri_button.h:
  17.         This file contains functions to create and use kolibriOS buttons.
  18.        
  19. 3)kolibri_checkbox.h:
  20.         This file contains functions to create and use Check boxes from BOXLIB.
  21.  
  22. 4)kolibri_editbox.h:
  23.         This file contains functions for creating text boxes (edit boxes from Boxlib)
  24.  
  25. 5)kolibri_colors.h:
  26.         This file has functions to initialize global kolibri color table
  27.         so that the GUI can use colors from the System theme.
  28.  
  29. 6)kolibri_gui_elements.h:
  30.         This defines generic containers for GUI elements so that ANY element
  31.         (buttons, editboxes, checkboxes, etc) can have their redraw/mouse/key event
  32.         functions. This helps create a list of all the elements and draw them together.
  33.  
  34. ALL FILES ABOVE ARE INCLUDED IN KOLIBRI_GUI.H SO THEY DO NOT NEED TO BE INCLUDED IN THE CODE YOU WRITE.
  35.  
  36. 7)kolibri_gui.h:
  37.         This is the master file we use. This baby contains everything you need (all GUI elements are included).
  38.         This also contains event handlers that can be simply called from the main application loop.
  39.         This will make your life easy on KolibriOS ;) USE IT!
  40.         The function kolibri_gui_init() needs to be called from all applications using this library.
  41.  
  42. 8)boardmsg.c:
  43.         Sample application written to show off the library.
  44.         This application sends messages to Debug Board on KolibriOS.
  45.         Enter a msg and press the button with the mouse to send messages!
  46.         This is the first of many applications to come with this library.
  47.  
  48. ---
  49. NOTES
  50.  
  51. Refer to boardmsg.c to see how the library is used.
  52. Use instructions from here to build files in C : http://board.kolibrios.org/viewtopic.php?f=24&t=3117
  53.  
  54. ---
  55. Suggestions, Feedback and Ideas are welcome and appreciated!
  56. Please contact : ashmew2 (on board.kolibrios.org) or ashmew2 at gmail dot com for discussing,
  57. Or post on : http://board.kolibrios.org/viewtopic.php?f=24&t=3117#p62536 so that everyone can participate!
  58.