basic (and probably wrong) Canvas::Grid child placement

This commit is contained in:
Paul Davis 2017-01-14 12:56:26 +00:00
parent 0d1a083a5d
commit 99b86f0f05
2 changed files with 45 additions and 11 deletions

View file

@ -19,6 +19,8 @@
#ifndef __CANVAS_GRID_H__
#define __CANVAS_GRID_H__
#include <map>
#include "canvas/item.h"
namespace ArdourCanvas
@ -58,6 +60,9 @@ public:
void child_changed ();
private:
typedef std::map<Item*,Duple> CoordsByItem;
CoordsByItem coords_by_item;
Rectangle *self;
bool collapse_on_hide;
bool homogenous;