toolbar-decorations-rsc.diff: Improved toolbar popups.

This commit is contained in:
Jan Holesovsky 2010-09-14 11:46:59 +02:00
parent c2edb892cf
commit aaa5999975
4 changed files with 9 additions and 0 deletions

View file

@ -97,6 +97,7 @@ class RscTypCont
Atom nMinimizeId;
Atom nMaximizeId;
Atom nCloseableId;
Atom nStdPopupId;
Atom nAppId;
Atom nTabstopId;
Atom nGroupId;

View file

@ -84,6 +84,10 @@ typedef sal_Int64 WinBits;
#define WB_AUTOVSCROLL ((WinBits)0x40000000)
#define WB_HIDE ((WinBits)0x80000000)
// system floating window
#define WB_POPUP ((WinBits)0x20000000)
#define WB_HSCROLL WB_HORZ
#define WB_VSCROLL WB_VERT
#define WB_TOPIMAGE WB_TOP
@ -152,6 +156,7 @@ typedef sal_Int64 WinBits;
#define WB_STDMODAL (WB_STDDIALOG)
#define WB_STDTABDIALOG (WB_STDDIALOG)
#define WB_STDTABCONTROL 0
#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_3DLOOK | WB_DIALOGCONTROL)
// For TreeListBox
#define WB_HASBUTTONS ((WinBits)0x00800000)

View file

@ -2218,6 +2218,7 @@ RscTop * RscTypCont::InitClassFloatingWindow( RscTop * pSuper,
INS_WINBIT(pClassFloatingWindow,Zoomable)
INS_WINBIT(pClassFloatingWindow,HideWhenDeactivate)
INS_WINBIT(pClassFloatingWindow,EnableResizing)
INS_WINBIT(pClassFloatingWindow,StdPopup)
return pClassFloatingWindow;
}

View file

@ -374,6 +374,8 @@ void RscTypCont::Init()
aWinBits.SetConstant( nSingleLineId, sal::static_int_cast<INT32>(WB_SINGLELINE) );
nSysWinId = pHS->getID( "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 **************************/