Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability Question(s)... #8

Open
ozznixon opened this issue Mar 23, 2019 · 1 comment
Open

Capability Question(s)... #8

ozznixon opened this issue Mar 23, 2019 · 1 comment

Comments

@ozznixon
Copy link

@Zaflis is it possible to build a "CRT" like experience using nxpascal? * I am working on a project that requires me to mimic most if not all CRT calls in a layer on the screen. While layering png objects above -- I love the demos, but, before I jump in head first, I wanted to know if the component can achieve simple concepts like:

ClrScr;
TextColor(Yellow);
TextBackground(Blue);
GotoXy(2,15);
Write('Hello World');
Ability to Scroll, etc. ... the project I am working on is to replace a proprietary WinCRT Terminal that used graphics to draw maps, and scenes on the screen - while keeping the Terminal Text rendering like an old DOS window.

Thanks!
Ozz

@Zaflis
Copy link
Owner

Zaflis commented Mar 23, 2019

There isn't a ready "rich edit" kind object that would deal with all that, but yes you can if you do it manually. The demos should explain how to write text and how to change color, and that's all it needs.

Alternatively there is a UI class which comes with a TMemo type of component. By default it can only draw text in 1 same color but with some custom changes somehow it might be able to be altered. The UI is hugely customizable though, you can use semi-transparent windows you can drag around on screen etc.
edit: Oops, no TMemo implemented. TList is best it can do right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants