Software Support > DOS/WinCab

Newbie questions (can WinCab do this?)

<< < (2/3) > >>

Chris:

--- Quote from: RPO R6V on August 26, 2006, 10:51:15 pm ---But the "clear queue" button doesn't work on the PC I'm using as a jukebox.

--- End quote ---
Hm.  Does the button not actually click, or does it click but the function doesn't execute?


--- Quote ---  Oddly, it works when I run WinCab on my other PC (the one I'm typing on now).  But even then it doesn't do quite what I had in mind.  It clears the queue, but it also aborts the song currently playing.  The "clear queue" button in AJ7 clears the queue of upcoming songs, but the song currently playing keeps playing. 

--- End quote ---
That particular command is relatively new... I suppose I can make "BTN_CLEARQUEUE" clear only the queue and make a new "BTN_CLEARALL" that clears both the queue and the currently playing song...

Chris:

--- Quote from: Chris on August 27, 2006, 10:21:53 pm ---That particular command is relatively new... I suppose I can make "BTN_CLEARQUEUE" clear only the queue and make a new "BTN_CLEARALL" that clears both the queue and the currently playing song...

--- End quote ---
OK, this is exactly what I've done.  Hoping to get a release up tonight.

RPO R6V:
Looking forward to it!

If it helps: The "clear song" button is invisible until I roll the cursor over it, at which point the white outline of a square appears.  I click that and it works.  Where the "clear queue" button is place, there is always the black outline of a square, and then when I roll the curor over that, the white outline of a square appears within the black square outline.  I click that and nothing happens.

Chris:

--- Quote from: RPO R6V on August 28, 2006, 09:01:03 pm ---Looking forward to it!

If it helps: The "clear song" button is invisible until I roll the cursor over it, at which point the white outline of a square appears.  I click that and it works.  Where the "clear queue" button is place, there is always the black outline of a square, and then when I roll the curor over that, the white outline of a square appears within the black square outline.  I click that and nothing happens.

--- End quote ---
Odd.  Can you post your skin file? It works fine for me... something is causing the "selected" state to be forced on it keeping you from clicking it...

RPO R6V:
Okay, here goes:

# DOSCab/WinCab Jukebox Skin File
# Version 3.0
# By Chris La Mantia

# Notes:
# - Supported image formats at this time are JPG, BMP, LBM, PCX, and TGA.
# - Colors may be specified as hexadecimal RGB codes (FFA0CC) or by name.
#   A reference to named colors can be found in docs/colors.htm.

[skin]
# All of the dimensions of objects in this file are relative to
# this image.

background=bgmain.jpg

# Display definitions
#
# There are four displays: the Now Playing display, the Coming Up/Most
# Popular Songs display, the Selection display, and the Credit display.
# Status messages appear on the Coming Up display.
#
# Displays have the following parameters:
#
# enabled - Set to True to enable the display, False to disable it. 
# You may, for example, want to disable the Credit display if your
# jukebox is not set to accept credits.
#
# x, y, w, and h - The position and size of the display.  These are all
# relative to the skin background image and not the screen resolution.
#
# lines - Sets the number of lines used by the Now Playing and Coming Up
# displays.  The size of the dot-matrix display font will automatically
# be adjusted to fit the specified number of lines in the height of the
# display.  The Selection and Credit displays always show only one line.
#
# color and bgcolor - Sets the color of the font and the color of the
# display background.  See the note on how to specify colors above.

[Selection]

# SelectionMethod: Alphanumeric,Numeric,SingleLetter,SingleNumber
SelectionMethod=Alphanumeric
UseZero=False
HighLetter=D
HighNumber=4
DiscAddress=Relative

[Display1]
# Now Playing display
enabled=True
x=152
y=200
w=292
h=78
lines=4
color=palegreen
bgcolor=202020

[Display2]
# Song List display
enabled=True
x=577
y=200
w=292
h=78
lines=4
color=palegreen
bgcolor=202020

[Display3]
# Selection display
enabled=True
x=485
y=347
w=56
h=24
color=palegreen
bgcolor=202020

[Display4]
# Credit Display
enabled=True
x=485
y=299
w=56
h=24
color=palegreen
bgcolor=202020

[TitleStrips]
# The image file is scaled and stretched to fit the Width and Height below

Background=jb45lb01.jpg

# bgcolor is only seen if no title strip image is specified

bgcolor=white

SongsPerStrip=Double
Font=bluehigh.ttf
FontSize=25
FontColor=black
SmallFont=bluecond.ttf
SmallFontSize=25
Width=301
Height=100
StripCount=8
FontSmoothing=true

[StripGrid]
x=165
y=319
rows=4
cols=2
rowspace=30
colspace=92
order=Horizontal

[Icon1]
x=464
y=193
w=93
h=94
OnImage=bj_coins.jpg
OffImage=bj_cnoff.jpg
Clickable=False
Action=MSG_CREDITS

[Icon2]
x=624
y=281
w=11
h=11
OnImage=r-ledoff.bmp
OffImage=r-ledon.bmp
Clickable=False
Action=MSG_POPULAR

[Icon3]
x=738
y=281
w=11
h=11
OnImage=r-ledon.bmp
OffImage=r-ledoff.bmp
Clickable=False
Action=MSG_POPULAR

[Icon4]
x=477
y=413
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_A

[Icon5]
x=514
y=413
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_1

[Icon6]
x=477
y=450
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_B

[Icon7]
x=514
y=450
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_2

[Icon8]
x=477
y=487
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_C

[Icon9]
x=514
y=487
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_3

[Icon10]
x=477
y=524
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_D

[Icon11]
x=514
y=524
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_4

[Icon12]
x=477
y=561
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_SELECT

[Icon13]
x=477
y=598
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_CLEAR

[Icon14]
x=477
y=635
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_POPULAR

[Icon15]
x=477
y=672
w=33
h=70
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_PREVPG

[Icon16]
x=514
y=672
w=33
h=70
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_NEXTPG

[Icon17]
x=477
y=746
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_PAUSE

[Icon18]
x=0
y=844
w=52
h=52
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_SKIP

[Icon19]
x=971
y=844
w=52
h=52
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_CLEARQUEUE

[Icon20]
x=477
y=783
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_VOL_DOWN
OffImage=btnvoldn.jpg

[Icon21]
x=514
y=783
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_VOL_UP
OffImage=btnvolup.jpg

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version