Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Darkwytch
Novice


Joined: 20 Feb 2004
Posts: 41
Location: USA

PostPosted: Sat Jan 29, 2005 7:43 pm   

Colors in Gauges/Buttons
 
I was wondering if it was possible to have more then one color in gauges or a buttons. I know you have the background color and the foreground *wording color* but what if i had a gauge that had hp and the numbers... and i wanted the word hp a completely different color then the numbers that were the hp....


the reason i ask is cuz i made my prompt into a Gauge and it has a black background and white wording and... it all just kinda bleeds together.... and well just wondering... any idea? would %ansi() work in this case?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jan 30, 2005 1:05 am   
 
Nope, %ansi() doesn't expand/execute in a button caption. The only other way to color a button caption is via the %btncol() function and that affects the entire thing. Using that function, however, you can easily change the button colors when the values get to a certain point.
_________________
EDIT: I didn't like my old signature
Reply with quote
Darkwytch
Novice


Joined: 20 Feb 2004
Posts: 41
Location: USA

PostPosted: Sun Jan 30, 2005 1:30 am   
 
well thats not cool :( thanks anyways... appriciate it
Reply with quote
KillerKitty
Beginner


Joined: 15 Jun 2005
Posts: 21

PostPosted: Thu Jun 16, 2005 1:04 am   
 
Is there any way to put images in Gauges, like this picture from the product page for zMUD shows?
_________________
www.bbc.co.uk/doctorwho
EXTERMINATE
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Thu Jun 16, 2005 2:39 am   
 
will it accept hexidecimal colors?
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jun 16, 2005 2:44 am   
 
Take a look at the compass.zsc script file that comes with zMUD. That's what is used to generate the picture shown above. And yes, zMUD accepts both color names (any standard HTML color name), or hex colors.
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Fri Aug 19, 2005 2:51 pm   
 
Just curious, where do the icons come from?
#call %btnenable(btnn,%ismember(n,%1))
obviously btnn is the button pointing north, but WHERE did it come from?
Like the heart, the diamond. the running man, and the sword...where?
_________________
http://www.Aardwolf.com
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Aug 20, 2005 1:28 am   
 
From a list of precompiled images, without zmud in front of me this is fuzzy but on one of the buttons property tab windows there is an option for a bitmap image/icon, and right next to that is a lil down arrow or something, click on that button and a lil window opens up with the available precompiled images
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Sat Aug 20, 2005 2:26 am   
 
Yeap, yer right. never noticed the down arrow, just the folder next to it.
_________________
http://www.Aardwolf.com
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net