FLTK logo

Re: [fltk.coredev] RFC: Fl_Terminal::putchar() in public API

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: RFC: Fl_Terminal::putchar() in public API Greg Ercolano 10:16 Apr 04  
 

Holding for a reply from Albrecht, as he's the one that didn't like the 'plot' idea.

I do think plot is the better choice given the x,y args and the "does not affect the
cursor position" behavior. (Confusion about pen plotter behavior seems like a stretch)
I also give weight to Bill's opinion because he gifted us FLTK.

But I'm open to whatever you guys (or anyone else) can agree on, and will
implement that.

On 4/3/24 00:20, Bill Spitzak wrote:
I would really expect "putchar" or any variation to actually act like that character was typed on the terminal, including handling ESC and CR, etc. And moving the cursor.

A "plotchar" would take an x,y position, imho

I guess overloading could still use the same name as the position makes the argument list different.


On Tue, Apr 2, 2024 at 11:58 PM 'Albrecht Schlosser' via fltk.coredev <fltkcoredev@googlegroups.com> wrote:
On 4/2/24 18:08 Greg Ercolano wrote:
>
>     Heh, I was thinking more of plotting pixels.
>
>     But if people actually remember what plotters (with pens) are,
> then put_char() it shall be.

+1

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/6b58a150-4a78-4618-8e95-dbdde2caadf1%40seriss.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.