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
4f036439
Kaydet (Commit)
4f036439
authored
Haz 15, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Kill unused TBX_UPDATER_MODE_NONE.
Change-Id: I894eb05d68f3a92a10d3ce3120ae0a521b65d2f4
üst
edbca87d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
26 deletions
+15
-26
tbxcolorupdate.hxx
include/svx/tbxcolorupdate.hxx
+0
-1
tbxcolorupdate.cxx
svx/source/tbxctrls/tbxcolorupdate.cxx
+15
-25
No files found.
include/svx/tbxcolorupdate.hxx
Dosyayı görüntüle @
4f036439
...
...
@@ -33,7 +33,6 @@ namespace svx
{
//........................................................................
#define TBX_UPDATER_MODE_NONE 0x00
#define TBX_UPDATER_MODE_CHAR_COLOR 0x01
#define TBX_UPDATER_MODE_CHAR_BACKGROUND 0x02
#define TBX_UPDATER_MODE_CHAR_COLOR_NEW 0x03
...
...
svx/source/tbxctrls/tbxcolorupdate.cxx
Dosyayı görüntüle @
4f036439
...
...
@@ -125,36 +125,26 @@ namespace svx
pBmpAcc
->
SetFillColor
(
maCurColor
=
aColor
);
if
(
TBX_UPDATER_MODE_CHAR_COLOR_NEW
==
mnDrawMode
||
TBX_UPDATER_MODE_NONE
==
mnDrawMode
)
if
(
TBX_UPDATER_MODE_CHAR_COLOR_NEW
==
mnDrawMode
)
{
if
(
TBX_UPDATER_MODE_CHAR_COLOR_NEW
==
mnDrawMode
)
if
(
maBmpSize
.
Width
()
<=
16
)
maUpdRect
=
Rectangle
(
Point
(
0
,
12
),
Size
(
maBmpSize
.
Width
(),
4
)
);
else
if
(
76
==
maBmpSize
.
Width
()
&&
12
==
maBmpSize
.
Height
())
{
if
(
maBmpSize
.
Width
()
<=
16
)
maUpdRect
=
Rectangle
(
Point
(
0
,
12
),
Size
(
maBmpSize
.
Width
(),
4
)
);
else
if
(
76
==
maBmpSize
.
Width
()
&&
12
==
maBmpSize
.
Height
())
{
maUpdRect
.
Left
()
=
22
;
maUpdRect
.
Top
()
=
2
;
maUpdRect
.
Right
()
=
73
;
maUpdRect
.
Bottom
()
=
9
;
}
else
if
(
30
==
maBmpSize
.
Width
()
&&
16
==
maBmpSize
.
Height
())
{
maUpdRect
.
Left
()
=
17
;
maUpdRect
.
Top
()
=
2
;
maUpdRect
.
Right
()
=
27
;
maUpdRect
.
Bottom
()
=
13
;
}
else
maUpdRect
=
Rectangle
(
Point
(
1
,
maBmpSize
.
Height
()
-
7
),
Size
(
maBmpSize
.
Width
()
-
2
,
6
)
);
maUpdRect
.
Left
()
=
22
;
maUpdRect
.
Top
()
=
2
;
maUpdRect
.
Right
()
=
73
;
maUpdRect
.
Bottom
()
=
9
;
}
else
else
if
(
30
==
maBmpSize
.
Width
()
&&
16
==
maBmpSize
.
Height
())
{
if
(
maBmpSize
.
Width
()
<=
16
)
maUpdRect
=
Rectangle
(
Point
(
7
,
7
),
Size
(
8
,
8
)
)
;
else
maUpdRect
=
Rectangle
(
Point
(
maBmpSize
.
Width
()
-
12
,
maBmpSize
.
Height
()
-
12
),
Size
(
11
,
11
)
)
;
maUpdRect
.
Left
()
=
17
;
maUpdRect
.
Top
()
=
2
;
maUpdRect
.
Right
()
=
27
;
maUpdRect
.
Bottom
()
=
13
;
}
else
maUpdRect
=
Rectangle
(
Point
(
1
,
maBmpSize
.
Height
()
-
7
),
Size
(
maBmpSize
.
Width
()
-
2
,
6
)
);
pBmpAcc
->
DrawRect
(
maUpdRect
);
...
...
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