********************** * PUBLIC GUI LIBRARY * By Carlos Rayon / Written for CODE WURKS ********************** *********************************************************************** Files included- PUBLIB.8xp is the library. EXAMPLE.8xp is an example program to show you what you can do with PUBLIB. *********************************************************************** CODE WURKS would like to present the TI community with a gui interface library which will create titlebars for programs, a window, and 3D buttons. *********************************************************************** This GUI Library is for designing programs with more ease. I release with the following licence to programmers and other users. *********************************************************************** Licence- The user may not release the program under a new name. The user may not edit the code in anyway. The user may not create another library to draw the same graphics as this one. You may distribute this library by electronic means unchanged from the way you recieved it. It can be used to make any kind of program you want. *********************************************************************** Now that the legal part is over here are the instructions. *********************************************************************** To make a title bar in your program- Store 1 into X Store The title of your program into String 0 Call PUBLIB *********************************************************************** To make a window in your program- Store 2 into X Store a value into A Store a value into B Store a value into C Store B into D Store the height in pixles of the button in E Call PUBLIB Example: 2 -> X 0 -> A 52 -> B 94 -> C B -> D B-> E prgmPUBLIB This will create a full sized window and leave space for a title bar. *********************************************************************** To make a 3D button in your program- Store 3 into X Store a value into A Store a value into B Store a value into C Store B into D Store the height in pixles of the button in E Store the text value of the button into String 0 Call PUBLIB Example: 3 -> X 0 -> A 10 -> B 12 -> C B -> D B-> E "HI" -> Strn0 prgmPUBLIB This will create a 3D button at the bottom of the screen 10 pixels in height and 12 pixles long at pixle 0 on the screen. With the word "HI" as its value *********************************************************************** If you have any problems understanding the code email me at cage2@home.com I will send you all the information you ask for. *********************************************************************** To use this just send PUBLIB.8xp to your calculator and write a program to use it. *********************************************************************** Send any comments or suggestions to cage2@home.com Visit our site at "http://members.nbci.com/code_wurks/splash1.html" Thanks again for downloading our program.