68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Getting started with application development for System 6/7
Posted by: Mu0n on 2020-08-02 23:58:23
Found it!

https://mu0n.github.io/ForayInto68k/code/graphx6b.c.txt

This is, as the URL demonstrates, courtesy @Mu0n

Also, I love that the EventRecord variable is called wutup
YES! The intent of my website has finally paid off. 

Posted by: petteri on 2020-08-03 04:48:03
Thanks guys, the example looks pretty much what I'm looking for. 

Posted by: petteri on 2020-08-03 22:45:43
Alright, I have my copyBits animation stuff working with buttons and menus controlling it. I ended up creating three offscreens, two are for the static sources and one is for the staging area before copying everything to the screen. Might be a little bit excessive but no need to load pictures from the resources for each refresh. It even runs fine on my SE/30 with 7.5.5  :-D

Thanks again for the help!

Posted by: cheesestraws on 2020-08-03 22:48:04
Might be a little bit excessive but no need to load pictures from the resources for each refresh.
I have been deeply amused how much this thread has been a microcosm of scope creep, from "use the fake terminal" to full-on toolbox stuff.  Good fun, though, I don't mean that in any bad way. 😀

Posted by: Crutch on 2020-08-04 06:53:26
PopupFuncs is the correct name.

I have no recollection where I got it, but I have a vivid memory of having installed it a few weeks/months after I started using THINK C for my millions of little projects back in 2004-5.

Perhaps I got it from the hotline server that was up back then, Retromac68k (what a treasure trove, long gone, before I could manually back up it all - I got a good chunk of it though).


Thanks for this tip.  I just downloaded and PopupFuncs (with "technicolor!") is awesome!  I never saw this back in the day.  Super cool.

Posted by: petteri on 2020-08-20 22:33:13
YES! The intent of my website has finally paid off. 
By the way, what would be the proper way to redraw those buttons in case of updateEvt and when the application window is shown again. Without any redraw there is a white clipping.

Edit: Never mind, I didn't realize there is DrawControls

< 4