Main Site Documentation

Graphics - Question about example


#1

I’m playing around with this example but don’t quite understand this bit:

            //Use the below two functions to pass input to the UI system
            //app.InputProvider.RaiseTouch(x, y, touchState, DateTime.UtcNow);
            //app.InputProvider.RaiseButton(btn, btnState, DateTime.UtcNow);

Those two lines won’t compile and I am not sure what the various arguments are and how to set them. I’m running this on a Raptor with an attached T43, Oh and also - in that example how does one go about changing the text color?


#2

Those you have to implement. We do not have anything for the old displays since we are now focused on capacitive touch displays. Writing these drivers requires knowledge of resistive touch displays.