some advice about pictures in graphics
Nathan smith <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
Hi list! I've recently started pondering a new project, but before I start I wanted to go on a bit of a learning curve on something I've never done before. I decided to use the card game Solitaire as my learning curve. I have downloaded a freely available zip archive of pictures of playing cards, (all png's). In my head, I know what I would like is thus: at the top, four rectangular black spaces evenly distributed. Then a blank row, as it were. Then to the left would be the deck, which would be a picture of the back of the card. To the right woud be the scrap pile. Below this would be a row of 7 piles of cards. I was thinking perhaps of using the grid sizer object for this, and using that to create a table that is 7 10 columns and 5 rows, then positioning the cards upon this. Does grid sizer show lines though? I would not want that. Is there a way to make sure, through wx python, all my images are the same size? Further, if I wanted to shhow where the user is focused, is there a way to put a dot on a picture? How could I make black rectangles that could later be replaced with card images? Finally, what would be the recommended way to show that a card has been selected, is there a way in wx python to change the colour of the image? Should I instead change the background? This is one area I have very little experience in, as my GUI's are usually rather simplistic lists and text boxes, but this will hopefully contribute towards a project that is aimed at being an accessible card game for blind users, but instead of just slapping a blank screen in front of the user, I'd instead like to make it at least visually usable. thank you for any questions you can answer in advance, or any resources you can point me to. Nathan -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/fd9bed8d-03c5-5a7f-f130-06a0e5347f27%40gmail.com.