1

Looking at my code there are no errors. I have tried all sorts to try and get my panes to display but they still won't appear. I have retraced all my steps and tried to look for where I may have gone wrong, but to me everything seems fines and should work yet it doesn't.

I currently have 3 different states. State 1 being the main screen which is "10 main boxes" on screen. State 2 being a "virtual keyboard" and state 3 being "set phrases". State 3 is the one that doesn't display the pane/s and I can't understand why.

Here's the main screen: enter image description here

(The keyboard also works)

Here is what happens when you click set phrases: enter image description here

A pane/rectangle is meant to appear on the set phrases screen in these co-ordinates sPhraseLoc = [(400, 100, 150, 50)]. It is also meant to have "Hi my name is Dave." written in it. (Look at code below for reference)

Can someone please explain to me why "Hi my name is Dave." isn't appearing on the screen in a pane/rectangle? All help is much appreciated.

Here is the code (It is rather long so I thought that I'd just link it)

I am also suspicious of a part of the code and think the problem lies their but I am not too sure. (Here is the link)

Like I said earlier any help is much appreciated.

PythonNovice
  • 475
  • 2
  • 5
  • 21
  • Are you drawing the backgrounds before you're drawing the text? – TankorSmash Jan 06 '14 at 19:37
  • I can't run the code myself, but is it possible you're overlapping the panes with text in them with empty panes at the same coords? – TankorSmash Jan 06 '14 at 19:45
  • No because the code works that it draw the panes first and then draws the words in the panes. So when it appear its words on top on the panes. (If that makes sense) – PythonNovice Jan 06 '14 at 20:14

0 Answers0