Page 1 of 1

How to code a slider that moves when the video is playing?

Posted: 18 Aug 2006 04:14
by chongyu
Hi, i'm very new to videolan and am using it in a VC++ project. Can anyone advise me on the above qn pls? I need the time slider to move along when the video is playing to indicate the playing time.
Is there any good example that i could reference? Thanks very much!!!
Samantha :D

Posted: 20 Aug 2006 01:34
by zorglub
Hello,

You could simply refer to VLC's slider code, in modules/gui/wxwidgets/dialogs/input_manager.cpp

I'm not sure I understand your question, though

Posted: 24 Aug 2006 09:26
by chongyu
Thanks very much zorglub for the info!

I think the source codes should be correct but i still need to figure out how to make it work. Seems that a lot of files have to be included.
Would be great if you could also advise on some sample application that use this slider codes.
Thanks!
Samantha