[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Improved pygame inputbox



Couldn't you improve the performance by only rendering more text if
the text has changed? From a cursory scan through the code it seems as
if you're rendering the text every loop, but couldn't you have
display_box return its surface object, to be continually blitted until
another character is entered and new text must be rendered?
-- 
Daniel Bickett
dbickett at gmail.com
http://heureusement.org/