The GUI is drawing correctly with the exception of the tabs. The Chat console starts correctly below the place where the headings_frame should be.
There are no errors showing up at all. Is there a way to echo the contents of a frame?
Vyzor, UI Manager for Mudlet
Re: Vyzor, UI Manager for Mudlet [Beta?]
You can access their Components and Stylesheet with those properties. Components will return a dictionary and Stylesheet will return a string. If there's a Stylesheet issue, Mudlet usually draws labels as plain ol' grey.
Re: Vyzor, UI Manager for Mudlet [Beta?]
All right, I played around with Vyzor a little and it seems, that only the colored echo functions don't work on frames. The text is echoed, but without color. But neither the wrapped nor the normal functions show colors on frames. Are the frames "normal" mudlet Labels? Basically my question is: is it a Vyzor or Mudlet bug?
Re: Vyzor, UI Manager for Mudlet [Beta?]
Frames normal Mudlet Labels. Here's the relevant portion of the Draw call (vyzor/base/frames.lua):
A look at Geyser (Mudlet/mudlet-lua/lua/geyser/GeyserLabel.lua) shows only a single echo function which supplies using css/html markup in the echo itself.
Also, keneanung, have you had any success with your tabbed chat? I apologize for not looking into it yet (received a design test in response to my application to Rockstar *fingers crossed*), but I hope to get the next Vyzor update out this coming week and it'd be helpful if you had any more to go on.
Vyzor is high-end manager for Mudlet Labels. I have had issues in the past when testing for (and before) Vyzor as concerns Stylesheets and echo'd text, so I'm thinking it's a Mudlet bug. I can't make any claims to the various echo functions; I simply redirect the calls on Vyzor objects to the named label. I don't know whether or not any of them are supposed to work on labels, or simply console text.
A look at Geyser (Mudlet/mudlet-lua/lua/geyser/GeyserLabel.lua) shows only a single echo function which supplies using css/html markup in the echo itself.
So, the issue here may be my ignorance. If that's the case, I'll remove the various echo's from Frames (should still work on consoles?) and replace it with something similar to Geyser's implementation.
Also, keneanung, have you had any success with your tabbed chat? I apologize for not looking into it yet (received a design test in response to my application to Rockstar *fingers crossed*), but I hope to get the next Vyzor update out this coming week and it'd be helpful if you had any more to go on.
Re: Vyzor, UI Manager for Mudlet [Beta?]
The echoes work perfectly for minicinsoles. So nothing to complain there. And I've been fiddling with those colored echoes, so I didn't get far with the chats I fear.
Re: Vyzor, UI Manager for Mudlet [Beta?]
If you add a Color Component directly (Brush isn't necessary) to a Frame, it will color the text.
Edited to add:
A Color Component, combined with a Font Component, should provide all possible text manipulations outside of alignment to Labels.
Will add this to the original post, but I used http://developer.qt.nokia.com/doc/qt-4. ... rence.html extensively when developing Vyzor. Each of Vyzor's components maps directly to each of the properties (that worked in Mudlet) listed there.
Edited to add:
A Color Component, combined with a Font Component, should provide all possible text manipulations outside of alignment to Labels.
Re: Vyzor, UI Manager for Mudlet [Beta?]
Hrm... I added the color to the Frame and echoed to it, but it is still grey. The Stylesheet shows green as color though...
Oh, wait... After a Vyzor.HUD:Draw() it showed up correctly. So we need to call draw after each change to the Stylesheet?
Oh, wait... After a Vyzor.HUD:Draw() it showed up correctly. So we need to call draw after each change to the Stylesheet?
Re: Vyzor, UI Manager for Mudlet [Beta?]
And I did fiddle with tabs now. I got the callback wrapper working, but the documentation seems a bit off there. The Callback property is lowercase and the CallbackArguments are labeled as "callback_args" in the docs.
Re: Vyzor, UI Manager for Mudlet [Beta?]
Internal variables are lowercase. The property (as it's called externally) is capitalized; internally it's stored lowercase. And "callback_args" was me being lazy; externally those are called with CallbackArguments.
And, currently, yes, you will need to redraw the Frame (shouldn't need to be the whole HUD). I have been considering different ways of handling dynamically changing values during runtime. Stylesheets should be a simple setLabel call, but I'm hoping to develop a better, generalized system.
And, currently, yes, you will need to redraw the Frame (shouldn't need to be the whole HUD). I have been considering different ways of handling dynamically changing values during runtime. Stylesheets should be a simple setLabel call, but I'm hoping to develop a better, generalized system.
Re: Vyzor, UI Manager for Mudlet [Beta?]
Noticed Mudlet printing this to stdout when playing with Vyzor:
Unknown property border-image-position
Unknown property border-image-position