Home | Reviews | GUIpedia | Forum | Fun500


jasonwoodlandGeode problem
Hi, how can you store images for painting programs etc...? It runs like this: D0 CLEARSCREEN WIN1 WIN2 WIN3 WIN4 WIN5 etc... VIEWSCREEN LOOP The problem is that an image for a paint app or even notepad will be lost through the CLEARSCREEN function. any way to store this information?
2009-09-067:37 AM

BrandonRe:Geode problem
You could make "Image Boxes" or something like that, which is a object, thats basically a variable in RAM that an image is stored in and every time you draw the window, you draw the object. Or, like I did in Fun500 2-4, every window can basically have variable in RAM that it is stored in and every time you clear the screen, you redraw the buffer(variable).
2009-09-0610:15 AM

jasonwoodlandRe:Geode problem
so would i use future.get and stuff like that?
2009-09-066:23 PM

BrandonRe:Geode problem
Yes, in FreeBASIC (IDK about the Future Lib) you can draw right to the array.
2009-09-069:01 PM

jasonwoodlandRe:Geode problem
how much should i allocate? X*Y?
2009-09-078:51 AM

GUIs


2021 Brandon Cornell