What is the code that I have to add to the file layout.inc, or to titlebar.inc, for make reversed the bevaviour of the main Bypass button? I want to turn it to a "Power" button.
By default it turns off with a value 127, but I want to use 0 instead and 127 for turn on.
So far, I've changed it name on titlebar.inc to "Power" and the reverse="true" to "false" (which is the same that delete it).
Code: Select all
<!-- Bypass -->
<REPEAT count="$show_bypass$!=0">
<IMAGE_PARAM_BUTTON param_id="dsp.input0" image="$THEME_PATH$/titlebar/power_button.png" image_hover="$THEME_PATH$/titlebar/power_button_hi.png" image_focus="$THEME_PATH$/titlebar/power_button_hi.png" reverse="false" cursor="system::hand">
<TOOLTIP text="Power"/>
</IMAGE_PARAM_BUTTON>
</REPEAT>