1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

New class: DirectShowComponent, for native video playback in Windows. Added a demo page for this to the juce demo app.

This commit is contained in:
Julian Storer 2011-06-14 18:54:32 +01:00
parent a6f3466852
commit b94782d388
50 changed files with 2643 additions and 47 deletions

View file

@ -3213,11 +3213,11 @@ public:
return renderContext;
}
void updateWindowPosition (int x, int y, int w, int h, int)
void updateWindowPosition (const Rectangle<int>& bounds)
{
ScopedXLock xlock;
XMoveResizeWindow (display, embeddedWindow,
x, y, jmax (1, w), jmax (1, h));
bounds.getX(), bounds.getY(), jmax (1, bounds.getWidth()), jmax (1, bounds.getHeight()));
}
void swapBuffers()