Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Sat 21/05/2005 06:42:22

Title: Tiny little suggestion - bulletpoints in listboxes
Post by: Rui 'Trovatore' Pires on Sat 21/05/2005 06:42:22
I mean, it would be pretty nice also to have bulletpoints in listboxes. AGS doesn't automatically do it, and frankly I can't think of any workarounds to it. Which is a shame, because right around now a workaround'd be pretty much what I need. If anyone has any ideas, please share - but the suggestion remains-
Title: Re: Tiny little suggestion - bulletpoints in listboxes
Post by: monkey0506 on Sat 21/05/2005 06:57:28
You could possibly do some sort of graphical overlay (possibly a GUI with a greater Z, uh..., sheeze I'm tired, a z-thingy...).
Title: Re: Tiny little suggestion - bulletpoints in listboxes
Post by: Rui 'Trovatore' Pires on Sat 21/05/2005 07:33:04
Hmmm, that is certainly an interesting idea. I can make one big GUI that has a lot of bulletpoints vertically stashed, and resive that GUI as needed. Thanks!
Title: Re: Tiny little suggestion - bulletpoints in listboxes
Post by: Ashen on Sat 21/05/2005 12:43:33
Another suggestion:
Depending on the font you use, one of the 'hidden' characters (ascii 1 - 30) might do as a bullet - or if you make your own font, you could sacrifice one of the more useless standard characters - and you can write a simple function to add it:


function ListBoxBulletAdd (int gui, int object, string text) {
  string temp;
  StrFormat (temp, "* %s", text); // '*' is just a placeholder
  StrSetCharAt (temp, 0, 7); // change '*' to your chosen bullet
  ListBoxAdd (gui, object, temp);
}
Title: Re: Tiny little suggestion - bulletpoints in listboxes
Post by: Rui 'Trovatore' Pires on Sat 21/05/2005 14:32:00
That had occurred to me, but in some cases - like in this particular one - the graphic has at least three colours, which can't be done in regular fonts.
Title: Re: Tiny little suggestion - bulletpoints in listboxes
Post by: monkey0506 on Sat 21/05/2005 16:06:00
Quote from: Rui "Brisby" Pires on Sat 21/05/2005 07:33:04
Hmmm, that is certainly an interesting idea. I can make one big GUI that has a lot of bulletpoints vertically stashed, and resive that GUI as needed. Thanks!

You are very much welcome.  Ashen's idea would probably work better...except you said you needed multiple colors.  Good luck in any case.