--- a/gui.cpp Mon Apr 15 18:07:29 2013 +0300 +++ b/gui.cpp Tue Apr 16 02:13:11 2013 +0300 @@ -54,6 +54,7 @@ EXTERN_ACTION (newQuad) EXTERN_ACTION (newVertex) EXTERN_ACTION (newComment) +EXTERN_ACTION (newRadial) EXTERN_ACTION (help) EXTERN_ACTION (about) EXTERN_ACTION (aboutQt) @@ -71,6 +72,7 @@ #ifndef RELEASE EXTERN_ACTION (addTestQuad) +EXTERN_ACTION (addTestRadial) #endif // RELEASE vector<actionmeta> g_ActionMeta; @@ -180,6 +182,7 @@ qInsertMenu->addAction (ACTION_NAME (newCondLine)); // New Conditional Line qInsertMenu->addAction (ACTION_NAME (newComment)); // New Comment qInsertMenu->addAction (ACTION_NAME (newVertex)); // New Vertex + qInsertMenu->addAction (ACTION_NAME (newRadial)); // New Radial // Edit menu qEditMenu = menuBar ()->addMenu (tr ("&Edit")); @@ -222,6 +225,7 @@ // Debug menu qDebugMenu = menuBar ()->addMenu (tr ("&Debug")); qDebugMenu->addAction (ACTION_NAME (addTestQuad)); // Add Test Quad + qDebugMenu->addAction (ACTION_NAME (addTestRadial)); // Add Test Radial #endif // RELEASE // Help menu @@ -283,6 +287,7 @@ ADD_TOOLBAR_ITEM (newCondLine) ADD_TOOLBAR_ITEM (newComment) ADD_TOOLBAR_ITEM (newVertex) + ADD_TOOLBAR_ITEM (newRadial) initSingleToolBar ("Edit"); ADD_TOOLBAR_ITEM (undo)