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
d28e29c8
Kaydet (Commit)
d28e29c8
authored
May 12, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor ToolBarMenu to use RenderContext
Change-Id: I26c5ad18445faeb55961030edc9f1daab2edab59
üst
dfb70a8f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
toolbarmenu.hxx
include/svtools/toolbarmenu.hxx
+10
-10
toolbarmenu.cxx
svtools/source/control/toolbarmenu.cxx
+0
-0
No files found.
include/svtools/toolbarmenu.hxx
Dosyayı görüntüle @
d28e29c8
...
@@ -46,9 +46,9 @@ class SVT_DLLPUBLIC ToolbarMenu : public DockingWindow
...
@@ -46,9 +46,9 @@ class SVT_DLLPUBLIC ToolbarMenu : public DockingWindow
friend
class
ToolbarMenuStatusListener
;
friend
class
ToolbarMenuStatusListener
;
friend
struct
ToolbarMenu_Impl
;
friend
struct
ToolbarMenu_Impl
;
public
:
public
:
ToolbarMenu
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
,
ToolbarMenu
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
,
vcl
::
Window
*
pParentWindow
,
vcl
::
Window
*
pParentWindow
,
WinBits
nBits
);
WinBits
nBits
);
virtual
~
ToolbarMenu
();
virtual
~
ToolbarMenu
();
virtual
void
dispose
()
SAL_OVERRIDE
;
virtual
void
dispose
()
SAL_OVERRIDE
;
...
@@ -89,7 +89,7 @@ public:
...
@@ -89,7 +89,7 @@ public:
void
highlightFirstEntry
();
void
highlightFirstEntry
();
protected
:
protected
:
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessible
>
CreateAccessible
()
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
CreateAccessible
()
SAL_OVERRIDE
;
// todo: move to new base class that will replace SfxPopupWindow
// todo: move to new base class that will replace SfxPopupWindow
void
AddStatusListener
(
const
OUString
&
rCommandURL
);
void
AddStatusListener
(
const
OUString
&
rCommandURL
);
...
@@ -99,7 +99,7 @@ protected:
...
@@ -99,7 +99,7 @@ protected:
// Forwared from XStatusListener (subclasses must override this one to get
// Forwared from XStatusListener (subclasses must override this one to get
// the status updates):
// the status updates):
virtual
void
statusChanged
(
const
::
com
::
sun
::
star
::
frame
::
FeatureStateEvent
&
Event
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
statusChanged
(
const
css
::
frame
::
FeatureStateEvent
&
Event
)
throw
(
css
::
uno
::
RuntimeException
);
void
StateChanged
(
StateChangedType
nType
)
SAL_OVERRIDE
;
void
StateChanged
(
StateChangedType
nType
)
SAL_OVERRIDE
;
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
SAL_OVERRIDE
;
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
SAL_OVERRIDE
;
...
@@ -109,17 +109,17 @@ private:
...
@@ -109,17 +109,17 @@ private:
void
initStatusListener
();
void
initStatusListener
();
void
implInit
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
);
void
implInit
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
);
void
initWindow
();
void
initWindow
();
Size
implCalcSize
();
Size
implCalcSize
();
void
appendEntry
(
ToolbarMenuEntry
*
pEntry
);
void
appendEntry
(
ToolbarMenuEntry
*
pEntry
);
void
implPaint
(
ToolbarMenuEntry
*
pThisOnly
=
NULL
,
bool
bHighlight
=
false
);
void
implPaint
(
vcl
::
RenderContext
&
rRenderContext
,
ToolbarMenuEntry
*
pThisOnly
=
NULL
,
bool
bHighlight
=
false
);
void
implHighlightEntry
(
int
nHighlightEntry
,
bool
bHighlight
);
void
implHighlightEntry
(
vcl
::
RenderContext
&
rRenderContext
,
int
nHighlightEntry
,
bool
bHighlight
);
void
implHighlight
Entry
(
const
MouseEvent
&
rMEvt
,
bool
bMBDown
);
void
implHighlight
AtPosition
(
const
MouseEvent
&
rMEvt
,
bool
bMBDown
);
void
implChangeHighlightEntry
(
int
nEntry
);
void
implChangeHighlightEntry
(
int
nEntry
);
void
implSelectEntry
(
int
nSelectedEntry
);
void
implSelectEntry
(
int
nSelectedEntry
);
...
...
svtools/source/control/toolbarmenu.cxx
Dosyayı görüntüle @
d28e29c8
This diff is collapsed.
Click to expand it.
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