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
497683ef
Kaydet (Commit)
497683ef
authored
Mar 06, 2011
tarafından
Sébastien Le Ray
Kaydeden (comit)
Michael Meeks
Mar 08, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Renamed shadow images to *-mask.
üst
4b8b1cc6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
pagefrm.hrc
sw/source/core/inc/pagefrm.hrc
+3
-3
pagefrm.src
sw/source/core/layout/pagefrm.src
+6
-6
paintfrm.cxx
sw/source/core/layout/paintfrm.cxx
+3
-3
No files found.
sw/source/core/inc/pagefrm.hrc
Dosyayı görüntüle @
497683ef
...
...
@@ -31,9 +31,9 @@
#include "rcid.hrc"
// Bitmaps for page shadow
#define BMP_PAGE_RIGHT_SHADOW RC_PAGEFRM_BEGIN + 0
#define BMP_PAGE_BOTTOM_RIGHT_SHADOW RC_PAGEFRM_BEGIN + 1
#define BMP_PAGE_BOTTOM_SHADOW RC_PAGEFRM_BEGIN + 2
#define BMP_PAGE_RIGHT_SHADOW
_MASK
RC_PAGEFRM_BEGIN + 0
#define BMP_PAGE_BOTTOM_RIGHT_SHADOW
_MASK
RC_PAGEFRM_BEGIN + 1
#define BMP_PAGE_BOTTOM_SHADOW
_MASK
RC_PAGEFRM_BEGIN + 2
// If you add resources, don't forget to update this
...
...
sw/source/core/layout/pagefrm.src
Dosyayı görüntüle @
497683ef
#include "pagefrm.hrc"
Bitmap BMP_PAGE_RIGHT_SHADOW
Bitmap BMP_PAGE_RIGHT_SHADOW
_MASK
{
File = "page-right-shadow.png";
File = "page-right-shadow
-mask
.png";
};
Bitmap BMP_PAGE_BOTTOM_RIGHT_SHADOW
Bitmap BMP_PAGE_BOTTOM_RIGHT_SHADOW
_MASK
{
File = "page-bottomright-shadow.png";
File = "page-bottomright-shadow
-mask
.png";
};
Bitmap BMP_PAGE_BOTTOM_SHADOW
Bitmap BMP_PAGE_BOTTOM_SHADOW
_MASK
{
File = "page-bottom-shadow.png";
File = "page-bottom-shadow
-mask
.png";
};
sw/source/core/layout/paintfrm.cxx
Dosyayı görüntüle @
497683ef
...
...
@@ -5313,7 +5313,7 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 10;
if
(
!
initialized
)
{
AlphaMask
aMask
(
SW_RES
(
BMP_PAGE_BOTTOM_RIGHT_SHADOW
)
);
AlphaMask
aMask
(
SW_RES
(
BMP_PAGE_BOTTOM_RIGHT_SHADOW
_MASK
)
);
Bitmap
aFilledSquare
(
Size
(
mnShadowPxWidth
,
mnShadowPxWidth
),
24
);
aFilledSquare
.
Erase
(
aShadowColor
);
...
...
@@ -5325,12 +5325,12 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 10;
aFilledSquare
=
Bitmap
(
Size
(
1
,
mnShadowPxWidth
),
24
);
aFilledSquare
.
Erase
(
aShadowColor
);
aMask
=
Bitmap
(
SW_RES
(
BMP_PAGE_BOTTOM_SHADOW
)
);
aMask
=
Bitmap
(
SW_RES
(
BMP_PAGE_BOTTOM_SHADOW
_MASK
)
);
aPageBottomShadowBase
=
BitmapEx
(
aFilledSquare
,
aMask
);
aFilledSquare
=
Bitmap
(
Size
(
mnShadowPxWidth
,
1
),
24
);
aFilledSquare
.
Erase
(
aShadowColor
);
aMask
=
Bitmap
(
SW_RES
(
BMP_PAGE_RIGHT_SHADOW
)
);
aMask
=
Bitmap
(
SW_RES
(
BMP_PAGE_RIGHT_SHADOW
_MASK
)
);
aPageRightShadowBase
=
BitmapEx
(
aFilledSquare
,
aMask
);
initialized
=
true
;
...
...
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