mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-19 19:38:57 -04:00
Added freeze option in NetworkView (Modified patch from K. Eisentraut)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6879 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e04283f3af
commit
5304865fc4
5 changed files with 41 additions and 1 deletions
|
|
@ -78,6 +78,10 @@ public:
|
|||
void snapshotNodesPositions() ;
|
||||
void clearNodesPositions() ;
|
||||
void clearGraph() ;
|
||||
|
||||
void setFreeze(bool freeze);
|
||||
bool isFrozen() const;
|
||||
|
||||
virtual void itemMoved();
|
||||
|
||||
void setEdgeLength(uint32_t l) ;
|
||||
|
|
@ -96,6 +100,7 @@ private:
|
|||
int timerId;
|
||||
//Node *centerNode;
|
||||
bool mDeterminedBB ;
|
||||
bool mIsFrozen;
|
||||
|
||||
std::vector<Node *> _nodes ;
|
||||
std::map<std::pair<NodeId,NodeId>,Edge *> _edges ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue