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
b40a71e6
Kaydet (Commit)
b40a71e6
authored
Mar 06, 2011
tarafından
Xavier ALT
Kaydeden (comit)
Caolán McNamara
Mar 11, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#34896 color palette size (8x13), only show scrollbar when needed
üst
cef1ec87
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
optchart.cxx
cui/source/options/optchart.cxx
+5
-2
backgrnd.cxx
cui/source/tabpages/backgrnd.cxx
+4
-4
tpcolor.cxx
cui/source/tabpages/tpcolor.cxx
+4
-1
No files found.
cui/source/options/optchart.cxx
Dosyayı görüntüle @
b40a71e6
...
@@ -69,9 +69,9 @@ SvxDefaultColorOptPage::SvxDefaultColorOptPage( Window* pParent, const SfxItemSe
...
@@ -69,9 +69,9 @@ SvxDefaultColorOptPage::SvxDefaultColorOptPage( Window* pParent, const SfxItemSe
aValSetColorBox
.
SetSelectHdl
(
LINK
(
this
,
SvxDefaultColorOptPage
,
BoxClickedHdl
)
);
aValSetColorBox
.
SetSelectHdl
(
LINK
(
this
,
SvxDefaultColorOptPage
,
BoxClickedHdl
)
);
aValSetColorBox
.
SetStyle
(
aValSetColorBox
.
GetStyle
()
aValSetColorBox
.
SetStyle
(
aValSetColorBox
.
GetStyle
()
|
WB_
VSCROLL
|
WB_
ITEMBORDER
|
WB_NAMEFIELD
);
|
WB_ITEMBORDER
|
WB_NAMEFIELD
);
aValSetColorBox
.
SetColCount
(
8
);
aValSetColorBox
.
SetColCount
(
8
);
aValSetColorBox
.
SetLineCount
(
1
2
);
aValSetColorBox
.
SetLineCount
(
1
3
);
aValSetColorBox
.
SetExtraSpacing
(
0
);
aValSetColorBox
.
SetExtraSpacing
(
0
);
aValSetColorBox
.
Show
();
aValSetColorBox
.
Show
();
...
@@ -143,6 +143,9 @@ void SvxDefaultColorOptPage::FillColorBox()
...
@@ -143,6 +143,9 @@ void SvxDefaultColorOptPage::FillColorBox()
long
nCount
=
pColorTab
->
Count
();
long
nCount
=
pColorTab
->
Count
();
XColorEntry
*
pColorEntry
;
XColorEntry
*
pColorEntry
;
if
(
nCount
>
104
)
aValSetColorBox
.
SetStyle
(
aValSetColorBox
.
GetStyle
()
|
WB_VSCROLL
);
for
(
long
i
=
0
;
i
<
nCount
;
i
++
)
for
(
long
i
=
0
;
i
<
nCount
;
i
++
)
{
{
pColorEntry
=
pColorTab
->
GetColor
(
i
);
pColorEntry
=
pColorTab
->
GetColor
(
i
);
...
...
cui/source/tabpages/backgrnd.cxx
Dosyayı görüntüle @
b40a71e6
...
@@ -1154,13 +1154,13 @@ void SvxBackgroundTabPage::FillColorValueSets_Impl()
...
@@ -1154,13 +1154,13 @@ void SvxBackgroundTabPage::FillColorValueSets_Impl()
aBackgroundColorSet
.
InsertItem
(
i
+
1
,
pEntry
->
GetColor
(),
pEntry
->
GetName
()
);
aBackgroundColorSet
.
InsertItem
(
i
+
1
,
pEntry
->
GetColor
(),
pEntry
->
GetName
()
);
}
}
while
(
i
<
80
)
while
(
i
<
104
)
{
{
aBackgroundColorSet
.
InsertItem
(
i
+
1
,
aColWhite
,
aStrWhite
);
aBackgroundColorSet
.
InsertItem
(
i
+
1
,
aColWhite
,
aStrWhite
);
i
++
;
i
++
;
}
}
if
(
nCount
>
80
)
if
(
nCount
>
104
)
{
{
aBackgroundColorSet
.
SetStyle
(
nBits
|
WB_VSCROLL
);
aBackgroundColorSet
.
SetStyle
(
nBits
|
WB_VSCROLL
);
}
}
...
@@ -1169,8 +1169,8 @@ void SvxBackgroundTabPage::FillColorValueSets_Impl()
...
@@ -1169,8 +1169,8 @@ void SvxBackgroundTabPage::FillColorValueSets_Impl()
if
(
bOwn
)
if
(
bOwn
)
delete
pColorTable
;
delete
pColorTable
;
aBackgroundColorSet
.
SetColCount
(
10
);
aBackgroundColorSet
.
SetColCount
(
8
);
aBackgroundColorSet
.
SetLineCount
(
1
0
);
aBackgroundColorSet
.
SetLineCount
(
1
3
);
aBackgroundColorSet
.
CalcWindowSizePixel
(
aSize15x15
);
aBackgroundColorSet
.
CalcWindowSizePixel
(
aSize15x15
);
}
}
...
...
cui/source/tabpages/tpcolor.cxx
Dosyayı görüntüle @
b40a71e6
...
@@ -162,7 +162,7 @@ SvxColorTabPage::SvxColorTabPage
...
@@ -162,7 +162,7 @@ SvxColorTabPage::SvxColorTabPage
// ValueSet
// ValueSet
aValSetColorTable
.
SetStyle
(
aValSetColorTable
.
GetStyle
()
|
WB_VSCROLL
|
WB_ITEMBORDER
);
aValSetColorTable
.
SetStyle
(
aValSetColorTable
.
GetStyle
()
|
WB_VSCROLL
|
WB_ITEMBORDER
);
aValSetColorTable
.
SetColCount
(
8
);
aValSetColorTable
.
SetColCount
(
8
);
aValSetColorTable
.
SetLineCount
(
1
0
);
aValSetColorTable
.
SetLineCount
(
1
3
);
aValSetColorTable
.
SetExtraSpacing
(
0
);
aValSetColorTable
.
SetExtraSpacing
(
0
);
aValSetColorTable
.
Show
();
aValSetColorTable
.
Show
();
...
@@ -1142,6 +1142,9 @@ void SvxColorTabPage::FillValueSet_Impl( ValueSet& rVs )
...
@@ -1142,6 +1142,9 @@ void SvxColorTabPage::FillValueSet_Impl( ValueSet& rVs )
long
nCount
=
pColorTab
->
Count
();
long
nCount
=
pColorTab
->
Count
();
XColorEntry
*
pColorEntry
;
XColorEntry
*
pColorEntry
;
if
(
nCount
>
104
)
rVs
.
SetStyle
(
rVs
.
GetStyle
()
|
WB_VSCROLL
);
for
(
long
i
=
0
;
i
<
nCount
;
i
++
)
for
(
long
i
=
0
;
i
<
nCount
;
i
++
)
{
{
pColorEntry
=
pColorTab
->
GetColor
(
i
);
pColorEntry
=
pColorTab
->
GetColor
(
i
);
...
...
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