Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ MXP and Pueblo ➜ MXP Image

MXP Image

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


Pages: 1  2  3  4  5  6  7 

Posted by Shadowfyr   USA  (1,790 posts)  Bio
Date Reply #90 on Mon 18 Jun 2007 03:57 AM (UTC)

Amended on Mon 18 Jun 2007 04:07 AM (UTC) by Shadowfyr

Message
On an interesting note, I decided to pop into Dr. Dobbs, to see if they had a forum. They do, but I can't get it to work right using IE-Tab *or* Firefox.. However, I did find this:

http://www.ddj.com/dept/cpp/184401825
Edit: http://www.ddj.com/dept/cpp/184401852 <- Second article on it.

Its a GUI library for C++ that allows you to code windows, attach items, etc., **like you do in other languages where is makes facking sense**. There isn't any complicated ATL templates that bloat code, obscure BS from MFC, and it can be used "on top of" either one. It might even provide the event management we need to let us fire script functions when an object does something, maybe. If the added size isn't too bad, it might be interesting to look at. Its got to be smaller than cramming wxlua into the client and still not being sure if it will work right. Its an interesting find, and maybe another piece in the puzzle (or maybe not).
Top

Posted by Isthiriel   (113 posts)  Bio
Date Reply #91 on Mon 18 Jun 2007 06:35 AM (UTC)
Message
As a side note, if there were scripting hooks into MUSHclient's MXP parser, so we could write handlers for MXP tags that MUSHclient doesn't support, then writing a plugin that popped up a new window with the image would be fairly straightforward.

Python has a decent http client in its standard library and the PIL (Python Imaging Library) has a free version and supports the most important image types (jpg/png/gif -- though not gif animation).
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #92 on Mon 18 Jun 2007 07:12 AM (UTC)
Message
Well, MUSHclient supports the <img> tag- to an extent.

However what you could do is intercept the tag using OnPluginMXPopenTag. Then that interception could do what you suggest.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Erendir   Germany  (47 posts)  Bio
Date Reply #93 on Sun 06 Apr 2008 09:17 PM (UTC)
Message
Quote:
As a side note, if there were scripting hooks into MUSHclient's MXP parser, so we could write handlers for MXP tags that MUSHclient doesn't support, then writing a plugin that popped up a new window with the image would be fairly straightforward.

Python has a decent http client in its standard library and the PIL (Python Imaging Library) has a free version and supports the most important image types (jpg/png/gif -- though not gif animation).


Quote:
However what you could do is intercept the tag using OnPluginMXPopenTag. Then that interception could do what you suggest.



do somebody made this plugin?..
Top

Posted by Shadowfyr   USA  (1,790 posts)  Bio
Date Reply #94 on Mon 07 Apr 2008 06:16 PM (UTC)

Amended on Mon 07 Apr 2008 06:18 PM (UTC) by Shadowfyr

Message
Afraid not Erendir. Until/unless someone redoes the internals of the client to provide controls for these things, there isn't any way to make such a plugin work anyway. Even something as simple as a window "needs" support to handle close events, or other things, which the script system can't receive at the moment. Until we fix that issue, somehow, most any plugin that tries to provide such a feature is going to be "forced" to call some external program. And that isn't any different than right now, where it shows the link and clicking it will open your browser.
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.


243,932 views.

This is page 7, subject is 7 pages long:  [Previous page]  1  2  3  4  5  6  7 

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

Go to topic:           Search the forum


[Go to top] top

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