(Am writing this over the course of my workday so it kind of rambles, and I cant test examples at work)...
I want to program an amiga port for my text adventure engine. I dont quite get intuition layouts.
I am reading 'Programmers Guide to Amiga' by Robert Peck.
I want an infocom style text screen, title across the top, text below. text will scroll without interfeering with the title text and to run from workbench.
From my reading of some amiga programming books I need to create a screen, and within that screen a window? It feels like I'm creating an MDI app, and I dont want an MDI app. I just want to open a screen/window on workbench and render text to two different parts. *Ahh, I see workbench is a public screen and I can open my window on it. nice.
When dealing with the text controls, does it retain the text so a window resize will automatically reflow the text or do I have to pragmatically reflow the text?, meaning I have to keep track of the text sent to the window? I'm guessing a NEWSIZE + REFRESHWINDOW means I need to know what text I've sent to redraw it...
Is SIMPLE_REFRESH better than not specifying it? Since I am targeting wb3.1, is it good practice to use SIMPLE_REFRESH or not or go with a smart refresh window?
random thought.. can you do a memmove inside a rastport to immitate scrolling? or do I need to create an off screen rastport? Can you do a ClipBlit where the source rp + dest rp are the same?
I see there is a ScrollRaster... so in theory I should have one rastport for my title line, and one rastport for the body text... things are becoming clearer now.
Would mui help here with doing design/layout of the window interface or should I just stick to intuition?