Writing own GUI

Can anyone suggest how difficult it would be to write one’s own code to draw
BMPs on screen, and write a mouse driver (monitoring the hardware and
displaying the pointer)?

I have mentioned the task I need to perform in a previous thread (hard
real-time with PhAB), and it seems that Photon does not allow for convenient
timing of GUI events to millisecond accuracy, which is what I require.

Neil.

Technical Support
Psychology Department
University of Wales Swansea, UK
http://psy.swansea.ac.uk/

I can’t seem to find your previous posting on groups.google.com. However,
you can get any timing you want with Photon. They key is to break apart
the GUI and the timing services (or to use a dedicated timing thread). Perhaps
you could post your problems again? Making a new graphical environment seems
a little extream. :wink:

chris


UWS Psychology Tech Support <pstech@swansea.ac.uk> wrote:

Can anyone suggest how difficult it would be to write one’s own code to draw
BMPs on screen, and write a mouse driver (monitoring the hardware and
displaying the pointer)?

I have mentioned the task I need to perform in a previous thread (hard
real-time with PhAB), and it seems that Photon does not allow for convenient
timing of GUI events to millisecond accuracy, which is what I require.

Neil.

Technical Support
Psychology Department
University of Wales Swansea, UK
http://psy.swansea.ac.uk/

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Previously, UWS Psychology Tech Support wrote in comp.os.qnx:

Can anyone suggest how difficult it would be to write one’s own code to draw
BMPs on screen, and write a mouse driver (monitoring the hardware and
displaying the pointer)?

To say that this is an extremely big job, would be an understatement.
Lets say you start off limiting the scope of the project by just
supporting one set of hardware, VGA, mouse, touch-screen if any.
Of course when your hardware dissappears, you will need to do some
quick maintenance.

You still have to design a user interface, no small chore, and do all the
coding and testing. If your design is to limited, you will be adding
a lot later. Make it very flexible, and you may never get the first
draft done.

Mitchell Schoenbrun --------- maschoen@pobox.com