Build Your Own Arcade Controls Forum

Software Support => DOS/WinCab => Topic started by: dougman on December 30, 2006, 02:26:33 am

Title: Any "Action" to quit program?
Post by: dougman on December 30, 2006, 02:26:33 am
This is for my Media center/touchscreen/jukebox.
the system is PURELY touchscreen. No keyboard, no mouse, no physical buttons.
When running the wincab, I cannot seem to figure out how to quit the program via the screen. There doesn't seem to be an "exit" action for the skin configuration... (or is there?)

anyone have a solution to this?

Title: Re: Any "Action" to quit program?
Post by: Chris on December 30, 2006, 11:49:07 am
There isn't one in the default skin, you'll have to add one.
Pick a spot on the screen for the button, add a graphic if you want it visible, and assign the action to BTN_SHUTDOWN.

So it would look something like this:
Code: [Select]
[Icon21]
x=0
y=600
w=30
h=30
OffImage=exitbtn.jpg
Clickable=True
Action=BTN_SHUTDOWN

Note that these numbers are all made up and exitbtn.jpg doesn't exist; you'll need to find the appropriate coordinates (based on the background image) and create the button image if you want one.