* * *

Author Topic: Help convert this into a component?  (Read 391 times)

ozznixon

  • Jr. Member
  • **
  • Posts: 65
    • http://www.modernpascal.com/
Help convert this into a component?
« on: July 11, 2018, 05:31:59 am »
Looking for someone who is Lazarus savvy to help me convert this to a component - then I will update it until finished on github.com

Can be used as a GUI CRT (but someone will have to contribute the CRT logic)... I am using it as an ANSI editor (TheDraw re-coded), and next will be a full true color ANSI terminal for my socket suite - so Windows, Mac and Linux will have a Lazarus built true color ANSI terminal... right now it is "all code" not made into an object/class yet.

Ozz
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

ozznixon

  • Jr. Member
  • **
  • Posts: 65
    • http://www.modernpascal.com/
Re: Help convert this into a component?
« Reply #1 on: July 11, 2018, 05:33:31 am »
This is built 100% using TBitmap - and copy to the canvas. The cursor is a TShape with visible toggled every 300ms - looks awesome!

Ozz
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 799
    • Burdjia
Re: Help convert this into a component?
« Reply #2 on: July 11, 2018, 12:24:55 pm »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Alextp

  • Hero Member
  • *****
  • Posts: 636
    • UVviewsoft
Re: Help convert this into a component?
« Reply #3 on: July 11, 2018, 06:29:10 pm »
a- You didnot post link to sources
b- What must new component do? it may be different tasks here.

ozznixon

  • Jr. Member
  • **
  • Posts: 65
    • http://www.modernpascal.com/
Re: Help convert this into a component?
« Reply #4 on: July 18, 2018, 01:49:51 am »
Hey AlexTP.

The code goal/design is to support all of the latest ANSI/BBS sequences. Which means features FPC CRT cannot do - like true color foreground and background. I wanted this to be cross platform, so I am coding this to process everything to a bitmap which is then drawn on the form.canvas. I am not sure if there is a better way to achieve this - but, what I have works. Being unfamiliar with Lazarus for the past 2 decades of evolution, I am not sure what is the best/correct way to bundle this into a component - so it can be contributed into Lazarus itself.

Ozz
---
Want to kick the tires to a Free Pascal like script engine? http://www.ModernPascal.com/

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus