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
2ec22477
Kaydet (Commit)
2ec22477
authored
Agu 31, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
üst
66a205d5
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
30 additions
and
40 deletions
+30
-40
basidesh.cxx
basctl/source/basicide/basidesh.cxx
+2
-7
basidesh.hxx
basctl/source/inc/basidesh.hxx
+2
-2
tabbar.hxx
include/svtools/tabbar.hxx
+6
-6
tabcont.hxx
sc/source/ui/inc/tabcont.hxx
+1
-1
tabview.hxx
sc/source/ui/inc/tabview.hxx
+2
-1
tabcont.cxx
sc/source/ui/view/tabcont.cxx
+2
-4
tabview.cxx
sc/source/ui/view/tabview.cxx
+1
-3
DrawViewShell.hxx
sd/source/ui/inc/DrawViewShell.hxx
+12
-12
drviews1.cxx
sd/source/ui/view/drviews1.cxx
+1
-3
tabbar.cxx
svtools/source/control/tabbar.cxx
+1
-1
No files found.
basctl/source/basicide/basidesh.cxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -449,23 +449,18 @@ void Shell::OuterResizePixel( const Point &rPos, const Size &rSize )
}
IMPL_LINK
(
Shell
,
TabBarSplitHdl
,
TabBar
*
,
pTBar
)
IMPL_LINK
_NOARG_TYPED
(
Shell
,
TabBarSplitHdl
,
::
TabBar
*
,
void
)
{
(
void
)
pTBar
;
bTabBarSplitted
=
true
;
ArrangeTabBar
();
return
0
;
}
IMPL_LINK
(
Shell
,
TabBarHdl
,
TabBar
*
,
pCurTabBar
)
IMPL_LINK
_TYPED
(
Shell
,
TabBarHdl
,
::
TabBar
*
,
pCurTabBar
,
void
)
{
sal_uInt16
nCurId
=
pCurTabBar
->
GetCurPageId
();
BaseWindow
*
pWin
=
aWindowTable
[
nCurId
];
DBG_ASSERT
(
pWin
,
"Eintrag in TabBar passt zu keinem Fenster!"
);
SetCurWindow
(
pWin
);
return
0
;
}
...
...
basctl/source/inc/basidesh.hxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -105,8 +105,8 @@ private:
void
ImplStartListening
(
StarBASIC
*
pBasic
);
DECL_LINK
(
TabBarHdl
,
TabBar
*
);
DECL_LINK
(
TabBarSplitHdl
,
TabBar
*
);
DECL_LINK
_TYPED
(
TabBarHdl
,
::
TabBar
*
,
void
);
DECL_LINK
_TYPED
(
TabBarSplitHdl
,
::
TabBar
*
,
void
);
static
unsigned
nShellCount
;
...
...
include/svtools/tabbar.hxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -348,9 +348,9 @@ private:
bool
mbMirrored
:
1
;
bool
mbScrollAlwaysEnabled
:
1
;
Link
<
>
maSelectHdl
;
Link
<
>
maSplitHdl
;
Link
<
>
maScrollAreaContextHdl
;
Link
<
TabBar
*
,
void
>
maSelectHdl
;
Link
<
TabBar
*
,
void
>
maSplitHdl
;
Link
<
const
CommandEvent
&
,
void
>
maScrollAreaContextHdl
;
size_t
maCurrentItemList
;
using
Window
::
ImplInit
;
...
...
@@ -496,9 +496,9 @@ public:
Size
CalcWindowSizePixel
()
const
;
void
SetSelectHdl
(
const
Link
<>&
rLink
)
{
maSelectHdl
=
rLink
;
}
void
SetSplitHdl
(
const
Link
<>&
rLink
)
{
maSplitHdl
=
rLink
;
}
void
SetScrollAreaContextHdl
(
const
Link
<>&
rLink
)
{
maScrollAreaContextHdl
=
rLink
;
}
void
SetSelectHdl
(
const
Link
<
TabBar
*
,
void
>&
rLink
)
{
maSelectHdl
=
rLink
;
}
void
SetSplitHdl
(
const
Link
<
TabBar
*
,
void
>&
rLink
)
{
maSplitHdl
=
rLink
;
}
void
SetScrollAreaContextHdl
(
const
Link
<
const
CommandEvent
&
,
void
>&
rLink
)
{
maScrollAreaContextHdl
=
rLink
;
}
// accessibility
virtual
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
CreateAccessible
()
SAL_OVERRIDE
;
...
...
sc/source/ui/inc/tabcont.hxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -42,7 +42,7 @@ private:
sal_uInt16
GetMaxId
()
const
;
SCTAB
GetPrivatDropPos
(
const
Point
&
rPos
);
DECL_LINK
(
ShowPageList
,
const
CommandEvent
*
);
DECL_LINK
_TYPED
(
ShowPageList
,
const
CommandEvent
&
,
void
);
void
SwitchToPageId
(
sal_uInt16
nId
);
protected
:
...
...
sc/source/ui/inc/tabview.hxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -54,6 +54,7 @@ class SdrObject;
class
ScHintWindow
;
class
ScPageBreakData
;
class
SdrHdlList
;
class
TabBar
;
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
chart2
{
namespace
data
{
...
...
@@ -237,7 +238,7 @@ public:
void
RemoveHintWindow
();
void
TestHintWindow
();
DECL_LINK
(
TabBarResize
,
void
*
);
DECL_LINK
_TYPED
(
TabBarResize
,
::
TabBar
*
,
void
);
/** Sets an absolute tab bar width (in pixels). */
void
SetTabBarWidth
(
long
nNewWidth
);
/** Sets a relative tab bar width.
...
...
sc/source/ui/view/tabcont.cxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -84,7 +84,7 @@ ScTabControl::ScTabControl( vcl::Window* pParent, ScViewData* pData )
SetScrollAreaContextHdl
(
LINK
(
this
,
ScTabControl
,
ShowPageList
)
);
}
IMPL_LINK
(
ScTabControl
,
ShowPageList
,
const
CommandEvent
*
,
pEvent
)
IMPL_LINK
_TYPED
(
ScTabControl
,
ShowPageList
,
const
CommandEvent
&
,
rEvent
,
void
)
{
PopupMenu
aPopup
;
...
...
@@ -107,10 +107,8 @@ IMPL_LINK(ScTabControl, ShowPageList, const CommandEvent *, pEvent)
}
}
sal_uInt16
nItemId
=
aPopup
.
Execute
(
this
,
pEvent
->
GetMousePosPixel
()
);
sal_uInt16
nItemId
=
aPopup
.
Execute
(
this
,
rEvent
.
GetMousePosPixel
()
);
SwitchToPageId
(
nItemId
);
return
0
;
}
ScTabControl
::~
ScTabControl
()
...
...
sc/source/ui/view/tabview.cxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -839,7 +839,7 @@ void ScTabView::GetBorderSize( SvBorder& rBorder, const Size& /* rSize */ )
::
std
::
swap
(
rBorder
.
Left
(),
rBorder
.
Right
()
);
}
IMPL_LINK_NOARG
(
ScTabView
,
TabBarResize
)
IMPL_LINK_NOARG
_TYPED
(
ScTabView
,
TabBarResize
,
TabBar
*
,
void
)
{
if
(
aViewData
.
IsHScrollMode
())
{
...
...
@@ -862,8 +862,6 @@ IMPL_LINK_NOARG(ScTabView, TabBarResize)
RepeatResize
();
}
}
return
0
;
}
void
ScTabView
::
SetTabBarWidth
(
long
nNewWidth
)
...
...
sd/source/ui/inc/DrawViewShell.hxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -389,22 +389,22 @@ public:
//move this method to ViewShell.
//void NotifyAccUpdate();
protected
:
DrawView
*
mpDrawView
;
SdPage
*
mpActualPage
;
Rectangle
maMarkRect
;
Point
maMousePos
;
bool
mbMousePosFreezed
;
DrawView
*
mpDrawView
;
SdPage
*
mpActualPage
;
Rectangle
maMarkRect
;
Point
maMousePos
;
bool
mbMousePosFreezed
;
VclPtr
<
TabControl
>
maTabControl
;
EditMode
meEditMode
;
PageKind
mePageKind
;
bool
mbZoomOnPage
;
bool
mbIsRulerDrag
;
EditMode
meEditMode
;
PageKind
mePageKind
;
bool
mbZoomOnPage
;
bool
mbIsRulerDrag
;
sal_uLong
mnLockCount
;
bool
mbReadOnly
;
static
bool
mbPipette
;
bool
mbReadOnly
;
static
bool
mbPipette
;
DECL_LINK_TYPED
(
ClipboardChanged
,
TransferableDataHelper
*
,
void
);
DECL_LINK
(
TabSplitHdl
,
TabBar
*
);
DECL_LINK
_TYPED
(
TabSplitHdl
,
TabBar
*
,
void
);
DECL_LINK
(
NameObjectHdl
,
AbstractSvxNameDialog
*
);
DECL_LINK
(
RenameSlideHdl
,
AbstractSvxNameDialog
*
);
...
...
sd/source/ui/view/drviews1.cxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -606,7 +606,7 @@ void DrawViewShell::SetUIUnit(FieldUnit eUnit)
* Refresh TabControl on splitter change
*/
IMPL_LINK
(
DrawViewShell
,
TabSplitHdl
,
TabBar
*
,
pTab
)
IMPL_LINK
_TYPED
(
DrawViewShell
,
TabSplitHdl
,
TabBar
*
,
pTab
,
void
)
{
const
long
int
nMax
=
maViewSize
.
Width
()
-
maScrBarWH
.
Width
()
-
maTabControl
->
GetPosPixel
().
X
()
;
...
...
@@ -626,8 +626,6 @@ IMPL_LINK( DrawViewShell, TabSplitHdl, TabBar *, pTab )
Size
aScrSize
(
nMax
-
aTabSize
.
Width
(),
maScrBarWH
.
Height
());
mpHorizontalScrollBar
->
SetPosSizePixel
(
aPos
,
aScrSize
);
return
0
;
}
/// inherited from sd::ViewShell
...
...
svtools/source/control/tabbar.cxx
Dosyayı görüntüle @
2ec22477
...
...
@@ -290,7 +290,7 @@ void ImplTabButton::Command(const CommandEvent& rCommandEvent)
if
(
rCommandEvent
.
GetCommand
()
==
CommandEventId
::
ContextMenu
)
{
TabBar
*
pParent
=
GetParent
();
pParent
->
maScrollAreaContextHdl
.
Call
(
const_cast
<
CommandEvent
*>
(
&
rCommandEvent
)
);
pParent
->
maScrollAreaContextHdl
.
Call
(
rCommandEvent
);
}
PushButton
::
Command
(
rCommandEvent
);
}
...
...
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