QB64Team / qb64

BASIC for the modern era.
https://www.qb64.org
Other
671 stars 96 forks source link

Tui library #58

Closed patrickw99 closed 4 years ago

patrickw99 commented 4 years ago

Is your feature request related to a problem? Please describe. I have been having a hard time finding a usable text user interface (tui) library. I have several programs That need a nice TUI.

Describe the solution you'd like Is it possible to separate the TUI part of the ide to a Library? That way I could write program interfaces that have the same look and feel of the ide.

Describe alternatives you've considered I have looked at using C libraries such as D-Flat++ Ncurses. D-Flat++ is only for dos and has no interface for qb46. Ncurses has a FreeBASIC interface but is to low level.

FellippeHeitor commented 4 years ago

The IDE has a few methods that are used to draw menus, dialog boxes and the text editor. These were coded as QB64 grew and are not easily separable. A separate TUI Library should probably be written from scratch.

FellippeHeitor commented 3 years ago

@patrickw99 might wanna keep an eye on https://github.com/FellippeHeitor/tui

https://user-images.githubusercontent.com/10699359/112707794-b6e5a100-8e8c-11eb-95e7-d98edb8066fc.mov