Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
1bb79815
Kaydet (Commit)
1bb79815
authored
Eyl 14, 2013
tarafından
Minh Ngo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Media zoom for Avmedia/vlc
Change-Id: I2870b3fbeaa6fbb623f21dfde9a33a6048c60b85
üst
6fe1efc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
vlcwindow.cxx
avmedia/source/vlc/vlcwindow.cxx
+23
-4
vlcwindow.hxx
avmedia/source/vlc/vlcwindow.hxx
+1
-0
No files found.
avmedia/source/vlc/vlcwindow.cxx
Dosyayı görüntüle @
1bb79815
...
...
@@ -17,14 +17,27 @@ void SAL_CALL VLCWindow::update() throw (css::uno::RuntimeException)
{
}
::
sal_Bool
SAL_CALL
VLCWindow
::
setZoomLevel
(
css
::
media
::
ZoomLevel
)
throw
(
css
::
uno
::
RuntimeException
)
::
sal_Bool
SAL_CALL
VLCWindow
::
setZoomLevel
(
css
::
media
::
ZoomLevel
eZoomLevel
)
throw
(
css
::
uno
::
RuntimeException
)
{
return
false
;
sal_Bool
bRet
=
false
;
if
(
media
::
ZoomLevel_NOT_AVAILABLE
!=
meZoomLevel
&&
media
::
ZoomLevel_NOT_AVAILABLE
!=
eZoomLevel
)
{
if
(
eZoomLevel
!=
meZoomLevel
)
{
meZoomLevel
=
eZoomLevel
;
}
bRet
=
true
;
}
return
bRet
;
}
css
::
media
::
ZoomLevel
SAL_CALL
VLCWindow
::
getZoomLevel
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
css
::
media
::
ZoomLevel_NOT_AVAILABLE
;
return
meZoomLevel
;
}
void
SAL_CALL
VLCWindow
::
setPointerType
(
::
sal_Int32
)
throw
(
css
::
uno
::
RuntimeException
)
...
...
@@ -70,7 +83,13 @@ void SAL_CALL VLCWindow::setPosSize( sal_Int32, sal_Int32, sal_Int32, sal_Int32,
awt
::
Rectangle
SAL_CALL
VLCWindow
::
getPosSize
()
throw
(
uno
::
RuntimeException
)
{
return
awt
::
Rectangle
();
awt
::
Rectangle
aRet
;
aRet
.
X
=
aRet
.
Y
=
0
;
aRet
.
Width
=
320
;
aRet
.
Height
=
240
;
return
aRet
;
}
void
SAL_CALL
VLCWindow
::
setVisible
(
sal_Bool
)
...
...
avmedia/source/vlc/vlcwindow.hxx
Dosyayı görüntüle @
1bb79815
...
...
@@ -27,6 +27,7 @@ namespace vlc {
class
VLCWindow
:
public
::
cppu
::
WeakImplHelper2
<
::
com
::
sun
::
star
::
media
::
XPlayerWindow
,
::
com
::
sun
::
star
::
lang
::
XServiceInfo
>
{
::
com
::
sun
::
star
::
media
::
ZoomLevel
meZoomLevel
;
public
:
VLCWindow
();
...
...
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