Refactored TTexture to allow encoding sprite(s) at an arbitrary location within
a (possibly shared) physical texture.
The original variant only allowed encoding a sprite at the bottomleft of a
larger physical texture to use NPOT sprites on POT only supporting systems.
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}