Computer Science Canada

help making a drop-down menu GUI

Author:  evildaddy911 [ Tue Jun 26, 2012 7:38 pm ]
Post subject:  help making a drop-down menu GUI

What is it you are trying to achieve?
im trying to create a basic GUI using the buttons class i made


What is the problem you are having?
the menu doesnt seem to be getting drawn on-screen


Describe what you have tried to solve this problem
double-check all code, triple-check, quadruple-check. I cannot see any way that the drawing procedure can be ignored.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
basic run through, see attachments:
- resize all buttons so that they are the same sizes.
- [LOOP]
- draw the first button
- check if the mouse is hovering over it.
- if so, draw the others
- exit when one of the buttons is clicked
- [END LOOP]

Turing:


<Add your code here>



Please specify what version of Turing you are using
open

Author:  Dreadnought [ Tue Jun 26, 2012 8:32 pm ]
Post subject:  Re: help making a drop-down menu GUI

Turing:
dropdown (100, 500, b, clickedID)


The default Turing window is 640x400.
See the problem?

Author:  evildaddy911 [ Wed Jun 27, 2012 12:37 pm ]
Post subject:  RE:help making a drop-down menu GUI

thanks! lol, now i feel like an idiot...


: