mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
Ide: MacroManager now has help button to point to the documentation site.
git-svn-id: svn://ultimatepp.org/upp/trunk@15291 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4f19f865a1
commit
2fd6637e8f
2 changed files with 5 additions and 3 deletions
|
|
@ -61,9 +61,10 @@ void MacroManagerWindow::InitToolButton(
|
|||
|
||||
void MacroManagerWindow::InitButtons()
|
||||
{
|
||||
closeButton.Close();
|
||||
close.Close();
|
||||
|
||||
closeButton << [=] { Break(); };
|
||||
close << [=] { Break(); };
|
||||
help << [=] { LaunchWebBrowser("https://www.ultimatepp.org/app$ide$MacroManager_en-us.html"); };
|
||||
editLabel << [=] { OnEditFile(); };
|
||||
exportLabel << [=] { OnExport(globalTree.GetCursor()); };
|
||||
newGlobalLabel << [=] { OnNewMacroFile(); };
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
LAYOUT(MacroManagerLayout, 708, 408)
|
||||
ITEM(ParentCtrl, parent, HSizePosZ(4, 4).VSizePosZ(36, 36))
|
||||
ITEM(Button, closeButton, SetLabel(t_("Close")).RightPosZ(4, 72).BottomPosZ(4, 24))
|
||||
ITEM(Button, close, SetLabel(t_("Close")).RightPosZ(4, 72).BottomPosZ(4, 24))
|
||||
ITEM(ToolBar, tool, HSizePosZ(4, 4).TopPosZ(4, 24))
|
||||
ITEM(Ctrl, dv___3, SetFrame(BottomSeparatorFrame()).HSizePosZ(4, 4).TopPosZ(32, 2))
|
||||
ITEM(Button, help, SetLabel(t_("?")).Tip(t_("Learn more about Macro manager..")).RightPosZ(80, 24).BottomPosZ(4, 24))
|
||||
END_LAYOUT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue