Comments (9)
Hey! Looks nice.
Afaiu you're talking about Log widget, right?
from jet-live.
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.
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.
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.
Deal. Anyway, if I can help you somehow with something, just ping me on email. Good luck!
from jet-live.
@codecnotsupported would you like to post your code?
from jet-live.
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.
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!
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?
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.
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.
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)
- [Newbie Question] Why wrap in std::unique_ptr? HOT 2
- Think about using relocation information instead of just copying variables HOT 1
- Constructors of "old" statics in the library with new code should not be called
- Inconsistent behaviour
- Premake support? HOT 4
- Think about reloading code in multithreaded app HOT 2
- [CMake] The compilation flags and configuration is not applied to the "main" project when adding this library via add_subdirectory() HOT 16
- Initial macOS support HOT 1
- macOS crash HOT 29
- Issues with fuse/gocryptfs HOT 10
- bugfix for using bear HOT 1
- strange behaviour HOT 3
- `reload` command from example code `cannot hook functions` on Fedora 30 HOT 3
- macOS 11 Support HOT 2
- Statics transfer in macos implementation HOT 1
- Build failure on gcc 8.2 HOT 4
- Symbols with the same names HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jet-live.