#include <BlackboardScene.h>
|
| | BlackboardScene (wxWindow *parent) |
| | ~BlackboardScene () override |
| wxPanel * | GetPanel () override |
| | Returns the wxPanel used as the scene content.
|
| wxString | GetTitle () const override |
| | Returns the display title of the scene.
|
| wxString | GetSceneType () const override |
| | Returns the scene type identifier.
|
| bool | IsClosable () const override |
| | Returns true if the scene can be closed.
|
| void | SetBlackboards (const std::map< std::string, std::shared_ptr< EmberCore::Blackboard > > &bbs, const std::map< std::string, std::vector< std::string > > &includesMap) |
| void | ScrollToBlackboard (const std::string &bbId) |
| void | ClearBlackboards () |
| virtual | ~IScene ()=default |
| virtual void | OnActivated () |
| | Called when the scene becomes active.
|
| virtual void | OnDeactivated () |
| | Called when the scene becomes inactive.
|
| virtual void | Refresh () |
| | Refreshes the scene content.
|
| virtual bool | HasUnsavedChanges () const |
| | Returns true if the scene has unsaved changes.
|
| virtual bool | Save () |
| | Saves the scene content; returns true on success.
|
Definition at line 14 of file BlackboardScene.h.
◆ BlackboardScene()
| BlackboardScene::BlackboardScene |
( |
wxWindow * | parent | ) |
|
◆ ~BlackboardScene()
| BlackboardScene::~BlackboardScene |
( |
| ) |
|
|
override |
◆ ClearBlackboards()
| void BlackboardScene::ClearBlackboards |
( |
| ) |
|
◆ CreateLayout()
| void BlackboardScene::CreateLayout |
( |
| ) |
|
|
private |
◆ DrawBlackboardCards()
| void BlackboardScene::DrawBlackboardCards |
( |
wxDC & | dc | ) |
|
|
private |
◆ GetPanel()
| wxPanel * BlackboardScene::GetPanel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetSceneType()
| wxString BlackboardScene::GetSceneType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetTitle()
| wxString BlackboardScene::GetTitle |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ IsClosable()
| bool BlackboardScene::IsClosable |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ OnLeftDown()
| void BlackboardScene::OnLeftDown |
( |
wxMouseEvent & | event | ) |
|
|
private |
◆ OnMouseWheel()
| void BlackboardScene::OnMouseWheel |
( |
wxMouseEvent & | event | ) |
|
|
private |
◆ OnPaint()
| void BlackboardScene::OnPaint |
( |
wxPaintEvent & | event | ) |
|
|
private |
◆ OnScrollTimer()
| void BlackboardScene::OnScrollTimer |
( |
wxTimerEvent & | event | ) |
|
|
private |
◆ ScrollToBlackboard()
| void BlackboardScene::ScrollToBlackboard |
( |
const std::string & | bbId | ) |
|
◆ SetBlackboards()
| void BlackboardScene::SetBlackboards |
( |
const std::map< std::string, std::shared_ptr< EmberCore::Blackboard > > & | bbs, |
|
|
const std::map< std::string, std::vector< std::string > > & | includesMap ) |
◆ CARD_HEADER_H
| const int BlackboardScene::CARD_HEADER_H = 26 |
|
staticprivate |
◆ m_bbYPositions
| std::map<std::string, int> BlackboardScene::m_bbYPositions |
|
private |
◆ m_blackboards
◆ m_collapsedBlackboards
| std::set<std::string> BlackboardScene::m_collapsedBlackboards |
|
private |
◆ m_includesMap
| std::map<std::string, std::vector<std::string> > BlackboardScene::m_includesMap |
|
private |
◆ m_panel
| wxPanel* BlackboardScene::m_panel |
|
private |
◆ m_scrollPanel
| wxScrolledWindow* BlackboardScene::m_scrollPanel |
|
private |
◆ m_scrollTimer
| wxTimer* BlackboardScene::m_scrollTimer = nullptr |
|
private |
◆ m_scrollVelocity
| double BlackboardScene::m_scrollVelocity = 0.0 |
|
private |
◆ m_scrollY
| double BlackboardScene::m_scrollY = 0.0 |
|
private |
◆ m_sortedBBIds
| std::vector<std::string> BlackboardScene::m_sortedBBIds |
|
private |
◆ ROW_H
| const int BlackboardScene::ROW_H = 24 |
|
staticprivate |
◆ SCROLL_FRICTION
| double BlackboardScene::SCROLL_FRICTION = 0.82 |
|
staticconstexprprivate |
◆ SCROLL_PIXELS_PER_NOTCH
| double BlackboardScene::SCROLL_PIXELS_PER_NOTCH = 60.0 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: