rename ImplWindowAutoMnemonic and expose
Change-Id: Iddb0d84b6dbfeb263a68ddc3b8b5c39bbdcf46f6
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
|||||||
Accelerator& operator=( const Accelerator& rAccel );
|
Accelerator& operator=( const Accelerator& rAccel );
|
||||||
|
|
||||||
static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow);
|
static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow);
|
||||||
|
static void GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INCLUDED_VCL_ACCEL_HXX
|
#endif // INCLUDED_VCL_ACCEL_HXX
|
||||||
|
@@ -349,7 +349,6 @@ VCL_PLUGIN_PUBLIC ResMgr* ImplGetResMgr();
|
|||||||
VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if no res mgr
|
VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if no res mgr
|
||||||
DockingManager* ImplGetDockingManager();
|
DockingManager* ImplGetDockingManager();
|
||||||
BlendFrameCache* ImplGetBlendFrameCache();
|
BlendFrameCache* ImplGetBlendFrameCache();
|
||||||
void ImplWindowAutoMnemonic( vcl::Window* pWindow );
|
|
||||||
|
|
||||||
bool ImplCallHotKey( const vcl::KeyCode& rKeyCode );
|
bool ImplCallHotKey( const vcl::KeyCode& rKeyCode );
|
||||||
void ImplFreeHotKeyData();
|
void ImplFreeHotKeyData();
|
||||||
|
@@ -189,7 +189,7 @@ vcl::Window * firstLogicalChildOfParent(vcl::Window *pTopLevel)
|
|||||||
return pChild;
|
return pChild;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImplWindowAutoMnemonic( vcl::Window* pWindow )
|
void Accelerator::GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow)
|
||||||
{
|
{
|
||||||
MnemonicGenerator aMnemonicGenerator;
|
MnemonicGenerator aMnemonicGenerator;
|
||||||
vcl::Window* pGetChild;
|
vcl::Window* pGetChild;
|
||||||
|
@@ -697,8 +697,8 @@ void DockingWindow::Resizing( Size& )
|
|||||||
|
|
||||||
void DockingWindow::DoInitialLayout()
|
void DockingWindow::DoInitialLayout()
|
||||||
{
|
{
|
||||||
if ( GetSettings().GetStyleSettings().GetAutoMnemonic() )
|
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||||
ImplWindowAutoMnemonic( this );
|
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||||
|
|
||||||
if (isLayoutEnabled())
|
if (isLayoutEnabled())
|
||||||
{
|
{
|
||||||
|
@@ -1152,8 +1152,8 @@ void SystemWindow::setOptimalLayoutSize()
|
|||||||
|
|
||||||
void SystemWindow::DoInitialLayout()
|
void SystemWindow::DoInitialLayout()
|
||||||
{
|
{
|
||||||
if ( GetSettings().GetStyleSettings().GetAutoMnemonic() )
|
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||||
ImplWindowAutoMnemonic( this );
|
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||||
|
|
||||||
if (isLayoutEnabled())
|
if (isLayoutEnabled())
|
||||||
{
|
{
|
||||||
|
@@ -104,8 +104,8 @@ void TabPage::StateChanged( StateChangedType nType )
|
|||||||
|
|
||||||
if ( nType == StateChangedType::InitShow )
|
if ( nType == StateChangedType::InitShow )
|
||||||
{
|
{
|
||||||
if ( GetSettings().GetStyleSettings().GetAutoMnemonic() )
|
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||||
ImplWindowAutoMnemonic( this );
|
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||||
// FIXME: no layouting, workaround some clipping issues
|
// FIXME: no layouting, workaround some clipping issues
|
||||||
ImplAdjustNWFSizes();
|
ImplAdjustNWFSizes();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user