| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| * Copyright (c) 2013, Regents of the University of California |
| * BSD license, See the LICENSE file for more information |
| * Author: Zhenkai Zhu <zhenkai@cs.ucla.edu> |
| * Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| * Yingdi Yu <yingdi@cs.ucla.edu> |
| #ifndef CHRONOCHAT_TREE_LAYOUT_HPP |
| #define CHRONOCHAT_TREE_LAYOUT_HPP |
| #include "trust-tree-node.hpp" |
| setOneLevelLayout(std::vector<Coordinate>& childNodesCo) |
| setSiblingDistance(int d) |
| return m_siblingDistance; |
| class OneLevelTreeLayout : public TreeLayout |
| virtual ~OneLevelTreeLayout() |
| setOneLevelLayout(std::vector<Coordinate>& childNodesCo); |
| class MultipleLevelTreeLayout : public TreeLayout |
| MultipleLevelTreeLayout() |
| virtual ~MultipleLevelTreeLayout() |
| virtual void setMultipleLevelTreeLayout(TrustTreeNodeList& nodeList); |
| } // namespace chronochat |
| #endif // CHRONOCHAT_TREE_LAYOUT_HPP |