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
5328bb57
Kaydet (Commit)
5328bb57
authored
Kas 18, 2015
tarafından
Samuel Mehrbrodt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Indentation fixes
Change-Id: Ib508e6f3c89266660e6163bbef2c7f50f5d01806
üst
53f16c39
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
23 deletions
+21
-23
toolbox.hxx
include/vcl/toolbox.hxx
+19
-19
toolbox.cxx
vcl/source/window/toolbox.cxx
+1
-2
toolbox2.cxx
vcl/source/window/toolbox2.cxx
+1
-2
No files found.
include/vcl/toolbox.hxx
Dosyayı görüntüle @
5328bb57
...
...
@@ -130,22 +130,22 @@ private:
long
mnBottomBorder
;
long
mnLastResizeDY
;
long
mnActivateCount
;
sal_uInt16
mnLastFocusItemId
;
sal_uInt16
mnFocusPos
;
sal_uInt16
mnOutStyle
;
sal_uInt16
mnHighItemId
;
sal_uInt16
mnCurItemId
;
sal_uInt16
mnDownItemId
;
sal_uInt16
mnCurPos
;
sal_uInt16
mnLines
;
// total number of toolbox lines
sal_uInt16
mnCurLine
;
// the currently visible line
sal_uInt16
mnCurLines
;
// number of lines due to line breaking
sal_uInt16
mnVisLines
;
// number of visible lines (for scrolling)
sal_uInt16
mnFloatLines
;
// number of lines during floating mode
sal_uInt16
mnDockLines
;
sal_uInt16
mnConfigItem
;
sal_uInt16
mnMouseClicks
;
sal_uInt16
mnMouseModifier
;
sal_uInt16
mnLastFocusItemId
;
sal_uInt16
mnFocusPos
;
sal_uInt16
mnOutStyle
;
sal_uInt16
mnHighItemId
;
sal_uInt16
mnCurItemId
;
sal_uInt16
mnDownItemId
;
sal_uInt16
mnCurPos
;
sal_uInt16
mnLines
;
// total number of toolbox lines
sal_uInt16
mnCurLine
;
// the currently visible line
sal_uInt16
mnCurLines
;
// number of lines due to line breaking
sal_uInt16
mnVisLines
;
// number of visible lines (for scrolling)
sal_uInt16
mnFloatLines
;
// number of lines during floating mode
sal_uInt16
mnDockLines
;
sal_uInt16
mnConfigItem
;
sal_uInt16
mnMouseClicks
;
sal_uInt16
mnMouseModifier
;
bool
mbDrag
:
1
,
mbSelection
:
1
,
mbCommandDrag
:
1
,
...
...
@@ -193,7 +193,7 @@ private:
SAL_DLLPRIVATE
void
ImplLoadRes
(
const
ResId
&
rResId
);
SAL_DLLPRIVATE
ImplToolItem
*
ImplGetItem
(
sal_uInt16
nId
)
const
;
SAL_DLLPRIVATE
bool
ImplCalcItem
();
SAL_DLLPRIVATE
sal_uInt16
ImplCalcBreaks
(
long
nWidth
,
long
*
pMaxLineWidth
,
bool
bCalcHorz
);
SAL_DLLPRIVATE
sal_uInt16
ImplCalcBreaks
(
long
nWidth
,
long
*
pMaxLineWidth
,
bool
bCalcHorz
);
SAL_DLLPRIVATE
void
ImplFormat
(
bool
bResize
=
false
);
SAL_DLLPRIVATE
void
ImplDrawSpin
(
vcl
::
RenderContext
&
rRenderContext
,
bool
bUpperIn
,
bool
bLowerIn
);
SAL_DLLPRIVATE
void
ImplDrawSeparator
(
vcl
::
RenderContext
&
rRenderContext
,
sal_uInt16
nPos
,
const
Rectangle
&
rRect
);
...
...
@@ -201,12 +201,12 @@ private:
using
Window
::
ImplInvalidate
;
SAL_DLLPRIVATE
void
ImplInvalidate
(
bool
bNewCalc
=
false
,
bool
bFullPaint
=
false
);
SAL_DLLPRIVATE
void
ImplUpdateItem
(
sal_uInt16
nIndex
=
0xFFFF
);
SAL_DLLPRIVATE
const
OUString
ImplConvertMenuString
(
const
OUString
&
rStr
);
SAL_DLLPRIVATE
const
OUString
ImplConvertMenuString
(
const
OUString
&
rStr
);
SAL_DLLPRIVATE
bool
ImplHandleMouseMove
(
const
MouseEvent
&
rMEvt
,
bool
bRepeat
=
false
);
SAL_DLLPRIVATE
bool
ImplHandleMouseButtonUp
(
const
MouseEvent
&
rMEvt
,
bool
bCancel
=
false
);
SAL_DLLPRIVATE
void
ImplChangeHighlight
(
ImplToolItem
*
pItem
,
bool
bNoGrabFocus
=
false
);
SAL_DLLPRIVATE
bool
ImplChangeHighlightUpDn
(
bool
bUp
,
bool
bNoCycle
=
false
);
SAL_DLLPRIVATE
sal_uInt16
ImplGetItemLine
(
ImplToolItem
*
pCurrentItem
);
SAL_DLLPRIVATE
sal_uInt16
ImplGetItemLine
(
ImplToolItem
*
pCurrentItem
);
SAL_DLLPRIVATE
ImplToolItem
*
ImplGetFirstValidItem
(
sal_uInt16
nLine
);
SAL_DLLPRIVATE
bool
ImplOpenItem
(
vcl
::
KeyCode
aKeyCode
);
SAL_DLLPRIVATE
bool
ImplActivateItem
(
vcl
::
KeyCode
aKeyCode
);
...
...
vcl/source/window/toolbox.cxx
Dosyayı görüntüle @
5328bb57
...
...
@@ -970,8 +970,7 @@ sal_uInt16 ToolBox::ImplTestLineSize( ToolBox* pThis, const Point& rPos )
return
0
;
}
void
ToolBox
::
ImplLineSizing
(
ToolBox
*
pThis
,
const
Point
&
rPos
,
Rectangle
&
rRect
,
sal_uInt16
nLineMode
)
void
ToolBox
::
ImplLineSizing
(
ToolBox
*
pThis
,
const
Point
&
rPos
,
Rectangle
&
rRect
,
sal_uInt16
nLineMode
)
{
bool
mbHorz
;
long
nOneLineSize
;
...
...
vcl/source/window/toolbox2.cxx
Dosyayı görüntüle @
5328bb57
...
...
@@ -793,8 +793,7 @@ ToolBoxButtonSize ToolBox::GetToolboxButtonSize() const
return
mpData
->
meButtonSize
;
}
/*static*/
Size
ToolBox
::
GetDefaultImageSize
(
bool
bLarge
)
/*static*/
Size
ToolBox
::
GetDefaultImageSize
(
bool
bLarge
)
{
const
long
TB_SMALLIMAGESIZE
=
16
;
if
(
!
bLarge
)
{
...
...
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