Giter VIP home page Giter VIP logo

Comments (9)

ddovod avatar ddovod commented on May 13, 2024

Hey! Looks nice.
Afaiu you're talking about Log widget, right?

from jet-live.

codecnotsupported avatar codecnotsupported commented on May 13, 2024

Hey! Looks nice.
Afaiu you're talking about Log widget, right?

Yup, though the source of when the demo starts would be nice too.
With demo I mean the demo you showed off here

from jet-live.

ddovod avatar ddovod commented on May 13, 2024

Okay, so the framework used to create that demo is not yet ready to be exposed (at least I'm not ready to make it public), but you can try some cocos2d-x + imgui repo (this is only one of them), you'll get the same experience plus a lot of info about how to work with cocos2d-x.
If you need colorized log output, please see this comment with the link to the gist with code you need. Also you need to add -fcolor-diagnostics compiler flag globally to the cmake to tell compiler to print colorized output.
That's all how I can help you with this. If you have any problem integrating cocos2d-x and jet-live, just open an issue, I'll try to help you.

from jet-live.

codecnotsupported avatar codecnotsupported commented on May 13, 2024

Thanks for your help, for now I'll try to make my own implementation less hacked together.
And I'll be looking forward to the day that framework is ready. ( No pressure though )

from jet-live.

ddovod avatar ddovod commented on May 13, 2024

Deal. Anyway, if I can help you somehow with something, just ping me on email. Good luck!

from jet-live.

krumelmonster avatar krumelmonster commented on May 13, 2024

@codecnotsupported would you like to post your code?

from jet-live.

hippyau avatar hippyau commented on May 13, 2024

Hey! This is awesome!!!!

jet-live... I love it!! I've in just two hours hacked jet-live into a ImGui demo and it's great :) very hacky, but it works...

I got very lost in RCCPP and gave up, so glad I found this!

So, when I press 'Reload' in the hello world window, it reloads my UI class.

image

However, I have this issue where the output to the console from the logger is 'invisible' in VS code terminal - maybe because my dark theme... I have never noticed this before!

See the grey area in the terminal is where I have selected text I can't see, copied and pasted into notepad and I can see it!

image

I tried putting ANSI in the logger to set a white colour... but that didn't help. This probs has nothing to do with jet-live, maybe it does?

image

I found your ANSI gist for ImGui and implemented it, but not sure how to make a logging window like yours.

Cheers,
Hippy.

from jet-live.

hippyau avatar hippyau commented on May 13, 2024

It's totally my VS Code theme :) ....

I used std::cout << "\u001b[39m" << severityString << ": " << message << std::endl; to select the ANSI default foreground colour :)

from jet-live.

ddovod avatar ddovod commented on May 13, 2024

Hi. I'm facing similar issues with vscode sometimes. There's nothing to do with the library, it just produces strings. You can try to add

    ...
    "terminal" : "integrated",
    ...

to your launch.json configuration. I'm on linux (xubuntu 18.04) and logs in vscode looks fine on my side

from jet-live.

Related Issues (18)

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.