Recent

Author Topic: GUI Designer for TUI  (Read 15044 times)

x2nie

  • Hero Member
  • *****
  • Posts: 515
  • Impossible=I don't know the way
    • impossible is nothing - www.x2nie.com
Re: GUI Designer for TUI
« Reply #15 on: September 17, 2016, 01:20:15 pm »
I would just redo FV on LCL principles.

.. but I think simply basing yourself on top of tcomponent is a good way to focus on the actual problem, and not redesign the whole streaming etc.


Streaming.
Is FV able to load/save the form properties on such similar to *.LFM ?
Can you show me an example of FV project that use "streaming" ?
any link?
When you were logged in, you can see attachments.
Lazarus Github @ UbuntuCinnamon-v22.04.1 + LinuxMintDebianEdition5

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12523
  • FPC developer.
Re: GUI Designer for TUI
« Reply #16 on: September 17, 2016, 02:07:01 pm »
Note that I meant doing a hybrid FV/TV and LCL/VCL. Not reusing TV except for principles

Streaming.
Is FV able to load/save the form properties on such similar to *.LFM ?
Can you show me an example of FV project that use "streaming" ?
any link?

All TV/FV projects use streaming, but it is mostly a binary format. I assume the streaming mechanism is documented in the objects unit documentation.

TV/FV is not LCL in the way you have to write code to read and write every value. (there is no automated streaming based on RTTI in TV). I would doing that more LCL-like in a new version, and in general do away with the many old things like TP objects (instead of delphi classes), shortstring/pchar use (instead of ansistring/unicodestring/utf8string)

serbod

  • Full Member
  • ***
  • Posts: 145
Re: GUI Designer for TUI
« Reply #17 on: September 17, 2016, 09:05:27 pm »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12523
  • FPC developer.
Re: GUI Designer for TUI
« Reply #18 on: September 18, 2016, 11:40:41 am »
Afaik Ncurses is only used for its terminal database, not the actual drawing, which is too limited

 

TinyPortal © 2005-2018