</sect4>
<sect4 id="textscrolling">
<title>scrolling</title>
- <para>Scrolling behaviour of the text (only when it doesn't fit in the <link linkend="textwidth">width</link> of the control). Possible values are 'auto', 'autooff', 'manual' and 'none'. If this attribute is set to 'auto', the text automatically starts scrolling. The user can drag the text, and click on it to start/stop the scrolling. If this attribute is set to 'manual', the text only scrolls when dragged by the user. If this attribute is set to 'none', no scrolling is possible at all. Available since VLC 0.8.5.</para>
+ <para>Scrolling behaviour of the text (only when it doesn't fit in the <link linkend="textwidth">width</link> of the control). Possible values are 'auto', 'manual' and 'none'. If this attribute is set to 'auto', the text automatically starts scrolling. The user can drag the text, and click on it to start/stop the scrolling. If this attribute is set to 'manual', the text only scrolls when dragged by the user. If this attribute is set to 'none', no scrolling is possible at all. Available since VLC 0.8.5.</para>
<para>Default value: auto</para>
</sect4>
</sect3>
&m_cmdManualStill );
m_fsm.addTransition( "manual1", "motion", "manual1", &m_cmdMove );
}
- else if( m_scrollMode == kAutomatic || m_scrollMode == kAutomaticOff )
+ else if( m_scrollMode == kAutomatic )
{
m_fsm.addTransition( "still", "mouse:left:down", "manual1",
&m_cmdToManual );
}
// Initial state
- if( m_scrollMode == kAutomatic )
- m_fsm.setState( "outMoving" );
- else
- m_fsm.setState( "outStill" );
+ m_fsm.setState( "outStill" );
// Observe the variable
m_rVariable.addObserver( this );
// width of the control. The user can still stop it or make it
// scroll manually with the mouse.
kAutomatic,
- // Same as above butt default state is off
- kAutomaticOff,
// Only manual scrolling is allowed (with the mouse)
kManual,
// No scrolling of the text is allowed
CtrlText::Scrolling_t scrolling;
if( rData.m_scrolling == "auto" )
scrolling = CtrlText::kAutomatic;
- else if( rData.m_scrolling == "autooff" )
- scrolling = CtrlText::kAutomaticOff;
else if( rData.m_scrolling == "manual" )
scrolling = CtrlText::kManual;
else if( rData.m_scrolling == "none" )
p_sd->p_sys->pp_input[i] = NULL;
}
}
+ free( p_sd->p_sys->pp_input );
if( p_playlist )
{
playlist_NodeDelete( p_playlist, p_sys->p_node, VLC_TRUE, VLC_TRUE );
<Button x="408" y="2" up="close_up" over="close_over" down="close_down" lefttop="righttop" rightbottom="righttop" action="vlc.quit()" tooltiptext="Quit VLC"/>\r
\r
\r
- <Text x="21" y="207" alignment="left" color="#FFFFFF" font="mainfont" lefttop="leftbottom" rightbottom="rightbottom" width="320" text="$N" visible="not dvd.isActive" scrolling="autooff"/>\r
+ <Text x="21" y="207" alignment="left" color="#FFFFFF" font="mainfont" lefttop="leftbottom" rightbottom="rightbottom" width="320" text="$N" visible="not dvd.isActive"/>\r
\r
- <Text x="125" y="207" alignment="left" color="#FFFFFF" font="mainfont" lefttop="leftbottom" rightbottom="rightbottom" width="215" text="$N" visible="dvd.isActive" scrolling="autooff"/>\r
+ <Text x="125" y="207" alignment="left" color="#FFFFFF" font="mainfont" lefttop="leftbottom" rightbottom="rightbottom" width="215" text="$N" visible="dvd.isActive"/>\r
<Text x="342" y="208" alignment="right" color="#FFFFFF" font="defaultfont" lefttop="rightbottom" rightbottom="rightbottom" width="88" text="$T/$D"/>\r
<Button x="21" y="207" up="dvd_prevtitle" action="dvd.previousTitle()" tooltiptext="Play Previous Title on DVD" lefttop="leftbottom" rightbottom="rightbottom" visible="dvd.isActive"/>\r
<Button x="41" y="207" up="dvd_prevchapter" action="dvd.previousChapter()" tooltiptext="Go to Previous Chapter of Title" lefttop="leftbottom" rightbottom="rightbottom" visible="dvd.isActive"/>\r
<Anchor x="300" y="0" priority="3"/>\r
<Image x="0" y="0" action="move" image="minimal_bg"/>\r
\r
- <Text x="10" y="20" alignment="left" color="#FFFFFF" font="mainfont" text="$N" width="190" scrolling="autooff"/>\r
+ <Text x="10" y="20" alignment="left" color="#FFFFFF" font="mainfont" text="$N" width="190"/>\r
<Text x="202" y="21" alignment="right" color="#FFFFFF" font="defaultfont" text="$T/$D" width="88"/>\r
<Slider x="10" y="42" points="(5,0),(275,0)" up="timeslider" value="time" tooltiptext="$T / $D"/>\r
\r