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
a4cb27f6
Kaydet (Commit)
a4cb27f6
authored
May 14, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor ScMenuFloatingWindow to use RenderContext
Change-Id: I27b4f412b38788094bb5c78f24123bb28c0e8183
üst
0b00791b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
checklistmenu.cxx
sc/source/ui/cctrl/checklistmenu.cxx
+0
-0
checklistmenu.hxx
sc/source/ui/inc/checklistmenu.hxx
+10
-8
No files found.
sc/source/ui/cctrl/checklistmenu.cxx
Dosyayı görüntüle @
a4cb27f6
This diff is collapsed.
Click to expand it.
sc/source/ui/inc/checklistmenu.hxx
Dosyayı görüntüle @
a4cb27f6
...
...
@@ -56,7 +56,7 @@ public:
virtual
void
MouseButtonUp
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
KeyInput
(
const
KeyEvent
&
rKEvt
)
SAL_OVERRIDE
;
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
CreateAccessible
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
CreateAccessible
()
SAL_OVERRIDE
;
void
addMenuItem
(
const
OUString
&
rText
,
bool
bEnabled
,
Action
*
pAction
);
void
addSeparator
();
...
...
@@ -80,10 +80,13 @@ protected:
virtual
void
handlePopupEnd
();
Size
getMenuSize
()
const
;
void
drawMenuItem
(
size_t
nPos
);
void
drawSeparator
(
size_t
nPos
);
void
drawAllMenuItems
();
const
vcl
::
Font
&
getLabelFont
()
const
{
return
maLabelFont
;}
void
drawMenuItem
(
vcl
::
RenderContext
&
rRenderContext
,
size_t
nPos
);
void
drawSeparator
(
vcl
::
RenderContext
&
rRenderContext
,
size_t
nPos
);
void
drawAllMenuItems
(
vcl
::
RenderContext
&
rRenderContext
);
const
vcl
::
Font
&
getLabelFont
()
const
{
return
maLabelFont
;
}
void
queueLaunchSubMenu
(
size_t
nPos
,
ScMenuFloatingWindow
*
pMenu
);
void
queueCloseSubMenu
();
...
...
@@ -95,15 +98,14 @@ protected:
ScDocument
*
getDoc
()
{
return
mpDoc
;}
protected
:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
mxAccessible
;
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
mxAccessible
;
private
:
struct
SubMenuItemData
;
void
handleMenuTimeout
(
SubMenuItemData
*
pTimer
);
void
resizeToFitMenuItems
();
void
highlightMenuItem
(
size_t
nPos
,
bool
bSelected
);
void
highlightMenuItem
(
vcl
::
RenderContext
&
rRenderContext
,
size_t
nPos
,
bool
bSelected
);
size_t
getEnclosingMenuItem
(
const
Point
&
rPos
)
const
;
size_t
getSubMenuPos
(
ScMenuFloatingWindow
*
pSubMenu
);
...
...
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