forked from mia/Aegisub
Remove periods from single-sentence tooltips
Originally committed to SVN as r6449.
This commit is contained in:
parent
38c905d32a
commit
5e96d6e8c3
7 changed files with 59 additions and 59 deletions
|
@ -57,11 +57,11 @@ namespace {
|
||||||
/// @defgroup cmd-recent MRU (Most Recently Used) commands.
|
/// @defgroup cmd-recent MRU (Most Recently Used) commands.
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
COMMAND_GROUP(recent_audio, "recent/audio", "Recent", "Recent", "Open recent audio.");
|
COMMAND_GROUP(recent_audio, "recent/audio", _("Recent"), _("Recent"), _("Open recent audio"));
|
||||||
COMMAND_GROUP(recent_keyframes, "recent/keyframe", "Recent", "Recent", "Open recent keyframes.");
|
COMMAND_GROUP(recent_keyframes, "recent/keyframe", _("Recent"), _("Recent"), _("Open recent keyframes"));
|
||||||
COMMAND_GROUP(recent_subtitle, "recent/subtitle", "Recent", "Recent", "Open recent subtitles.");
|
COMMAND_GROUP(recent_subtitle, "recent/subtitle", _("Recent"), _("Recent"), _("Open recent subtitles"));
|
||||||
COMMAND_GROUP(recent_timecodes, "recent/timecodes", "Recent", "Recent", "Open recent timecodes.");
|
COMMAND_GROUP(recent_timecodes, "recent/timecodes", _("Recent"), _("Recent"), _("Open recent timecodes"));
|
||||||
COMMAND_GROUP(recent_video, "recent/video", "Recent", "Recent", "Open recent video.");
|
COMMAND_GROUP(recent_video, "recent/video", _("Recent"), _("Recent"), _("Open recent video"));
|
||||||
|
|
||||||
struct recent_audio_entry : public Command {
|
struct recent_audio_entry : public Command {
|
||||||
CMD_NAME("recent/audio/")
|
CMD_NAME("recent/audio/")
|
||||||
|
|
|
@ -148,26 +148,26 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con
|
||||||
Encoding = new wxComboBox(this, -1, "", wxDefaultPosition, wxDefaultSize, encodingStrings, wxCB_READONLY);
|
Encoding = new wxComboBox(this, -1, "", wxDefaultPosition, wxDefaultSize, encodingStrings, wxCB_READONLY);
|
||||||
|
|
||||||
// Set control tooltips
|
// Set control tooltips
|
||||||
StyleName->SetToolTip(_("Style name."));
|
StyleName->SetToolTip(_("Style name"));
|
||||||
FontName->SetToolTip(_("Font face."));
|
FontName->SetToolTip(_("Font face"));
|
||||||
FontSize->SetToolTip(_("Font size."));
|
FontSize->SetToolTip(_("Font size"));
|
||||||
colorButton[0]->SetToolTip(_("Choose primary color."));
|
colorButton[0]->SetToolTip(_("Choose primary color"));
|
||||||
colorButton[1]->SetToolTip(_("Choose secondary color."));
|
colorButton[1]->SetToolTip(_("Choose secondary color"));
|
||||||
colorButton[2]->SetToolTip(_("Choose outline color."));
|
colorButton[2]->SetToolTip(_("Choose outline color"));
|
||||||
colorButton[3]->SetToolTip(_("Choose shadow color."));
|
colorButton[3]->SetToolTip(_("Choose shadow color"));
|
||||||
for (int i=0;i<4;i++) colorAlpha[i]->SetToolTip(_("Set opacity, from 0 (opaque) to 255 (transparent)."));
|
for (int i=0;i<4;i++) colorAlpha[i]->SetToolTip(_("Set opacity, from 0 (opaque) to 255 (transparent)"));
|
||||||
margin[0]->SetToolTip(_("Distance from left edge, in pixels."));
|
margin[0]->SetToolTip(_("Distance from left edge, in pixels"));
|
||||||
margin[1]->SetToolTip(_("Distance from right edge, in pixels."));
|
margin[1]->SetToolTip(_("Distance from right edge, in pixels"));
|
||||||
margin[2]->SetToolTip(_("Distance from top/bottom edge, in pixels."));
|
margin[2]->SetToolTip(_("Distance from top/bottom edge, in pixels"));
|
||||||
OutlineType->SetToolTip(_("When selected, display an opaque box behind the subtitles instead of an outline around the text."));
|
OutlineType->SetToolTip(_("When selected, display an opaque box behind the subtitles instead of an outline around the text"));
|
||||||
Outline->SetToolTip(_("Outline width, in pixels."));
|
Outline->SetToolTip(_("Outline width, in pixels"));
|
||||||
Shadow->SetToolTip(_("Shadow distance, in pixels."));
|
Shadow->SetToolTip(_("Shadow distance, in pixels"));
|
||||||
ScaleX->SetToolTip(_("Scale X, in percentage."));
|
ScaleX->SetToolTip(_("Scale X, in percentage"));
|
||||||
ScaleY->SetToolTip(_("Scale Y, in percentage."));
|
ScaleY->SetToolTip(_("Scale Y, in percentage"));
|
||||||
Angle->SetToolTip(_("Angle to rotate in Z axis, in degrees."));
|
Angle->SetToolTip(_("Angle to rotate in Z axis, in degrees"));
|
||||||
Encoding->SetToolTip(_("Encoding, only useful in unicode if the font doesn't have the proper unicode mapping."));
|
Encoding->SetToolTip(_("Encoding, only useful in unicode if the font doesn't have the proper unicode mapping"));
|
||||||
Spacing->SetToolTip(_("Character spacing, in pixels."));
|
Spacing->SetToolTip(_("Character spacing, in pixels"));
|
||||||
Alignment->SetToolTip(_("Alignment in screen, in numpad style."));
|
Alignment->SetToolTip(_("Alignment in screen, in numpad style"));
|
||||||
|
|
||||||
// Set up controls
|
// Set up controls
|
||||||
BoxBold->SetValue(style->bold);
|
BoxBold->SetValue(style->bold);
|
||||||
|
@ -271,11 +271,11 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con
|
||||||
previewButton = new ColourButton(this, -1, wxSize(45, 16), lagi_wxColour(OPT_GET("Colour/Style Editor/Background/Preview")->GetColour()));
|
previewButton = new ColourButton(this, -1, wxSize(45, 16), lagi_wxColour(OPT_GET("Colour/Style Editor/Background/Preview")->GetColour()));
|
||||||
SubsPreview = new SubtitlesPreview(this, -1, wxDefaultPosition, wxSize(100, 60), wxSUNKEN_BORDER, lagi_wxColour(OPT_GET("Colour/Style Editor/Background/Preview")->GetColour()));
|
SubsPreview = new SubtitlesPreview(this, -1, wxDefaultPosition, wxSize(100, 60), wxSUNKEN_BORDER, lagi_wxColour(OPT_GET("Colour/Style Editor/Background/Preview")->GetColour()));
|
||||||
|
|
||||||
SubsPreview->SetToolTip(_("Preview of current style."));
|
SubsPreview->SetToolTip(_("Preview of current style"));
|
||||||
SubsPreview->SetStyle(*style);
|
SubsPreview->SetStyle(*style);
|
||||||
SubsPreview->SetText(PreviewText->GetValue());
|
SubsPreview->SetText(PreviewText->GetValue());
|
||||||
PreviewText->SetToolTip(_("Text to be used for the preview."));
|
PreviewText->SetToolTip(_("Text to be used for the preview"));
|
||||||
previewButton->SetToolTip(_("Colour of preview background."));
|
previewButton->SetToolTip(_("Colour of preview background"));
|
||||||
|
|
||||||
wxSizer *PreviewBottomSizer = new wxBoxSizer(wxHORIZONTAL);
|
wxSizer *PreviewBottomSizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
PreviewBottomSizer->Add(PreviewText, 1, wxEXPAND | wxRIGHT, 5);
|
PreviewBottomSizer->Add(PreviewText, 1, wxEXPAND | wxRIGHT, 5);
|
||||||
|
|
|
@ -77,11 +77,11 @@ static wxSizer *make_move_buttons(wxWindow *parent, wxButton **up, wxButton **do
|
||||||
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
|
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
sizer->AddStretchSpacer(1);
|
sizer->AddStretchSpacer(1);
|
||||||
|
|
||||||
*up = add_bitmap_button(parent, sizer, GETIMAGE(arrow_up_24), _("Move style up."));
|
*up = add_bitmap_button(parent, sizer, GETIMAGE(arrow_up_24), _("Move style up"));
|
||||||
*down = add_bitmap_button(parent, sizer, GETIMAGE(arrow_down_24), _("Move style down."));
|
*down = add_bitmap_button(parent, sizer, GETIMAGE(arrow_down_24), _("Move style down"));
|
||||||
*top = add_bitmap_button(parent, sizer, GETIMAGE(arrow_up_stop_24), _("Move style to top."));
|
*top = add_bitmap_button(parent, sizer, GETIMAGE(arrow_up_stop_24), _("Move style to top"));
|
||||||
*bottom = add_bitmap_button(parent, sizer, GETIMAGE(arrow_down_stop_24), _("Move style to bottom."));
|
*bottom = add_bitmap_button(parent, sizer, GETIMAGE(arrow_down_stop_24), _("Move style to bottom"));
|
||||||
*sort = add_bitmap_button(parent, sizer, GETIMAGE(arrow_sort_24), _("Sort styles alphabetically."));
|
*sort = add_bitmap_button(parent, sizer, GETIMAGE(arrow_sort_24), _("Sort styles alphabetically"));
|
||||||
|
|
||||||
sizer->AddStretchSpacer(1);
|
sizer->AddStretchSpacer(1);
|
||||||
return sizer;
|
return sizer;
|
||||||
|
|
|
@ -125,10 +125,10 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c)
|
||||||
StyleList->SetToolTip(_("Select styles to process. Unchecked ones will be ignored."));
|
StyleList->SetToolTip(_("Select styles to process. Unchecked ones will be ignored."));
|
||||||
|
|
||||||
wxButton *all = new wxButton(this,-1,_("&All"));
|
wxButton *all = new wxButton(this,-1,_("&All"));
|
||||||
all->SetToolTip(_("Select all styles."));
|
all->SetToolTip(_("Select all styles"));
|
||||||
|
|
||||||
wxButton *none = new wxButton(this,-1,_("&None"));
|
wxButton *none = new wxButton(this,-1,_("&None"));
|
||||||
none->SetToolTip(_("Deselect all styles."));
|
none->SetToolTip(_("Deselect all styles"));
|
||||||
|
|
||||||
// Options box
|
// Options box
|
||||||
wxStaticBoxSizer *optionsSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Options"));
|
wxStaticBoxSizer *optionsSizer = new wxStaticBoxSizer(wxHORIZONTAL,this,_("Options"));
|
||||||
|
@ -141,13 +141,13 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c)
|
||||||
|
|
||||||
hasLeadIn = make_check(LeadSizer, _("Add lead &in:"),
|
hasLeadIn = make_check(LeadSizer, _("Add lead &in:"),
|
||||||
"Tool/Timing Post Processor/Enable/Lead/IN",
|
"Tool/Timing Post Processor/Enable/Lead/IN",
|
||||||
_("Enable adding of lead-ins to lines."));
|
_("Enable adding of lead-ins to lines"));
|
||||||
make_ctrl(LeadSizer, "", &leadIn, hasLeadIn, _("Lead in to be added, in milliseconds."));
|
make_ctrl(LeadSizer, "", &leadIn, hasLeadIn, _("Lead in to be added, in milliseconds"));
|
||||||
|
|
||||||
hasLeadOut = make_check(LeadSizer, _("Add lead &out:"),
|
hasLeadOut = make_check(LeadSizer, _("Add lead &out:"),
|
||||||
"Tool/Timing Post Processor/Enable/Lead/OUT",
|
"Tool/Timing Post Processor/Enable/Lead/OUT",
|
||||||
_("Enable adding of lead-outs to lines."));
|
_("Enable adding of lead-outs to lines"));
|
||||||
make_ctrl(LeadSizer, "", &leadOut, hasLeadOut, _("Lead out to be added, in milliseconds."));
|
make_ctrl(LeadSizer, "", &leadOut, hasLeadOut, _("Lead out to be added, in milliseconds"));
|
||||||
|
|
||||||
LeadSizer->AddStretchSpacer(1);
|
LeadSizer->AddStretchSpacer(1);
|
||||||
|
|
||||||
|
@ -155,13 +155,13 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c)
|
||||||
wxStaticBoxSizer *AdjacentSizer = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Make adjacent subtitles continuous"));
|
wxStaticBoxSizer *AdjacentSizer = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Make adjacent subtitles continuous"));
|
||||||
adjsEnable = make_check(AdjacentSizer, _("&Enable"),
|
adjsEnable = make_check(AdjacentSizer, _("&Enable"),
|
||||||
"Tool/Timing Post Processor/Enable/Adjacent",
|
"Tool/Timing Post Processor/Enable/Adjacent",
|
||||||
_("Enable snapping of subtitles together if they are within a certain distance of each other."));
|
_("Enable snapping of subtitles together if they are within a certain distance of each other"));
|
||||||
|
|
||||||
wxSizer *adjBoxes = new wxBoxSizer(wxHORIZONTAL);
|
wxSizer *adjBoxes = new wxBoxSizer(wxHORIZONTAL);
|
||||||
make_ctrl(this, adjBoxes, _("Max gap:"), &adjGap, adjsEnable,
|
make_ctrl(this, adjBoxes, _("Max gap:"), &adjGap, adjsEnable,
|
||||||
_("Maximum difference between start and end time for two subtitles to be made continuous, in milliseconds."));
|
_("Maximum difference between start and end time for two subtitles to be made continuous, in milliseconds"));
|
||||||
make_ctrl(this, adjBoxes, _("Max overlap:"), &adjOverlap, adjsEnable,
|
make_ctrl(this, adjBoxes, _("Max overlap:"), &adjOverlap, adjsEnable,
|
||||||
_("Maximum overlap between the end and start time for two subtitles to be made continuous, in milliseconds."));
|
_("Maximum overlap between the end and start time for two subtitles to be made continuous, in milliseconds"));
|
||||||
|
|
||||||
adjacentBias = new wxSlider(this, -1, mid<int>(0, OPT_GET("Tool/Timing Post Processor/Adjacent Bias")->GetDouble() * 100, 100), 0, 100, wxDefaultPosition, wxSize(-1,20));
|
adjacentBias = new wxSlider(this, -1, mid<int>(0, OPT_GET("Tool/Timing Post Processor/Adjacent Bias")->GetDouble() * 100, 100), 0, 100, wxDefaultPosition, wxSize(-1,20));
|
||||||
adjacentBias->SetToolTip(_("Sets how to set the adjoining of lines. If set totally to left, it will extend or shrink start time of the second line; if totally to right, it will extend or shrink the end time of the first line."));
|
adjacentBias->SetToolTip(_("Sets how to set the adjoining of lines. If set totally to left, it will extend or shrink start time of the second line; if totally to right, it will extend or shrink the end time of the first line."));
|
||||||
|
@ -181,7 +181,7 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c)
|
||||||
wxSizer *KeyframesFlexSizer = new wxFlexGridSizer(2,5,5,0);
|
wxSizer *KeyframesFlexSizer = new wxFlexGridSizer(2,5,5,0);
|
||||||
|
|
||||||
keysEnable = new wxCheckBox(this, -1, _("E&nable"));
|
keysEnable = new wxCheckBox(this, -1, _("E&nable"));
|
||||||
keysEnable->SetToolTip(_("Enable snapping of subtitles to nearest keyframe, if distance is within threshold."));
|
keysEnable->SetToolTip(_("Enable snapping of subtitles to nearest keyframe, if distance is within threshold"));
|
||||||
keysEnable->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Keyframe")->GetBool());
|
keysEnable->SetValue(OPT_GET("Tool/Timing Post Processor/Enable/Keyframe")->GetBool());
|
||||||
KeyframesFlexSizer->Add(keysEnable,0,wxRIGHT|wxEXPAND,10);
|
KeyframesFlexSizer->Add(keysEnable,0,wxRIGHT|wxEXPAND,10);
|
||||||
|
|
||||||
|
@ -193,18 +193,18 @@ DialogTimingProcessor::DialogTimingProcessor(agi::Context *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
make_ctrl(this, KeyframesFlexSizer, _("Starts before thres.:"), &beforeStart, keysEnable,
|
make_ctrl(this, KeyframesFlexSizer, _("Starts before thres.:"), &beforeStart, keysEnable,
|
||||||
_("Threshold for 'before start' distance, that is, how many milliseconds a subtitle must start before a keyframe to snap to it."));
|
_("Threshold for 'before start' distance, that is, how many milliseconds a subtitle must start before a keyframe to snap to it"));
|
||||||
|
|
||||||
make_ctrl(this, KeyframesFlexSizer, _("Starts after thres.:"), &afterStart, keysEnable,
|
make_ctrl(this, KeyframesFlexSizer, _("Starts after thres.:"), &afterStart, keysEnable,
|
||||||
_("Threshold for 'after start' distance, that is, how many milliseconds a subtitle must start after a keyframe to snap to it."));
|
_("Threshold for 'after start' distance, that is, how many milliseconds a subtitle must start after a keyframe to snap to it"));
|
||||||
|
|
||||||
KeyframesFlexSizer->AddStretchSpacer(1);
|
KeyframesFlexSizer->AddStretchSpacer(1);
|
||||||
|
|
||||||
make_ctrl(this, KeyframesFlexSizer, _("Ends before thres.:"), &beforeEnd, keysEnable,
|
make_ctrl(this, KeyframesFlexSizer, _("Ends before thres.:"), &beforeEnd, keysEnable,
|
||||||
_("Threshold for 'before end' distance, that is, how many milliseconds a subtitle must end before a keyframe to snap to it."));
|
_("Threshold for 'before end' distance, that is, how many milliseconds a subtitle must end before a keyframe to snap to it"));
|
||||||
|
|
||||||
make_ctrl(this, KeyframesFlexSizer, _("Ends after thres.:"), &afterEnd, keysEnable,
|
make_ctrl(this, KeyframesFlexSizer, _("Ends after thres.:"), &afterEnd, keysEnable,
|
||||||
_("Threshold for 'after end' distance, that is, how many milliseconds a subtitle must end after a keyframe to snap to it."));
|
_("Threshold for 'after end' distance, that is, how many milliseconds a subtitle must end after a keyframe to snap to it"));
|
||||||
|
|
||||||
KeyframesSizer->Add(KeyframesFlexSizer,0,wxEXPAND);
|
KeyframesSizer->Add(KeyframesFlexSizer,0,wxEXPAND);
|
||||||
KeyframesSizer->AddStretchSpacer(1);
|
KeyframesSizer->AddStretchSpacer(1);
|
||||||
|
|
|
@ -154,7 +154,7 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context)
|
||||||
CommentBox->SetToolTip(_("Comment this line out. Commented lines don't show up on screen."));
|
CommentBox->SetToolTip(_("Comment this line out. Commented lines don't show up on screen."));
|
||||||
TopSizer->Add(CommentBox, 0, wxRIGHT | wxALIGN_CENTER, 5);
|
TopSizer->Add(CommentBox, 0, wxRIGHT | wxALIGN_CENTER, 5);
|
||||||
|
|
||||||
StyleBox = MakeComboBox("Default", wxCB_READONLY, &SubsEditBox::OnStyleChange, _("Style for this line."));
|
StyleBox = MakeComboBox("Default", wxCB_READONLY, &SubsEditBox::OnStyleChange, _("Style for this line"));
|
||||||
|
|
||||||
ActorBox = new Placeholder<wxComboBox>(this, "Actor", wxSize(110, -1), wxCB_DROPDOWN | wxTE_PROCESS_ENTER, _("Actor name for this speech. This is only for reference, and is mainly useless."));
|
ActorBox = new Placeholder<wxComboBox>(this, "Actor", wxSize(110, -1), wxCB_DROPDOWN | wxTE_PROCESS_ENTER, _("Actor name for this speech. This is only for reference, and is mainly useless."));
|
||||||
Bind(wxEVT_COMMAND_TEXT_UPDATED, &SubsEditBox::OnActorChange, this, ActorBox->GetId());
|
Bind(wxEVT_COMMAND_TEXT_UPDATED, &SubsEditBox::OnActorChange, this, ActorBox->GetId());
|
||||||
|
|
|
@ -88,15 +88,15 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context)
|
||||||
|
|
||||||
// Seek
|
// Seek
|
||||||
VideoSlider *videoSlider = new VideoSlider(this, context);
|
VideoSlider *videoSlider = new VideoSlider(this, context);
|
||||||
videoSlider->SetToolTip(_("Seek video."));
|
videoSlider->SetToolTip(_("Seek video"));
|
||||||
|
|
||||||
// Position
|
// Position
|
||||||
VideoPosition = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(110,20),wxTE_READONLY);
|
VideoPosition = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(110,20),wxTE_READONLY);
|
||||||
VideoPosition->SetToolTip(_("Current frame time and number."));
|
VideoPosition->SetToolTip(_("Current frame time and number"));
|
||||||
|
|
||||||
// Times of sub relative to video
|
// Times of sub relative to video
|
||||||
VideoSubsPos = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(110,20),wxTE_READONLY);
|
VideoSubsPos = new wxTextCtrl(this,-1,"",wxDefaultPosition,wxSize(110,20),wxTE_READONLY);
|
||||||
VideoSubsPos->SetToolTip(_("Time of this frame relative to start and end of current subs."));
|
VideoSubsPos->SetToolTip(_("Time of this frame relative to start and end of current subs"));
|
||||||
|
|
||||||
// Zoom box
|
// Zoom box
|
||||||
wxArrayString choices;
|
wxArrayString choices;
|
||||||
|
|
|
@ -60,16 +60,16 @@ void VisualToolVectorClip::SetToolbar(wxToolBar *toolBar) {
|
||||||
int icon_size = OPT_GET("App/Toolbar Icon Size")->GetInt();
|
int icon_size = OPT_GET("App/Toolbar Icon Size")->GetInt();
|
||||||
|
|
||||||
#define ICON(name) icon_size == 16 ? GETIMAGE(name ## _16) : GETIMAGE(name ## _24)
|
#define ICON(name) icon_size == 16 ? GETIMAGE(name ## _16) : GETIMAGE(name ## _24)
|
||||||
toolBar->AddTool(BUTTON_DRAG, _("Drag"), ICON(visual_vector_clip_drag), _("Drag control points."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_DRAG, _("Drag"), ICON(visual_vector_clip_drag), _("Drag control points"), wxITEM_CHECK);
|
||||||
toolBar->AddTool(BUTTON_LINE, _("Line"), ICON(visual_vector_clip_line), _("Appends a line."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_LINE, _("Line"), ICON(visual_vector_clip_line), _("Appends a line"), wxITEM_CHECK);
|
||||||
toolBar->AddTool(BUTTON_BICUBIC, _("Bicubic"), ICON(visual_vector_clip_bicubic), _("Appends a bezier bicubic curve."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_BICUBIC, _("Bicubic"), ICON(visual_vector_clip_bicubic), _("Appends a bezier bicubic curve"), wxITEM_CHECK);
|
||||||
toolBar->AddSeparator();
|
toolBar->AddSeparator();
|
||||||
toolBar->AddTool(BUTTON_CONVERT, _("Convert"), ICON(visual_vector_clip_convert), _("Converts a segment between line and bicubic."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_CONVERT, _("Convert"), ICON(visual_vector_clip_convert), _("Converts a segment between line and bicubic"), wxITEM_CHECK);
|
||||||
toolBar->AddTool(BUTTON_INSERT, _("Insert"), ICON(visual_vector_clip_insert), _("Inserts a control point."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_INSERT, _("Insert"), ICON(visual_vector_clip_insert), _("Inserts a control point"), wxITEM_CHECK);
|
||||||
toolBar->AddTool(BUTTON_REMOVE, _("Remove"), ICON(visual_vector_clip_remove), _("Removes a control point."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_REMOVE, _("Remove"), ICON(visual_vector_clip_remove), _("Removes a control point"), wxITEM_CHECK);
|
||||||
toolBar->AddSeparator();
|
toolBar->AddSeparator();
|
||||||
toolBar->AddTool(BUTTON_FREEHAND, _("Freehand"), ICON(visual_vector_clip_freehand), _("Draws a freehand shape."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_FREEHAND, _("Freehand"), ICON(visual_vector_clip_freehand), _("Draws a freehand shape"), wxITEM_CHECK);
|
||||||
toolBar->AddTool(BUTTON_FREEHAND_SMOOTH, _("Freehand smooth"), ICON(visual_vector_clip_freehand_smooth), _("Draws a smoothed freehand shape."), wxITEM_CHECK);
|
toolBar->AddTool(BUTTON_FREEHAND_SMOOTH, _("Freehand smooth"), ICON(visual_vector_clip_freehand_smooth), _("Draws a smoothed freehand shape"), wxITEM_CHECK);
|
||||||
toolBar->ToggleTool(BUTTON_DRAG, true);
|
toolBar->ToggleTool(BUTTON_DRAG, true);
|
||||||
toolBar->Realize();
|
toolBar->Realize();
|
||||||
toolBar->Show(true);
|
toolBar->Show(true);
|
||||||
|
|
Loading…
Reference in a new issue