|
Darkwytch Novice
Joined: 20 Feb 2004 Posts: 41 Location: USA
|
Posted: 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? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Darkwytch Novice
Joined: 20 Feb 2004 Posts: 41 Location: USA
|
Posted: Sun Jan 30, 2005 1:30 am |
well thats not cool :( thanks anyways... appriciate it
|
|
|
|
KillerKitty Beginner
Joined: 15 Jun 2005 Posts: 21
|
Posted: 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?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Thu Jun 16, 2005 2:39 am |
will it accept hexidecimal colors?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: 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? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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
|
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Sat Aug 20, 2005 2:26 am |
Yeap, yer right. never noticed the down arrow, just the folder next to it.
|
|
|
|
|
|