Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
a92e4087
Commit
a92e4087
authored
Dec 05, 2009
by
Ludovic Fauvet
Browse files
Expose a clear method from the timeline
parent
31ac41d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/GUI/Timeline.cpp
View file @
a92e4087
...
...
@@ -110,6 +110,12 @@ void Timeline::changeEvent( QEvent *e )
}
}
void
Timeline
::
clear
()
{
// The main workflow will ask the GUI to clear itself.
m_mainWorkflow
->
clear
();
}
void
Timeline
::
changeZoom
(
int
factor
)
{
m_tracksRuler
->
setPixelPerMark
(
factor
);
...
...
src/GUI/Timeline.h
View file @
a92e4087
...
...
@@ -46,6 +46,7 @@ public:
static
Timeline
*
getInstance
()
{
return
m_instance
;
}
public
slots
:
void
clear
();
void
changeZoom
(
int
factor
);
void
setDuration
(
int
duration
);
void
setTool
(
ToolButtons
button
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment