* Make some more work on the video for Linux (Unix hopefully as I use XAnim)

* Added some datas for Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
2000-02-18 18:36:00 +00:00
parent 86fe74c5cd
commit e1c324c375
6 changed files with 18 additions and 4 deletions

View File

@@ -381,18 +381,19 @@ MMBoardTime MMBoardVideoFile::GetLength()
{ {
MMBoardTime btime; MMBoardTime btime;
btime.seconds = btime.minutes = btime.hours = 1; btime.seconds = 1;
btime.minutes = btime.hours = 0;
return btime; return btime;
} }
bool MMBoardVideoFile::IsStopped() bool MMBoardVideoFile::IsStopped()
{ {
return FALSE; return m_video_driver->IsStopped();
} }
bool MMBoardVideoFile::IsPaused() bool MMBoardVideoFile::IsPaused()
{ {
return FALSE; return m_video_driver->IsPaused();
} }
wxString MMBoardVideoFile::GetStringType() wxString MMBoardVideoFile::GetStringType()

View File

@@ -357,7 +357,7 @@ void MMBoardFrame::OpenVideoWindow()
m_video_window = new wxWindow(m_panel, -1, wxDefaultPosition, wxSize(400, 400)); m_video_window = new wxWindow(m_panel, -1, wxDefaultPosition, wxSize(400, 400));
m_video_window->SetBackgroundColour(*wxBLACK); m_video_window->SetBackgroundColour(*wxBLACK);
m_sizer->Prepend(m_video_window, 0, wxCENTRE, 0); m_sizer->Prepend(m_video_window, 0, wxGROW | wxSHRINK | wxCENTRE, 0);
m_sizer->Fit(this); m_sizer->Fit(this);
} }

View File

@@ -0,0 +1,7 @@
NAME Minimal
DESCRIPTION 'Minimal wxWindows application'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 4048
STACKSIZE 16000

View File

@@ -0,0 +1,6 @@
mondrian ICON "mondrian.ico"
#include "wx/msw/wx.rc"
#define MINIMAL_QUIT 1
#define MINIMAL_ABOUT 102

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

Binary file not shown.