Simon Jackson wrote:
Hello, I want to make a program that lets you select an item from a
list. Check out the screenshot below for an example:

http://lemonlauncher.sourceforge.net/snap/snap3.png

Can anyone point me to a tutorial or something similar that will show
me how to do this?
If you have a series of rects that describe the menu boxes, it's trivial to do a point-rect collision with your
list of menu items and the coordinates of the mouse.
Hints: pygame.mouse.get_pos()  and Rect.collidepoint(x,y)
-Luke

Thanks,
Simon


Reply via email to