Normal Topic Up and Down Arrows (Read 529 times)
MP
Full Member
***
Offline



Posts: 104
Joined: Sep 3rd, 2007
Up and Down Arrows
Mar 22nd, 2008 at 3:44pm
Print Post Print Post  
Any tricks to making up and down arrow buttons?  I'm fudging it by using ^ and v, but since they are slightly different, it offends my aesthetic sensibilities.   Cheesy
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Up and Down Arrows
Reply #1 - Mar 22nd, 2008 at 4:46pm
Print Post Print Post  
Use this image for ideas:



Use them in labels, like this:
@< for Previous,
@<| for First
@|> for Last
@> for Next

The @ sign may also be followed by the following optional "formatting" characters, in this order:

    * '#' forces square scaling, rather than distortion to the widget's shape.
    * +[1-9] or -[1-9] tweaks the scaling a little bigger or smaller.
    * [1-9] - rotates by a multiple of 45 degrees. '5' and '6' do no rotation while the others point in the direction of that key on a numeric keypad.

Thus, to show a very large arrow pointing downward you would use the label string "@+92->".

And, @@ will show the @ symbol.

Also, from my old notes:
/*
RelabelTreeItem can use the browser formatting codes:
  @. Print rest of line, don't look for more '@' signs
  @@ Print rest of line starting with '@'
  @l Use a large (24 point) font
  @m Use a medium large (18 point) font
  @s Use a small (11 point) font
  @b Use a bold font (adds FL_BOLD to font)
  @i Use an italic font (adds FL_ITALIC to font)
  @f or @t Use a fixed-pitch font (sets font to FL_COURIER)
  @c Center the line horizontally
  @r Right-justify the text
  @B0, @B1, ... @B255 Fill the backgound with fl_color(n)      
  @C0, @C1, ... @C255 Use fl_color(n) to draw the text
  @F0, @F1, ... Use fl_font(n) to draw the text
  @S1, @S2, ... Use point size n to draw the text
  @u or @_ Underline the text.
  @- draw an engraved line through the middle.
*/


  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
MP
Full Member
***
Offline



Posts: 104
Joined: Sep 3rd, 2007
Re: Up and Down Arrows
Reply #2 - Mar 22nd, 2008 at 5:40pm
Print Post Print Post  
Sweet!  Undocumented goodness!   Smiley
  
Back to top
 
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Up and Down Arrows
Reply #3 - Mar 26th, 2008 at 7:30pm
Print Post Print Post  
Quote:
Thus, to show a very large arrow pointing downward you would use the label string "@+92->".


Pronouncing "@+92->" while trapped in the "Maze of Twisty Passages, All Alike" will also transport you to the North side of the Chasm, which is a good way to escape if you're about to be eaten by a Grue.
  

**
Captain Infinity
Back to top
IP Logged