[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Miniwindows
. . -> [Subject]  Miniwindows and widgets
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Miniwindows and widgets

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Wed 11 Mar 2009 08:30 PM (UTC)
Message
Is there any kind of standardized way of dealing with "GUI widgets" in miniwindows, or is it just a blank canvas that you need to manage yourself?

For instance, I might want to create a text list in a widget that is basically just an output box to which I append lines. My understanding is that I would have to do this myself.

It gets more complicated with things like combo boxes, or automatic insertion of MXP-like hyperlink popup windows. You need to manage the clicks yourself and all of that.

Is there any plan to allow for standard widgets of the sort? Without going to the level of a full GUI toolkit, it might be nice to have some kind of standard support. It could perhaps all even be implemented in a scripting language.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (21,321 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Wed 11 Mar 2009 09:45 PM (UTC)
Message
Right now it is really a blank canvas. The tools are there, but to make a standard or simplified interface isn't right now. Of course, in a game environment, everyone may have a different idea about the look and feel.

So far I have done one module:

http://www.gammon.com.au/forum/?id=8947

That lets you easily draw little "hover over" windows.

Also Willfa did a module to draw gauges:

http://www.gammon.com.au/forum/?id=9097

I started work on a tabbed windows interface which is previewed here:

http://www.gammon.com.au/forum/?id=8936

The problem with that particular one, as written, is it only really supported one tabbed window, and a fair bit of mucking around (that is, cleaning up the code) is required to support them in a more general way.

Certainly there is scope for a more modular approach, and if someone wanted to do that, it would be fantastic. I also started work on doing a scrolling text window, which is technically feasible now you can drag things around.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #2 on Wed 11 Mar 2009 09:52 PM (UTC)
Message
OK, thanks. The context to the question is a discussion over on MudBytes where we're talking about creating a ZMP [1] package to talk subwindows. I reallyreally want to be able to use it with MUSHclient, so I'm trying to figure out what would be workable in MUSHclient. As soon as they start talking about "full featured windows" that work the same way as the main window, I get a little uneasy because that implies a whole lot of work would need to be done to get miniwindows be a lot smarter.

I'm pretty excited about the possibilities here and have recently started turning my attention to how this could work in practice. Now all I need is just a little more spare time :)


[1] ZMP is basically a standard for sending commands with parameters with telnet subnegotiation. It's essentially a slightly more general form of what you implemented with Aardwolf to talk "invisibly". I'm not sure how useful it is beyond being just a communication standard but even just that is kind of handy.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #3 on Thu 12 Mar 2009 04:04 PM (UTC)
Message
I realized I forgot to give a link to the MB thread, so here it is: http://mudbytes.net/index.php?a=topic&t=1366

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,017 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]