Anyone got some cool Sine Wave animation already written?

My apologies. The

// This program requires the UTFT library (8bit mode)

is part of the original UTFT example.

I just took a regular UTFT example and replaced the UTFT include, constructor and Font declaration with :

// if I want to use a GLUE class that implements the UTFT API
// with the Adafruit classes,   I MUST include those headers
// because the Arduino Java does not look at nested includes !


#include <Adafruit_GFX.h>
#include <UTFTGLUE.h>              // class methods are in here
UTFTGLUE myGLCD(0x0154, A2, A1, A3, A4, A0);

// Declare which fonts we will be using
#if !defined(SmallFont)
extern uint8_t SmallFont[];    //.kbv GLUE defines as GFXFont ref
#endif

You can do the same with most of the UTFT examples. You do not touch any of the "actual sketch statements".
The program gets compiled with the UTFTGLUE class which simply calls regular GFX class methods.
It does not use or need UTFT in any way.

David.