Hi GHI,
Re: [20110913] example 5, ref: http://www.ghielectronics.com/glide/example/5/
I only wish to offer some constructive feedback on my experience from a novice Glide user’s perspective, as I am struggling with some of the examples.
I’ve been working through the examples and it would be a more positive experience if the examples where complete, and downloadable (I know this is work). I’m trying to build a solution with all projects in it, which I will make available on complete testing).
The one below has incomplete code, and I am really not sure what to put in the:
// Check if the touch panel is touched
if(...)
{
//My Guess would be....
if(touches.Length > 0)
{
Can an example for the following be made available?
// Read the touch panel
// ...
// ...
Can an example for the following be made available?
// Get the X & Y coordinates
// ...
Can someone add a Main() to the Example, to finish it off, here’s guess as to what is required to kick off the thread…
public class Program
{
public static void Main()
{
MyTouchClass T = new MyTouchClass();
while (true)
{
// Sleep for 500 milliseconds
Thread.Sleep(500);
}
}
}
and how to get the touch co-ordinates a few lines further down.
http://www.ghielectronics.com/glide/example/5/
I’m using the examples to learn the Glide interface etc, which is difficult when teh examples don’t work or are a class without a main()
I don’t mind helping where I can, but