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
2c27c563
Kaydet (Commit)
2c27c563
authored
Eki 29, 2013
tarafından
Ptyl Dragon
Kaydeden (comit)
Jan Holesovsky
Kas 15, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
created a long long unit for MLOContentSize
Change-Id: I41910058088161119d3cae8ca625d456652d890f
üst
745517c1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
12 deletions
+23
-12
touch.h
include/touch/touch.h
+14
-1
viewsh.cxx
sw/source/core/view/viewsh.cxx
+9
-0
iosinst.cxx
vcl/ios/iosinst.cxx
+0
-11
No files found.
include/touch/touch.h
Dosyayı görüntüle @
2c27c563
...
...
@@ -90,6 +90,19 @@ typedef CGRect MLORect;
typedef
basegfx
::
B2IBox
MLORect
;
#endif
typedef
long
long
MLOContentSizeDimension
;
struct
MLOContentSize
{
MLOContentSizeDimension
width
;
MLOContentSizeDimension
height
;
};
typedef
struct
MLOContentSize
MLOContentSize
;
CG_INLINE
MLOContentSize
MLOContentSizeMake
(
MLOContentSizeDimension
width
,
MLOContentSizeDimension
height
)
{
MLOContentSize
size
;
size
.
width
=
width
;
size
.
height
=
height
;
return
size
;
}
void
touch_ui_selection_start
(
MLOSelectionKind
kind
,
const
void
*
documentHandle
,
MLORect
*
rectangles
,
...
...
@@ -132,7 +145,7 @@ context, contextHeight, contextWidth specify where to draw.
*/
void
touch_lo_draw_tile
(
void
*
context
,
int
contextWidth
,
int
contextHeight
,
int
tilePosX
,
int
tilePosY
,
int
tileWidth
,
int
tileHeight
);
void
touch_lo_copy_buffer
(
const
void
*
source
,
size_t
sourceWidth
,
size_t
sourceHeight
,
size_t
sourceBytesPerRow
,
void
*
target
,
size_t
targetWidth
,
size_t
targetHeight
);
CG
Size
touch_lo_get_content_size
();
MLOContent
Size
touch_lo_get_content_size
();
void
touch_lo_mouse_drag
(
int
x
,
int
y
,
MLOMouseButtonState
state
);
// Move the start of the selection to (x,y)
...
...
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
2c27c563
...
...
@@ -1815,6 +1815,15 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
}
Application
::
ReleaseSolarMutex
();
}
extern
"C"
MLOContentSize
touch_lo_get_content_size
()
{
SwWrtShell
*
pViewShell
=
GetActiveWrtShell
();
if
(
pViewShell
)
{
}
return
MLOContentSizeMake
(
0
,
0
);
}
#endif
extern
"C"
void
touch_ui_selection_none
()
{}
...
...
vcl/ios/iosinst.cxx
Dosyayı görüntüle @
2c27c563
...
...
@@ -414,17 +414,6 @@ touch_lo_copy_buffer(const void * source, size_t sourceWidth, size_t sourceHeigh
CGImageRelease
(
sourceImage
);
}
extern
"C"
CGSize
touch_lo_get_content_size
()
{
CGSize
contentSize
=
CGSizeMake
(
0
,
0
);
SalFrame
*
pFocus
=
IosSalInstance
::
getInstance
()
->
getFocusFrame
();
if
(
pFocus
)
{
}
return
contentSize
;
}
extern
"C"
void
touch_lo_render_windows
(
void
*
context
,
int
minX
,
int
minY
,
int
width
,
int
height
)
{
...
...
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