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
050c4a13
Kaydet (Commit)
050c4a13
authored
Eyl 12, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: The DecoToolBox has grown its own legs, it cannot be a button any more.
Change-Id: I44497df5a5506127247cdef0924e9f7b76ed7d9b
üst
d22edd44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
menubarwindow.hxx
vcl/source/window/menubarwindow.hxx
+9
-12
No files found.
vcl/source/window/menubarwindow.hxx
Dosyayı görüntüle @
050c4a13
...
@@ -27,13 +27,10 @@
...
@@ -27,13 +27,10 @@
#include <vcl/toolbox.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/window.hxx>
#include <vcl/window.hxx>
/** Toolbox
specialization for the 'closer' - the cross to close the document
.
/** Toolbox
that holds the close button (right hand side of the menubar)
.
To get the transparent mouse-over look, the closer is actually a toolbox
This is also used by the online update check; when an update is available, it
overload DataChange to handle style changes correctly
inserts here the button that leads to the download of the update.
TODO: PushButtons can be transparent too; check if this DecoToolBox is still
necessary...
*/
*/
class
DecoToolBox
:
public
ToolBox
class
DecoToolBox
:
public
ToolBox
{
{
...
@@ -135,12 +132,12 @@ public:
...
@@ -135,12 +132,12 @@ public:
void
ImplLayoutChanged
();
void
ImplLayoutChanged
();
Size
MinCloseButtonSize
();
Size
MinCloseButtonSize
();
//
add an arbitrary button to the menubar (will appear next to closer)
//
/ Add an arbitrary button to the menubar that will appear next to the close button.
sal_uInt16
AddMenuBarButton
(
const
Image
&
,
const
Link
&
,
const
OUString
&
,
sal_uInt16
nPos
);
sal_uInt16
AddMenuBarButton
(
const
Image
&
,
const
Link
&
,
const
OUString
&
,
sal_uInt16
nPos
);
void
SetMenuBarButtonHighlightHdl
(
sal_uInt16
nId
,
const
Link
&
);
void
SetMenuBarButtonHighlightHdl
(
sal_uInt16
nId
,
const
Link
&
);
Rectangle
GetMenuBarButtonRectPixel
(
sal_uInt16
nId
);
Rectangle
GetMenuBarButtonRectPixel
(
sal_uInt16
nId
);
void
RemoveMenuBarButton
(
sal_uInt16
nId
);
void
RemoveMenuBarButton
(
sal_uInt16
nId
);
bool
HandleMenuButtonEvent
(
sal_uInt16
i_nButtonId
);
bool
HandleMenuButtonEvent
(
sal_uInt16
i_nButtonId
);
};
};
#endif // INCLUDED_VCL_SOURCE_WINDOW_MENUBARWINDOW_HXX
#endif // INCLUDED_VCL_SOURCE_WINDOW_MENUBARWINDOW_HXX
...
...
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