Help needed: How to make a library from a .ino-file?

I posted the code above. There is the function sendData() which actually transmits the commands to the TFT and is called by any other function in the library.
Basically, all functions just put together a command string and then call sendData.

Edit:
sendData() is a public function because it should also be possible to call it from external in case there is a command which I didn't implement in the lib yet.

Edit2: