Error with compile with 3.23"LCD/touchscreen

I bought a LCD/touchscreen off ebay. The software provided only addresses the LCD, and works. I found a touchscreen example on the web,but it is an ino file and will compile but I have the wrong version of the board for the LCD portion and it wont work. I renamed as a pde file and changed it to use WProgram.h instead of Arduino.h. It gives one error on line 24, " ITDB32S was not declared in this scope". I searched Arduino.h but it is never declared there. I have no idea where it is declared, or what type it is. Sinceyou need the special liubrarys I put the wqhole thing up on my