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
Baldur
Beginner


Joined: 20 Sep 2002
Posts: 26
Location: Austria

PostPosted: Sat Aug 09, 2003 8:49 pm   

%btncolor
 
Hi there,

i have made some buttons to show me what spells are on and "Gauge"-Buttons for Hitpoints and Mana.
The caption of the button is defined like that:

%if( @wille = 1, WK, kein) 'WK is the name of a Spell

Can i change the the %btncolor or only the Font here directly?
I have tried it with
%if( @wille = 1, %ansi(bold,black)WK, %ansi(bold,black)kein)
but that doesn't work.

I also can't figure out the color for the default-button.
I just want the default-color (lightgrey with black text) to change to lightgrey with bold black test...

Are there only the %btncolor, %btnenable and %btnimage Functions to handle Buttons?

Thanks in advance,

Baldur
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 10, 2003 10:38 pm   
 
If it's going to be black either way, you can just set that when you create the button. And, (as you've probably discovered on your own) %ansi codes aren't recognized in the button caption and it doesn't support bold, italic, or blinking text. It probably doesn't support reverse or underlined either, but I didn't bother checking.

Yes, those are the only functions specifically designed for buttons.

The default color is 0. Black on grey is 112.
Reply with quote
DMUS
Beginner


Joined: 01 Sep 2003
Posts: 19
Location: USA

PostPosted: Mon Sep 01, 2003 11:04 pm   
 
Are there any plans to develop %ansi for buttons?

I like the idea of being able to create a blinking button to signal that a response is needed to an event from a MUD. That would save lots of screen space (i.e. less garbage scrolling on the screen). Just a thought.

I'll keep using blinking text for now (and I'll like it too!).
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Sep 02, 2003 2:15 am   
 
Currently I don't believe there are any plans to do this, although it is something that could and should be suggested to Zugg for the next zMud beta cycle. Currently Zugg is working on zMapper and zExplorer so the zMud is expected to see any new developments until next year.
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