Code Monkey home page Code Monkey logo

Comments (4)

jtdaugherty avatar jtdaugherty commented on July 30, 2024

I'm glad to hear that the library is working well for you. Thanks!

As for layers, this is something I have wanted myself. At present, more is needed from the underlying vty library to support this. The reason is that the vty library's Picture type is where layers are kept and where "compositing" of those layers into a final Image is performed, including dealing with cursor location info. You can read a bit more in the vty issue I filed about this very feature back in June:

jtdaugherty/vty#73

from brick.

jtdaugherty avatar jtdaugherty commented on July 30, 2024

(Needless to say, I have not had time to make patching vty for this a priority, but if this is something you want to tackle, you could coordinate with Corey about it on that ticket. I would also be interested to stay abreast of any developments.)

from brick.

jtdaugherty avatar jtdaugherty commented on July 30, 2024

Since this isn't something we can do much about in brick at the moment, I'm going to close this. However, if/when it becomes feasible I'm happy to re-open this and resume discussion about it!

from brick.

ts468 avatar ts468 commented on July 30, 2024

Hi Jonathan,

thank you very much for your detailed explanation, and sorry for the late reply.
I indeed had a look into vty, and it seems as one would have to write a function that converts DisplayOps back into Image, so more or less the reverse for displayOpsForImage. Unfortunately, that's quite some work. So I'll probably stay with a list of Widgets for now that I somehow concat along the drawing pipeline.

Many thanks for your help!
Thomas

from brick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.