In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
17 bytes removed ,  15:53, 3 July 2009
Line 446: Line 446:  
extern const u32 image_name_png_size;
 
extern const u32 image_name_png_size;
 
</source>
 
</source>
Then your image will be put into the ''image_name_without_.png''_png buffer when it is compiled. Just place your image in the images folder, and the compiler will take care of the rest for you.  
+
Then your image will be put into the image_name_png buffer when it is compiled. Just place your image in the images folder, and the compiler will take care of the rest for you.  
    
Last, you must append your new image to the GuiWindow you are dealing with. Before doing do, you need to suspend the gui thread, so that you are not making changes to variables while the thread is reading them, and resume the thread after appending:
 
Last, you must append your new image to the GuiWindow you are dealing with. Before doing do, you need to suspend the gui thread, so that you are not making changes to variables while the thread is reading them, and resume the thread after appending:
309

edits

Navigation menu