Tracker: Add PoseView() method
...to VirtualDirectoryWindow class
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2013 Haiku, Inc. All rights reserved.
|
* Copyright 2013-2015 Haiku, Inc. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
|
* John Scipione, [email protected]
|
||||||
* Ingo Weinhold, [email protected]
|
* Ingo Weinhold, [email protected]
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
@@ -120,6 +121,13 @@ VirtualDirectoryWindow::NewPoseView(Model* model, uint32 viewMode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
VirtualDirectoryPoseView*
|
||||||
|
VirtualDirectoryWindow::PoseView() const
|
||||||
|
{
|
||||||
|
return static_cast<VirtualDirectoryPoseView*>(fPoseView);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VirtualDirectoryWindow::AddWindowMenu(BMenu* menu)
|
VirtualDirectoryWindow::AddWindowMenu(BMenu* menu)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2013 Haiku, Inc. All rights reserved.
|
* Copyright 2013-2015 Haiku, Inc. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
|
* John Scipione, [email protected]
|
||||||
* Ingo Weinhold, [email protected]
|
* Ingo Weinhold, [email protected]
|
||||||
*/
|
*/
|
||||||
#ifndef VIRTUAL_DIRECTORY_WINDOW_H
|
#ifndef VIRTUAL_DIRECTORY_WINDOW_H
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|
||||||
|
class VirtualDirectoryPoseView;
|
||||||
|
|
||||||
class VirtualDirectoryWindow : public BContainerWindow {
|
class VirtualDirectoryWindow : public BContainerWindow {
|
||||||
public:
|
public:
|
||||||
@@ -26,6 +28,8 @@ public:
|
|||||||
| B_NO_WORKSPACE_ACTIVATION,
|
| B_NO_WORKSPACE_ACTIVATION,
|
||||||
uint32 workspace = B_CURRENT_WORKSPACE);
|
uint32 workspace = B_CURRENT_WORKSPACE);
|
||||||
|
|
||||||
|
VirtualDirectoryPoseView* PoseView() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void CreatePoseView(Model* model);
|
virtual void CreatePoseView(Model* model);
|
||||||
virtual BPoseView* NewPoseView(Model* model, uint32 viewMode);
|
virtual BPoseView* NewPoseView(Model* model, uint32 viewMode);
|
||||||
@@ -36,7 +40,6 @@ private:
|
|||||||
typedef BContainerWindow _inherited;
|
typedef BContainerWindow _inherited;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
} // namespace BPrivate
|
} // namespace BPrivate
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user