Search found 1142 matches
- Sat Jun 15, 2013 5:47 pm
- Forum: Mudlet Development
- Topic: Simple Window Handling
- Replies: 17
- Views: 13067
Re: Simple Window Handling
Having that functionality would dramatically improve Geyser, and allow for much more complicated layouts without the excessive use of container type objects. Though, I still have no idea why it is so slow when it comes to resizing. Yes, you have to jump through some hoops to calculate measurements b...
- Sat Jun 15, 2013 3:42 am
- Forum: Mudlet Development
- Topic: Simple Window Handling
- Replies: 17
- Views: 13067
Re: Simple Window Handling
So, I'm not completely done with this, still have a few bits of optimization I want to throw in to speed things up, as well as a math function for it so you can do basic math on the strings it uses for measurements. But, using this in place of Geyser to manage my GUI has produced dramatic speed impr...
- Fri Jun 14, 2013 2:46 pm
- Forum: Mudlet Development
- Topic: Simple Window Handling
- Replies: 17
- Views: 13067
Re: Simple Window Handling
Updated the code above so any currently managed window by the same name is overwritten when you add one in (before, it threw an error). Also, you can now specify measurements using subtraction as well as addition. (So, you can use something like this: "12% + 50 - 5%") That way you can easi...
- Thu Jun 13, 2013 10:13 pm
- Forum: Mudlet Development
- Topic: Simple Window Handling
- Replies: 17
- Views: 13067
Simple Window Handling
Sometimes, Geyser and Vyzor can be overly complicated for the task at hand, and learning a whole new system just to take advantage of one or two of their features can be a real pain. Also, while they both allow sizing and placement in either pixels or percents of the screen, neither seems to allow u...
- Thu Jun 13, 2013 2:55 am
- Forum: Mudlet Development
- Topic: New Gauge Functions
- Replies: 6
- Views: 5622
Re: New Gauge Functions
Fixed. function createGauge(gaugeName, width, height, x, y, gaugeText, r, g, b, orientation) gaugeText = gaugeText or "" if type(r) == "string" then orientation = g r,g,b = getRGB(r) elseif r == nil then orientation = orientation or g -- default colors r,g,b = 128,128,128 end ori...
- Thu Jun 13, 2013 2:41 am
- Forum: Mudlet Development
- Topic: New Gauge Functions
- Replies: 6
- Views: 5622
Re: New Gauge Functions
Hmm. I just realized that I didn't allow for a nil argument in place of a color name which can then be followed by an orientation. Not a huge deal, but I'll see if I can't fix that.
- Thu Jun 13, 2013 2:11 am
- Forum: Mudlet Development
- Topic: New Gauge Functions
- Replies: 6
- Views: 5622
Re: New Gauge Functions
Okay, tweaked so the argument order is changed, as requested. I went and did a quick retest to be sure that everything worked as expected, but you should probably give it a test as well just to be sure. The only significant thing of note is that the text layer doesn't take any CSS styling unless giv...
- Wed Jun 12, 2013 11:28 pm
- Forum: Mudlet Development
- Topic: New Gauge Functions
- Replies: 6
- Views: 5622
New Gauge Functions
I took the gauge functions from GUIUtils, modified them to use the different orientations that are available in Geyser (horizontal, vertical, goofy, and batty) and added a third layer on top for text display to avoid the text getting squished when the gauge value gets too small. Function call for cr...
- Tue Jun 11, 2013 2:08 pm
- Forum: Mudlet Development
- Topic: Problem with ANSI Escape sequences
- Replies: 9
- Views: 11617
Re: Problem with ANSI Escape sequences
I'm not going to pretend that I know what I'm doing when it comes to VT100 anything, but the original post referenced \t and \r in conjunction with ANSI codes (which seem to be co-referenced when talking about VT100 when I looked it up). Regardless, the first poster looked like someone running a MUD...
- Mon Jun 10, 2013 8:44 pm
- Forum: Mudlet Development
- Topic: Problem with ANSI Escape sequences
- Replies: 9
- Views: 11617
Re: Problem with ANSI Escape sequences
First, I have to say I'm not 100% behind the decision to abandon original telnet functionality. However, given how things are, you guys have consistently given sub-standard answers to people looking for help in this regard, especially since these codes CAN be handled within Mudlet, the person simply...