diff options
Diffstat (limited to 'editor/editor.cc')
| -rw-r--r-- | editor/editor.cc | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/editor/editor.cc b/editor/editor.cc index e7d8781..1de16a1 100644 --- a/editor/editor.cc +++ b/editor/editor.cc @@ -67,16 +67,17 @@ int main(int argc, char *argv[])      n = n.nextSibling();    } -  Toolbox toolbox(docElem); +  MacroWindow macrowindow(node); +  Toolbox toolbox(docElem, ¯owindow); +  propertieseditor = new PropertiesEditor(); +    toolbox.move(OFFSET_X, OFFSET_Y);    toolbox.show(); -  MacroWindow macrowindow(node);    macrowindow.resize(400, 300);    macrowindow.move(toolbox.width() + OFFSET_X + SPACING, OFFSET_Y);    macrowindow.show(); -  propertieseditor = new PropertiesEditor();    propertieseditor->setProperties(¯owindow);    propertieseditor->move(macrowindow.width() + toolbox.width() + OFFSET_X + 2 * SPACING, OFFSET_Y);    propertieseditor->show(); | 
