]> git.saurik.com Git - wxWidgets.git/commitdiff
* Make some more work on the video for Linux (Unix hopefully as I use XAnim)
authorGuilhem Lavaux <lavaux@easynet.fr>
Fri, 18 Feb 2000 18:36:00 +0000 (18:36 +0000)
committerGuilhem Lavaux <lavaux@easynet.fr>
Fri, 18 Feb 2000 18:36:00 +0000 (18:36 +0000)
* Added some datas for Windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxMMedia2/board/mmbman.cpp
utils/wxMMedia2/board/mmboard.cpp
utils/wxMMedia2/board/mmboard.def [new file with mode: 0644]
utils/wxMMedia2/board/mmboard.rc [new file with mode: 0644]
utils/wxMMedia2/board/mondrian.ico [deleted file]
utils/wxMMedia2/board/mondros2.ico [new file with mode: 0644]

index 36c18d53afc4754f471ed6c7580e722a98f65870..9b8723a6d98964bf03f0ac6af1a2475dc0f0a421 100644 (file)
@@ -381,18 +381,19 @@ MMBoardTime MMBoardVideoFile::GetLength()
 {
   MMBoardTime btime;
 
-  btime.seconds = btime.minutes = btime.hours = 1;
+  btime.seconds = 1;
+  btime.minutes = btime.hours = 0;
   return btime;
 }
 
 bool MMBoardVideoFile::IsStopped()
 {
-  return FALSE;
+  return m_video_driver->IsStopped();
 }
 
 bool MMBoardVideoFile::IsPaused()
 {
-  return FALSE;
+  return m_video_driver->IsPaused();
 }
 
 wxString MMBoardVideoFile::GetStringType()
index fae860cf5500183986f90d7196e6ad0035d6aae1..f31444953452c6e8278296cc4f173223319d907e 100644 (file)
@@ -357,7 +357,7 @@ void MMBoardFrame::OpenVideoWindow()
 
   m_video_window = new wxWindow(m_panel, -1, wxDefaultPosition, wxSize(400, 400));
   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);
 }
diff --git a/utils/wxMMedia2/board/mmboard.def b/utils/wxMMedia2/board/mmboard.def
new file mode 100644 (file)
index 0000000..59f0db7
--- /dev/null
@@ -0,0 +1,7 @@
+NAME         Minimal
+DESCRIPTION  'Minimal wxWindows application'
+EXETYPE      WINDOWS
+CODE         PRELOAD MOVEABLE DISCARDABLE
+DATA         PRELOAD MOVEABLE MULTIPLE
+HEAPSIZE     4048
+STACKSIZE    16000
diff --git a/utils/wxMMedia2/board/mmboard.rc b/utils/wxMMedia2/board/mmboard.rc
new file mode 100644 (file)
index 0000000..3bf71d6
--- /dev/null
@@ -0,0 +1,6 @@
+mondrian ICON "mondrian.ico"
+#include "wx/msw/wx.rc"
+
+#define MINIMAL_QUIT   1
+#define MINIMAL_ABOUT  102
+
diff --git a/utils/wxMMedia2/board/mondrian.ico b/utils/wxMMedia2/board/mondrian.ico
deleted file mode 100644 (file)
index 2310c5d..0000000
Binary files a/utils/wxMMedia2/board/mondrian.ico and /dev/null differ
diff --git a/utils/wxMMedia2/board/mondros2.ico b/utils/wxMMedia2/board/mondros2.ico
new file mode 100644 (file)
index 0000000..8b0e58c
Binary files /dev/null and b/utils/wxMMedia2/board/mondros2.ico differ