Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.programmer > #6551

Re: Text in a wimp window

From Bob Latham <bob@sick-of-spam.invalid>
Newsgroups comp.sys.acorn.programmer
Subject Re: Text in a wimp window
Date 2025-08-18 12:58 +0100
Organization None
Message-ID <5c4e4dc7d3bob@sick-of-spam.invalid> (permalink)
References (1 earlier) <5c4c6c50b0basura@invalid.addr.uk> <5c4cd689e8bob@sick-of-spam.invalid> <mpro.t11uf400fdgng0dmf.news@stevefryatt.org.uk> <5c4d57a507bob@sick-of-spam.invalid> <slrn10a61bo.372r.news@stevefryatt.org.uk>

Show all headers | View raw


In article <slrn10a61bo.372r.news@stevefryatt.org.uk>,
   Steve Fryatt <news@stevefryatt.org.uk> wrote:
> On 2025-08-16, Bob Latham <bob@sick-of-spam.invalid> wrote:

> You'll need to have a list of all of the lines of text, which you
> can add to (or shift up if you're discarding the oldest line each
> time). 

Yes, that's my plan. 

I've plotted out the relationship between the buffer number of each
line coming in and the print order. Until the point where line buffer
0 gets written for the first time (a scroll) the line from the top of
the screen start from buffer zero. But after first overwrite, the top
line buffer number is always the same as the next buffer to be
written to. I've now got an algorithm for that.

> You then invalidate the redraw state of the lines that you
> want to replace using Wimp_ForceRedraw 

Ah. Thanks for that, I was puzzling over that.

> and let your redraw routine handle the plotting.

Working on it, but I find 'challenging' and I'm spending hours on it. 


[Snip]


> What language are you working in? 

I've deliberately not said. 

I've been ripped into in the past for this, so I almost feel ashamed
to say - Basic assembler.

I don't have any logical justification for my choice, I just like it
and understand it more than wordy hi-level stuff. Yes, I know it's
hard to maintain, takes ages to code etc. but it's a hobby for my
retirement.

> I could probably put a quick example together in BASIC later this
> week, if that would help?

Steve what a kind offer but I don't wish to burden you. However, when
I get stuck as I'm sure I will, a bit more advice would be
appreciated.

I'm concerned about conversion to and from work area coords which I
think will darken my doorstep a little. :-)

Strangely, I don't feel 'stuck' just at the moment.

Thanks, very much indeed.

Bob.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-13 20:18 +0100
  Re: Text in a wimp window druck <news@druck.org.uk> - 2025-08-14 09:35 +0100
    Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 09:54 +0100
    Re: Text in a wimp window Theo <theom+news@chiark.greenend.org.uk> - 2025-08-14 10:03 +0100
      Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 10:45 +0100
        Re: Text in a wimp window Sebastian Barthel <naitsabes@freenet.de> - 2025-08-14 14:37 +0000
          Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-14 17:57 +0100
      Re: Text in a wimp window Theo <theom+news@chiark.greenend.org.uk> - 2025-08-14 16:12 +0100
  Re: Text in a wimp window Richard Ashbery <basura@invalid.addr.uk> - 2025-08-14 21:19 +0100
    Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-15 16:39 +0100
      Re: Text in a wimp window Steve Fryatt <news@stevefryatt.org.uk> - 2025-08-15 20:06 +0100
        Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-16 16:10 +0100
          Re: Text in a wimp window Steve Fryatt <news@stevefryatt.org.uk> - 2025-08-18 11:50 +0100
            Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-18 12:58 +0100
            Re: Text in a wimp window Bob Latham <bob@sick-of-spam.invalid> - 2025-08-20 18:35 +0100
              Re: Text in a wimp window Sebastian Barthel <naitsabes@freenet.de> - 2025-08-21 13:01 +0000
              Re: Text in a wimp window Harriet Bazley <harriet@bazleyfamily.co.uk> - 2025-08-23 00:31 +0100
      Re: Text in a wimp window Jean-Michel <jmc.bruck@orange.fr> - 2025-08-17 18:01 +0200

csiph-web