jaytea commented on a Page, Tweeks MP3  -  Jun 07, 2011

Menu * {
^^^ is a nono
dont ask me to explain i don't remember why.

'menu *' applies to all custom @windows as well as the other areas you mentioned. this may be desirable, but rarely is. i wouldn't want an mp3 player's popups interfering with a picwin game's popups, for example.

but yea you can get rid of the Resume button as shown above since you havent said anything about that one

indeed, it's common to use a single button for play/pause/resume with the symbols/text on the button changing to represent its current function. here's an example of a trick you can use to create a depressed button effect:

dialog eg {
  size -1 -1 50 50
  button "▶", 1, 15 15 20 20
  button "‖", 2, 15 15 20 20, hide flat
}

on *:dialog:eg:sclick:*:{
  did -h eg $did
  did -v eg $xor(3, $did)
}

since you can't change the style of a button with /did, you can have 2 overlapping buttons, one flat one not, and simply show/hide them alternately ;P

edit: hmm, apparently the double vertical bar symbol i used for pause up there shows as a single bar on hawkee. it should show correctly on mIRC, or we could always just use a double pipe, '||'.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.