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
99b935ff
Kaydet (Commit)
99b935ff
authored
Eki 07, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make this compile for iOS again
Change-Id: Idd4a1e6d50652a879493d8411c59605ca1a53dfb
üst
3c9da1fb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
46 deletions
+9
-46
svpframe.cxx
vcl/headless/svpframe.cxx
+4
-3
svpframe.hxx
vcl/inc/headless/svpframe.hxx
+2
-2
iosinst.hxx
vcl/inc/ios/iosinst.hxx
+0
-2
sft.hxx
vcl/inc/sft.hxx
+1
-1
iosinst.cxx
vcl/ios/iosinst.cxx
+1
-37
sft.cxx
vcl/source/fontsubset/sft.cxx
+1
-1
No files found.
vcl/headless/svpframe.cxx
Dosyayı görüntüle @
99b935ff
...
@@ -77,11 +77,11 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
...
@@ -77,11 +77,11 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
m_pParent
(
static_cast
<
SvpSalFrame
*>
(
pParent
)
),
m_pParent
(
static_cast
<
SvpSalFrame
*>
(
pParent
)
),
m_nStyle
(
nSalFrameStyle
),
m_nStyle
(
nSalFrameStyle
),
m_bVisible
(
false
),
m_bVisible
(
false
),
m_bTopDown
(
bTopDown
),
#ifndef IOS
#ifndef IOS
m_bTopDown
(
bTopDown
),
m_bDamageTracking
(
false
),
m_bDamageTracking
(
false
),
#endif
m_nScanlineFormat
(
nScanlineFormat
),
m_nScanlineFormat
(
nScanlineFormat
),
#endif
m_nMinWidth
(
0
),
m_nMinWidth
(
0
),
m_nMinHeight
(
0
),
m_nMinHeight
(
0
),
m_nMaxWidth
(
0
),
m_nMaxWidth
(
0
),
...
@@ -92,7 +92,8 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
...
@@ -92,7 +92,8 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
memset
(
static_cast
<
void
*>
(
&
m_aSystemChildData
),
0
,
sizeof
(
SystemEnvData
)
);
memset
(
static_cast
<
void
*>
(
&
m_aSystemChildData
),
0
,
sizeof
(
SystemEnvData
)
);
m_aSystemChildData
.
nSize
=
sizeof
(
SystemEnvData
);
m_aSystemChildData
.
nSize
=
sizeof
(
SystemEnvData
);
#ifdef IOS
#ifdef IOS
// Nothing
(
void
)
bTopDown
;
(
void
)
nScanlineFormat
;
#elif defined ANDROID
#elif defined ANDROID
// Nothing
// Nothing
#else
#else
...
...
vcl/inc/headless/svpframe.hxx
Dosyayı görüntüle @
99b935ff
...
@@ -43,12 +43,12 @@ class VCL_DLLPUBLIC SvpSalFrame : public SalFrame
...
@@ -43,12 +43,12 @@ class VCL_DLLPUBLIC SvpSalFrame : public SalFrame
std
::
list
<
SvpSalFrame
*
>
m_aChildren
;
// List of child frames
std
::
list
<
SvpSalFrame
*
>
m_aChildren
;
// List of child frames
SalFrameStyleFlags
m_nStyle
;
SalFrameStyleFlags
m_nStyle
;
bool
m_bVisible
;
bool
m_bVisible
;
bool
m_bTopDown
;
#ifndef IOS
#ifndef IOS
bool
m_bTopDown
;
basebmp
::
BitmapDeviceSharedPtr
m_aFrame
;
basebmp
::
BitmapDeviceSharedPtr
m_aFrame
;
bool
m_bDamageTracking
;
bool
m_bDamageTracking
;
#endif
basebmp
::
Format
m_nScanlineFormat
;
basebmp
::
Format
m_nScanlineFormat
;
#endif
long
m_nMinWidth
;
long
m_nMinWidth
;
long
m_nMinHeight
;
long
m_nMinHeight
;
long
m_nMaxWidth
;
long
m_nMaxWidth
;
...
...
vcl/inc/ios/iosinst.hxx
Dosyayı görüntüle @
99b935ff
...
@@ -42,8 +42,6 @@ public:
...
@@ -42,8 +42,6 @@ public:
void
GetWorkArea
(
Rectangle
&
rRect
);
void
GetWorkArea
(
Rectangle
&
rRect
);
SalFrame
*
CreateFrame
(
SalFrame
*
pParent
,
SalFrameStyleFlags
nStyle
)
SAL_OVERRIDE
;
SalFrame
*
CreateFrame
(
SalFrame
*
pParent
,
SalFrameStyleFlags
nStyle
)
SAL_OVERRIDE
;
SalFrame
*
CreateChildFrame
(
SystemParentData
*
pParent
,
SalFrameStyleFlags
nStyle
)
SAL_OVERRIDE
;
SalFrame
*
CreateChildFrame
(
SystemParentData
*
pParent
,
SalFrameStyleFlags
nStyle
)
SAL_OVERRIDE
;
SalFrame
*
getFocusFrame
()
const
;
};
};
#endif // INCLUDED_VCL_INC_IOS_IOSINST_HXX
#endif // INCLUDED_VCL_INC_IOS_IOSINST_HXX
...
...
vcl/inc/sft.hxx
Dosyayı görüntüle @
99b935ff
...
@@ -474,7 +474,7 @@ namespace vcl
...
@@ -474,7 +474,7 @@ namespace vcl
*/
*/
int
VCL_DLLPUBLIC
MapString
(
TrueTypeFont
*
ttf
,
sal_uInt16
*
str
,
int
nchars
,
sal_uInt16
*
glyphArray
,
bool
bvertical
);
int
VCL_DLLPUBLIC
MapString
(
TrueTypeFont
*
ttf
,
sal_uInt16
*
str
,
int
nchars
,
sal_uInt16
*
glyphArray
,
bool
bvertical
);
#if defined(WNT) || defined(MACOSX)
#if defined(WNT) || defined(MACOSX)
|| defined(IOS)
/**
/**
* Maps a Unicode (UCS-2) character to a glyph ID and returns it. Missing glyph has
* Maps a Unicode (UCS-2) character to a glyph ID and returns it. Missing glyph has
* a glyphID of 0 so this function can be used to test if a character is encoded in the font.
* a glyphID of 0 so this function can be used to test if a character is encoded in the font.
...
...
vcl/ios/iosinst.cxx
Dosyayı görüntüle @
99b935ff
...
@@ -47,28 +47,6 @@ void IosSalInstance::GetWorkArea( Rectangle& rRect )
...
@@ -47,28 +47,6 @@ void IosSalInstance::GetWorkArea( Rectangle& rRect )
Size
(
viewWidth
,
viewHeight
)
);
Size
(
viewWidth
,
viewHeight
)
);
}
}
/*
* Try too hard to get a frame, in the absence of anything better to do
*/
SalFrame
*
IosSalInstance
::
getFocusFrame
()
const
{
SalFrame
*
pFocus
=
SvpSalFrame
::
GetFocusFrame
();
if
(
!
pFocus
)
{
const
std
::
list
<
SalFrame
*
>&
rFrames
(
getFrames
()
);
for
(
std
::
list
<
SalFrame
*
>::
const_iterator
it
=
rFrames
.
begin
();
it
!=
rFrames
.
end
();
++
it
)
{
SvpSalFrame
*
pFrame
=
const_cast
<
SvpSalFrame
*>
(
static_cast
<
const
SvpSalFrame
*>
(
*
it
));
if
(
pFrame
->
IsVisible
()
)
{
pFrame
->
GetFocus
();
pFocus
=
pFrame
;
break
;
}
}
}
return
pFocus
;
}
IosSalInstance
*
IosSalInstance
::
getInstance
()
IosSalInstance
*
IosSalInstance
::
getInstance
()
{
{
if
(
!
ImplGetSVData
())
if
(
!
ImplGetSVData
())
...
@@ -88,20 +66,6 @@ IosSalInstance::~IosSalInstance()
...
@@ -88,20 +66,6 @@ IosSalInstance::~IosSalInstance()
{
{
}
}
#if 0
bool IosSalInstance::AnyInput( VclInputFlags nType )
{
if( nType & VclInputFlags::TIMER )
return CheckTimeout( false );
// Unfortunately there is no way to check for a specific type of
// input being queued. That information is too hidden, sigh.
return SvpSalInstance::s_pDefaultInstance->PostedEventsInQueue();
}
#endif
class
IosSalSystem
:
public
SvpSalSystem
{
class
IosSalSystem
:
public
SvpSalSystem
{
public
:
public
:
IosSalSystem
()
:
SvpSalSystem
()
{}
IosSalSystem
()
:
SvpSalSystem
()
{}
...
@@ -122,7 +86,7 @@ class IosSalFrame : public SvpSalFrame
...
@@ -122,7 +86,7 @@ class IosSalFrame : public SvpSalFrame
public
:
public
:
IosSalFrame
(
IosSalInstance
*
pInstance
,
IosSalFrame
(
IosSalInstance
*
pInstance
,
SalFrame
*
pParent
,
SalFrame
*
pParent
,
sal_uLong
nSalFrameStyle
,
SalFrameStyleFlags
nSalFrameStyle
,
SystemParentData
*
pSysParent
)
SystemParentData
*
pSysParent
)
:
SvpSalFrame
(
pInstance
,
pParent
,
nSalFrameStyle
,
:
SvpSalFrame
(
pInstance
,
pParent
,
nSalFrameStyle
,
true
,
basebmp
::
Format
::
ThirtyTwoBitTcMaskRGBA
,
true
,
basebmp
::
Format
::
ThirtyTwoBitTcMaskRGBA
,
...
...
vcl/source/fontsubset/sft.cxx
Dosyayı görüntüle @
99b935ff
...
@@ -2413,7 +2413,7 @@ int MapString(TrueTypeFont *ttf, sal_uInt16 *str, int nchars, sal_uInt16 *glyphA
...
@@ -2413,7 +2413,7 @@ int MapString(TrueTypeFont *ttf, sal_uInt16 *str, int nchars, sal_uInt16 *glyphA
return
nchars
;
return
nchars
;
}
}
#if defined(WNT) || defined(MACOSX)
#if defined(WNT) || defined(MACOSX)
|| defined(IOS)
sal_uInt16
MapChar
(
TrueTypeFont
*
ttf
,
sal_uInt16
ch
,
bool
bvertical
)
sal_uInt16
MapChar
(
TrueTypeFont
*
ttf
,
sal_uInt16
ch
,
bool
bvertical
)
{
{
switch
(
ttf
->
cmapType
)
{
switch
(
ttf
->
cmapType
)
{
...
...
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