toolbar-decorations-rsc.diff: Improved toolbar popups.
This commit is contained in:
@@ -97,6 +97,7 @@ class RscTypCont
|
|||||||
Atom nMinimizeId;
|
Atom nMinimizeId;
|
||||||
Atom nMaximizeId;
|
Atom nMaximizeId;
|
||||||
Atom nCloseableId;
|
Atom nCloseableId;
|
||||||
|
Atom nStdPopupId;
|
||||||
Atom nAppId;
|
Atom nAppId;
|
||||||
Atom nTabstopId;
|
Atom nTabstopId;
|
||||||
Atom nGroupId;
|
Atom nGroupId;
|
||||||
|
@@ -84,6 +84,10 @@ typedef sal_Int64 WinBits;
|
|||||||
#define WB_AUTOVSCROLL ((WinBits)0x40000000)
|
#define WB_AUTOVSCROLL ((WinBits)0x40000000)
|
||||||
|
|
||||||
#define WB_HIDE ((WinBits)0x80000000)
|
#define WB_HIDE ((WinBits)0x80000000)
|
||||||
|
|
||||||
|
// system floating window
|
||||||
|
#define WB_POPUP ((WinBits)0x20000000)
|
||||||
|
|
||||||
#define WB_HSCROLL WB_HORZ
|
#define WB_HSCROLL WB_HORZ
|
||||||
#define WB_VSCROLL WB_VERT
|
#define WB_VSCROLL WB_VERT
|
||||||
#define WB_TOPIMAGE WB_TOP
|
#define WB_TOPIMAGE WB_TOP
|
||||||
@@ -152,6 +156,7 @@ typedef sal_Int64 WinBits;
|
|||||||
#define WB_STDMODAL (WB_STDDIALOG)
|
#define WB_STDMODAL (WB_STDDIALOG)
|
||||||
#define WB_STDTABDIALOG (WB_STDDIALOG)
|
#define WB_STDTABDIALOG (WB_STDDIALOG)
|
||||||
#define WB_STDTABCONTROL 0
|
#define WB_STDTABCONTROL 0
|
||||||
|
#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_3DLOOK | WB_DIALOGCONTROL)
|
||||||
|
|
||||||
// For TreeListBox
|
// For TreeListBox
|
||||||
#define WB_HASBUTTONS ((WinBits)0x00800000)
|
#define WB_HASBUTTONS ((WinBits)0x00800000)
|
||||||
|
@@ -2218,6 +2218,7 @@ RscTop * RscTypCont::InitClassFloatingWindow( RscTop * pSuper,
|
|||||||
INS_WINBIT(pClassFloatingWindow,Zoomable)
|
INS_WINBIT(pClassFloatingWindow,Zoomable)
|
||||||
INS_WINBIT(pClassFloatingWindow,HideWhenDeactivate)
|
INS_WINBIT(pClassFloatingWindow,HideWhenDeactivate)
|
||||||
INS_WINBIT(pClassFloatingWindow,EnableResizing)
|
INS_WINBIT(pClassFloatingWindow,EnableResizing)
|
||||||
|
INS_WINBIT(pClassFloatingWindow,StdPopup)
|
||||||
|
|
||||||
return pClassFloatingWindow;
|
return pClassFloatingWindow;
|
||||||
}
|
}
|
||||||
|
@@ -374,6 +374,8 @@ void RscTypCont::Init()
|
|||||||
aWinBits.SetConstant( nSingleLineId, sal::static_int_cast<INT32>(WB_SINGLELINE) );
|
aWinBits.SetConstant( nSingleLineId, sal::static_int_cast<INT32>(WB_SINGLELINE) );
|
||||||
nSysWinId = pHS->getID( "WB_SYSTEMWINDOW" );
|
nSysWinId = pHS->getID( "WB_SYSTEMWINDOW" );
|
||||||
aWinBits.SetConstant( nSysWinId, sal::static_int_cast<INT32>(WB_SYSTEMWINDOW) );
|
aWinBits.SetConstant( nSysWinId, sal::static_int_cast<INT32>(WB_SYSTEMWINDOW) );
|
||||||
|
nStdPopupId = pHS->getID( "WB_STDPOPUP" );
|
||||||
|
aWinBits.SetConstant( nStdPopupId, sal::static_int_cast<INT32>(WB_STDPOPUP) );
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
/********** I n i t B a s i c T y p e s **************************/
|
/********** I n i t B a s i c T y p e s **************************/
|
||||||
|
Reference in New Issue
Block a user