Adding Library Files to Projects

Top  Previous  Next

Most Tibbo libraries are supplied as a pair of files -- a .tbs file with all the code, and a .tbh header file with declarations. Both must be added to your project.

Library files are found in the TIDE installation directory, under .../platforms/src/. Each library resides in its own subfolder.

To add library files to your project, follow the instructions under Adding, Removing and Saving Files (the section about adding existing files).

When you follow these instructions, library files are not copied into your project's directory. This is why there is a "lib" label printed next to such files in the project pane. Added library files are initially locked for editing. This is why you will see the file names in grey, with the "lock" label printed next to them as well.

You can unlock the files (by right-clicking on the file in the tree and selecting "Unlock"), but this is not recommended.

 

note_tip-wt

Do not change the code in the library files. If you feel that a certain library doesn't fully answer your needs and requires modifications, copy the library files into your project's directly and modify the code in these "derivative" files. Changes you make in the actual library files may be overwritten by future TIDE upgrades.