mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 16:07:33 +00:00
Toolbars: a + button on a new toolbar adds and removes tools from a menu
A toolbar made with New Toolbar was filled only by dragging tools from its All Tools drawer, which the ••• button opens. It now also has a + button (Add Tool…) above the ••• button. Its menu lists every tool under the drawer's headings; a click adds the tool at the end of that toolbar (toolbar.addTool with toolbar), and the tools already in it are dimmed. Under Remove Tool the menu lists the toolbar's tools, and a click takes one out (toolbar.removeTool). The button takes the keyboard focus, and the menu scrolls inside the window like the other long menus. The drawer and its drags work as before. Add Tool… and Remove Tool have rows in every catalog.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
//! Window › Toolbars › New Toolbar (#1759): toolbars the user makes and names. New Toolbar asks
|
||||
//! for a name and makes a blank toolbar that floats on its own; the ••• button at its foot opens the
|
||||
//! All Tools drawer beside it, and tools dragged from the drawer fill it (`edit_toolbar`, with the
|
||||
//! `toolbar` param of its commands). Its title bar moves it, its × hides it and its double arrow
|
||||
//! shows its tools in one column or two. Each toolbar is listed under Window › Toolbars, where its
|
||||
//! `toolbar` param of its commands). The + button above it opens Add Tool…, a menu of every tool
|
||||
//! where a click adds the tool at the end, and whose Remove Tool items take tools out: VectorCraft's
|
||||
//! own way to fill a toolbar without a drag. Its title bar moves it, its × hides it and its double
|
||||
//! arrow shows its tools in one column or two. Each toolbar is listed under Window › Toolbars, where its
|
||||
//! item shows or hides it, and is kept with the workspace it was made in (`Workspace::toolbars`).
|
||||
//! Window › Toolbars › Manage Toolbars (also in the drawer's menu) renames, copies and deletes them.
|
||||
//!
|
||||
@@ -553,6 +555,10 @@ enum Action {
|
||||
/// A group's flyout: its tools, its button, and the toolbar's name.
|
||||
Flyout(Vec<&'static str>, egui::Rect, String),
|
||||
EditToolbar(String),
|
||||
/// A tool picked in Add Tool…'s menu, added at the end of the toolbar named.
|
||||
AddTool(String, &'static str),
|
||||
/// A tool picked under Remove Tool in Add Tool…'s menu, taken out of the toolbar named.
|
||||
RemoveTool(String, &'static str),
|
||||
/// The title bar's ×.
|
||||
Hide(String),
|
||||
/// The title bar's double arrow: two columns (true) or one.
|
||||
@@ -561,8 +567,8 @@ enum Action {
|
||||
|
||||
/// The toolbars made with New Toolbar that show, each floating where its title bar was dragged: the
|
||||
/// title bar's × hides it and its double arrow lays the tools out in one column or two; then its
|
||||
/// tool buttons (a group's flyout opens as the Tools panel's do) and the ••• button that opens the
|
||||
/// All Tools drawer beside it.
|
||||
/// tool buttons (a group's flyout opens as the Tools panel's do), the + button whose menu adds and
|
||||
/// removes tools, and the ••• button that opens the All Tools drawer beside it.
|
||||
pub(crate) fn show(app: &mut VectorcraftApp, ctx: &egui::Context) {
|
||||
// Tab hides them, also when Window › Tools shows the Tools panel again.
|
||||
if app.ui.tab_hid.is_some() || app.ui.custom_toolbars.iter().all(|b| !b.shown) {
|
||||
@@ -660,9 +666,13 @@ pub(crate) fn show(app: &mut VectorcraftApp, ctx: &egui::Context) {
|
||||
});
|
||||
}
|
||||
ui.add_space(4.0);
|
||||
// Add Tool…: a menu of the tools, which adds one to this toolbar or takes one out.
|
||||
let add = ui.vertical_centered(|ui| widgets::icon_button(ui, "plus", "Add Tool…", false, 26.0)).inner;
|
||||
// Edit Toolbar: the All Tools drawer opens beside this toolbar, by this button.
|
||||
ui.vertical_centered(|ui| widgets::icon_button(ui, "ellipsis", "Edit Toolbar", edit_this, 26.0)).inner
|
||||
(add, ui.vertical_centered(|ui| widgets::icon_button(ui, "ellipsis", "Edit Toolbar", edit_this, 26.0)).inner)
|
||||
});
|
||||
let (add, edit) = edit;
|
||||
add_menu(&add, &t, &bar, &mut actions);
|
||||
if edit.clicked() {
|
||||
actions.push(Action::EditToolbar(bar.name.clone()));
|
||||
}
|
||||
@@ -721,6 +731,16 @@ pub(crate) fn show(app: &mut VectorcraftApp, ctx: &egui::Context) {
|
||||
app.status(e);
|
||||
}
|
||||
}
|
||||
Action::AddTool(name, tool) => {
|
||||
if let Err(e) = app.run("toolbar.addTool", json!({ "tool": tool, "toolbar": name })) {
|
||||
app.status(e);
|
||||
}
|
||||
}
|
||||
Action::RemoveTool(name, tool) => {
|
||||
if let Err(e) = app.run("toolbar.removeTool", json!({ "tool": tool, "toolbar": name })) {
|
||||
app.status(e);
|
||||
}
|
||||
}
|
||||
Action::Hide(name) => {
|
||||
if let Err(e) = app.run("window.toolbar.custom", json!({ "name": name, "show": false })) {
|
||||
app.status(e);
|
||||
@@ -793,6 +813,42 @@ fn slot_button(ui: &mut egui::Ui, t: &Tokens, p: &Press, slot: &[String], action
|
||||
Some(rect)
|
||||
}
|
||||
|
||||
/// The area of Add Tool…'s menu on the toolbar named `name`.
|
||||
pub(crate) fn add_menu_id(name: &str) -> egui::Id {
|
||||
egui::Id::unique(("custom-toolbar-add", key(name)))
|
||||
}
|
||||
|
||||
/// Add Tool…'s menu, which the + button on the toolbar `bar` opens: under Remove Tool the tools in
|
||||
/// the toolbar, where a click takes one out; then every tool under the All Tools drawer's headings,
|
||||
/// where a click adds one at the end (dimmed: in the toolbar already). It scrolls past the window's
|
||||
/// bottom bars, as other long menus do ([`widgets::menu_scroll`]).
|
||||
fn add_menu(button: &egui::Response, t: &Tokens, bar: &CustomToolbar, actions: &mut Vec<Action>) {
|
||||
egui::Popup::menu(button).id(add_menu_id(&bar.name)).show(|ui| {
|
||||
ui.set_min_width(200.0);
|
||||
widgets::menu_scroll(ui, |ui| {
|
||||
let held: Vec<&'static str> = bar.slots.iter().flatten().filter_map(|id| tool_info(id).map(|t| t.id)).collect();
|
||||
let heading = |ui: &mut egui::Ui, text: &str| ui.label(egui::RichText::new(text).size(12.0).color(t.text_strong));
|
||||
if !held.is_empty() {
|
||||
heading(ui, &format!("{}:", tl!("Remove Tool")));
|
||||
for tool in held.iter().filter_map(|id| tool_info(id)) {
|
||||
if widgets::menu_item(ui, tool.label, true, false) {
|
||||
actions.push(Action::RemoveTool(bar.name.clone(), tool.id));
|
||||
}
|
||||
}
|
||||
ui.separator();
|
||||
}
|
||||
for (cat, tools) in crate::edit_toolbar::sections() {
|
||||
heading(ui, &format!("{}:", tl!(cat)));
|
||||
for tool in tools {
|
||||
if widgets::menu_item(ui, tool.label, !held.contains(&tool.id), false) {
|
||||
actions.push(Action::AddTool(bar.name.clone(), tool.id));
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/// Remember `id` as the tool shown by each slot of a toolbar made with New Toolbar that holds it,
|
||||
/// however it was chosen (`toolbar::remember` calls it).
|
||||
pub(crate) fn remember(ui: &mut UiState, id: &str) {
|
||||
|
||||
@@ -416,7 +416,7 @@ fn heading(id: &str) -> &'static str {
|
||||
}
|
||||
|
||||
/// The headings in order, each with its tools in the toolbar's order.
|
||||
fn sections() -> &'static [(&'static str, Vec<&'static ToolInfo>)] {
|
||||
pub(crate) fn sections() -> &'static [(&'static str, Vec<&'static ToolInfo>)] {
|
||||
static SECTIONS: OnceLock<Vec<(&'static str, Vec<&'static ToolInfo>)>> = OnceLock::new();
|
||||
SECTIONS.get_or_init(|| {
|
||||
let mut out: Vec<(&'static str, Vec<&'static ToolInfo>)> = crate::toolbar::BASIC.iter().map(|(cat, _)| (*cat, vec![])).collect();
|
||||
|
||||
@@ -381,7 +381,7 @@ fn a_new_toolbar_fills_from_the_drawer_beside_it() {
|
||||
frame(&mut app, &ctx, 0.1, vec![]);
|
||||
let area = || ctx.memory(|m| m.area_rect(crate::custom_toolbars::area_id("Mine"))).expect("the toolbar is shown");
|
||||
let bar = area();
|
||||
let edit = crate::toolbar::tests::widget_rects(&ctx, vec2(26.0, 26.0)).into_iter().find(|r| bar.contains(r.center())).expect("its ••• button");
|
||||
let edit = crate::toolbar::tests::widget_rects(&ctx, vec2(26.0, 26.0)).into_iter().rfind(|r| bar.contains(r.center())).expect("its ••• button");
|
||||
// Open beside the Tools panel's toolbar, the drawer moves to this one on its ••• click.
|
||||
app.run("window.editToolbar", json!({})).unwrap();
|
||||
frame(&mut app, &ctx, 0.5, vec![]);
|
||||
@@ -439,6 +439,90 @@ fn a_new_toolbar_fills_from_the_drawer_beside_it() {
|
||||
assert!(!ctx.memory(|m| m.areas().visible_last_frame(&egui::LayerId::new(egui::Order::Middle, crate::custom_toolbars::area_id("Mine")))));
|
||||
}
|
||||
|
||||
/// A toolbar made with New Toolbar has an Add Tool… button (+, above the ••• button) that the
|
||||
/// keyboard reaches. Its menu lists the tools under the drawer's headings: a tool picked there is
|
||||
/// added at the end of this toolbar alone, without the drawer, and is dimmed in the menu from then
|
||||
/// on; picked under Remove Tool, it is taken out again.
|
||||
#[test]
|
||||
fn the_add_tool_menu_fills_a_new_toolbar_without_a_drag() {
|
||||
let mut app = app();
|
||||
let ctx = ctx();
|
||||
let shipped = slots(&app);
|
||||
app.run("window.toolbar.new", json!({"name": "Mine"})).unwrap();
|
||||
frame(&mut app, &ctx, 0.0, vec![]);
|
||||
frame(&mut app, &ctx, 0.1, vec![]);
|
||||
let plus = || {
|
||||
let bar = ctx.memory(|m| m.area_rect(crate::custom_toolbars::area_id("Mine"))).expect("the toolbar is shown");
|
||||
let buttons: Vec<Rect> =
|
||||
crate::toolbar::tests::widget_rects(&ctx, vec2(26.0, 26.0)).into_iter().filter(|r| bar.contains(r.center())).collect();
|
||||
assert_eq!(buttons.len(), 2, "the + and ••• buttons: {buttons:?}");
|
||||
buttons[0]
|
||||
};
|
||||
let button = plus();
|
||||
let sense = ctx.viewport(|vp| vp.prev_pass.widgets.layers().flat_map(|(_, w)| w.iter()).find(|w| w.rect == button).map(|w| w.sense));
|
||||
assert!(sense.is_some_and(|s| s.is_focusable()), "Tab stops on the + button: {sense:?}");
|
||||
// The menu at `time`, opened with a click on the + button unless it is open.
|
||||
let open = |app: &mut VectorcraftApp, time: f64| {
|
||||
let shown = frame(app, &ctx, time, vec![]);
|
||||
if shown.iter().any(|(s, ..)| s == "Select:") {
|
||||
return shown;
|
||||
}
|
||||
click(app, &ctx, time + 0.2, plus().center());
|
||||
// The menu is sized in its first frame and drawn from the second.
|
||||
frame(app, &ctx, time + 0.5, vec![]);
|
||||
frame(app, &ctx, time + 0.6, vec![])
|
||||
};
|
||||
// The items named `name` that the menu shows (it scrolls), top first.
|
||||
let items = |shown: &[(String, Pos2, Color32)], name: &str| {
|
||||
let menu = ctx.memory(|m| m.area_rect(crate::custom_toolbars::add_menu_id("Mine"))).expect("the menu is open");
|
||||
let mut at: Vec<(Pos2, Color32)> = shown.iter().filter(|(s, p, _)| s.trim() == name && menu.contains(*p)).map(|(_, p, c)| (*p, *c)).collect();
|
||||
at.sort_by(|a, b| a.0.y.total_cmp(&b.0.y));
|
||||
at
|
||||
};
|
||||
let mine = |app: &VectorcraftApp| crate::custom_toolbars::find(&app.ui, "Mine").unwrap().slots.clone();
|
||||
let shown = open(&mut app, 9.0);
|
||||
assert!(items(&shown, "Remove Tool:").is_empty(), "nothing to take out of a blank toolbar");
|
||||
let lasso = items(&shown, "Lasso Tool");
|
||||
assert_eq!(lasso.len(), 1, "listed once, under Select");
|
||||
click(&mut app, &ctx, 10.0, lasso[0].0);
|
||||
assert_eq!(mine(&app), [["lasso"]]);
|
||||
assert_eq!(slots(&app), shipped, "the Tools panel's toolbar is untouched");
|
||||
assert!(!app.ui.tools_drawer, "no drawer opened");
|
||||
let list = app.run("window.toolbar.list", json!({})).unwrap();
|
||||
assert_eq!(list, json!([{"name": "Mine", "shown": true, "double": false, "slots": [["lasso"]]}]));
|
||||
// A second tool goes after the first.
|
||||
let shown = open(&mut app, 19.0);
|
||||
click(&mut app, &ctx, 20.0, items(&shown, "Magic Wand Tool")[0].0);
|
||||
assert_eq!(mine(&app), [["lasso"], ["magicWand"]]);
|
||||
// A tool in the toolbar is listed under Remove Tool, and dimmed under its heading, where a click
|
||||
// adds nothing.
|
||||
let shown = open(&mut app, 29.0);
|
||||
assert_eq!(items(&shown, "Remove Tool:").len(), 1);
|
||||
let lasso = items(&shown, "Lasso Tool");
|
||||
assert_eq!(lasso.len(), 2, "under Remove Tool, then under Select");
|
||||
let enabled = |at: Pos2| {
|
||||
let layer = egui::LayerId::new(egui::Order::Foreground, crate::custom_toolbars::add_menu_id("Mine"));
|
||||
ctx.viewport(|vp| {
|
||||
vp.prev_pass
|
||||
.widgets
|
||||
.layers()
|
||||
.filter(|(l, _)| **l == layer)
|
||||
.flat_map(|(_, w)| w.iter())
|
||||
.filter(|w| w.sense.senses_click() && w.rect.contains(at))
|
||||
.last()
|
||||
.map(|w| w.enabled)
|
||||
})
|
||||
};
|
||||
assert_eq!([enabled(lasso[0].0), enabled(lasso[1].0)], [Some(true), Some(false)], "dimmed under Select");
|
||||
click(&mut app, &ctx, 30.0, lasso[1].0);
|
||||
assert_eq!(mine(&app), [["lasso"], ["magicWand"]]);
|
||||
// Under Remove Tool, a click takes it out.
|
||||
let shown = open(&mut app, 39.0);
|
||||
click(&mut app, &ctx, 40.0, items(&shown, "Lasso Tool")[0].0);
|
||||
assert_eq!(mine(&app), [["magicWand"]]);
|
||||
assert_eq!(slots(&app), shipped);
|
||||
}
|
||||
|
||||
/// New Toolbar… in the drawer's menu opens the New Toolbar dialog, which asks for a name.
|
||||
#[test]
|
||||
fn new_toolbar_in_the_drawer_menu_asks_for_a_name() {
|
||||
@@ -477,7 +561,7 @@ fn the_drawer_moves_between_new_toolbars() {
|
||||
frame(&mut app, &ctx, 0.1, vec![]);
|
||||
let edit_of = |name: &str| {
|
||||
let bar = ctx.memory(|m| m.area_rect(crate::custom_toolbars::area_id(name))).unwrap();
|
||||
crate::toolbar::tests::widget_rects(&ctx, vec2(26.0, 26.0)).into_iter().find(|r| bar.contains(r.center())).unwrap()
|
||||
crate::toolbar::tests::widget_rects(&ctx, vec2(26.0, 26.0)).into_iter().rfind(|r| bar.contains(r.center())).unwrap()
|
||||
};
|
||||
let (a, b) = (edit_of("A"), edit_of("B"));
|
||||
for (k, (button, name)) in [(b, "B"), (a, "A"), (b, "B")].into_iter().enumerate() {
|
||||
|
||||
@@ -3514,6 +3514,8 @@ digits Malayalam Малаялам
|
||||
Toolbar: Single/Double Column Лента с инструменти: Една/Две колони
|
||||
Toolbar: Add Tool Лента с инструменти: Добавяне на инструмент
|
||||
Toolbar: Remove Tool Лента с инструменти: Премахване на инструмент
|
||||
Add Tool… Добавяне на инструмент…
|
||||
Remove Tool Премахване на инструмент
|
||||
Toolbar: Reset Лента с инструменти: Нулиране
|
||||
Toolbars Ленти с инструменти
|
||||
Tools Инструменти
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1148,6 +1148,8 @@ lighting Light Svjetlo
|
||||
Toolbar: Single/Double Column Traka s alatima: jedna/dvije kolone
|
||||
Toolbar: Add Tool Traka s alatima: dodaj alat
|
||||
Toolbar: Remove Tool Traka s alatima: ukloni alat
|
||||
Add Tool… Dodaj alat…
|
||||
Remove Tool Ukloni alat
|
||||
Toolbar: Reset Traka s alatima: vrati na početno
|
||||
Two Point Perspective Preset 1 Predložak perspektive s dvije tačke 1
|
||||
Two Point Perspective Preset 2 Predložak perspektive s dvije tačke 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4528,6 +4528,8 @@ digits Malayalam Malaiàlam
|
||||
Toolbar: Add Tool Barra d’eines: afegeix una eina
|
||||
Toolbar: Advanced / Basic Barra d’eines: avançada / bàsica
|
||||
Toolbar: Remove Tool Barra d’eines: suprimeix una eina
|
||||
Add Tool… Afegeix una eina…
|
||||
Remove Tool Suprimeix una eina
|
||||
Toolbar: Reset Barra d’eines: restableix
|
||||
Toolbar: Show Controls Barra d’eines: mostra els controls
|
||||
Toolbar: Single/Double Column Barra d’eines: columna simple o doble
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1167,6 +1167,8 @@ lighting Light Světlo
|
||||
Toolbar: Single/Double Column Panel nástrojů: jeden / dva sloupce
|
||||
Toolbar: Add Tool Panel nástrojů: přidat nástroj
|
||||
Toolbar: Remove Tool Panel nástrojů: odebrat nástroj
|
||||
Add Tool… Přidat nástroj…
|
||||
Remove Tool Odebrat nástroj
|
||||
Toolbar: Reset Panel nástrojů: obnovit
|
||||
Two Point Perspective Preset 1 Přednastavení dvoubodové perspektivy 1
|
||||
Two Point Perspective Preset 2 Přednastavení dvoubodové perspektivy 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1083,6 +1083,8 @@ lighting Light Lys
|
||||
Toolbar: Single/Double Column Værktøjslinje: Enkelt/dobbelt kolonne
|
||||
Toolbar: Add Tool Værktøjslinje: Tilføj værktøj
|
||||
Toolbar: Remove Tool Værktøjslinje: Fjern værktøj
|
||||
Add Tool… Tilføj værktøj…
|
||||
Remove Tool Fjern værktøj
|
||||
Toolbar: Reset Værktøjslinje: Nulstil
|
||||
Two Point Perspective Preset 1 2-punkts perspektivforudindstilling 1
|
||||
Two Point Perspective Preset 2 2-punkts perspektivforudindstilling 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3547,6 +3547,8 @@ effect Points Punkte
|
||||
Toolbar: Single/Double Column Werkzeugleiste: ein-/zweispaltig
|
||||
Toolbar: Add Tool Werkzeugleiste: Werkzeug hinzufügen
|
||||
Toolbar: Remove Tool Werkzeugleiste: Werkzeug entfernen
|
||||
Add Tool… Werkzeug hinzufügen…
|
||||
Remove Tool Werkzeug entfernen
|
||||
Toolbar: Reset Werkzeugleiste: Zurücksetzen
|
||||
Toolbars Werkzeugleisten
|
||||
Tools Werkzeuge
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3960,6 +3960,8 @@ digits Malayalam Μαλαγιάλαμ
|
||||
Toolbar: Single/Double Column Γραμμή εργαλείων: Μονή/Διπλή στήλη
|
||||
Toolbar: Add Tool Γραμμή εργαλείων: Προσθήκη εργαλείου
|
||||
Toolbar: Remove Tool Γραμμή εργαλείων: Αφαίρεση εργαλείου
|
||||
Add Tool… Προσθήκη εργαλείου…
|
||||
Remove Tool Αφαίρεση εργαλείου
|
||||
Toolbar: Reset Γραμμή εργαλείων: Επαναφορά
|
||||
Top in Front Επάνω μπροστά
|
||||
Top-Justified Tab Στηλοθέτης επάνω στοίχισης
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -3602,6 +3602,8 @@ digits Malayalam Malayálam
|
||||
Toolbar: Single/Double Column Barra de herramientas: columna simple/doble
|
||||
Toolbar: Add Tool Barra de herramientas: añadir herramienta
|
||||
Toolbar: Remove Tool Barra de herramientas: quitar herramienta
|
||||
Add Tool… Añadir herramienta…
|
||||
Remove Tool Quitar herramienta
|
||||
Toolbar: Reset Barra de herramientas: restablecer
|
||||
Toolbars Barras de herramientas
|
||||
Tools Herramientas
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1145,6 +1145,8 @@ lighting Light Valo
|
||||
Toolbar: Single/Double Column Työkalurivi: yksi/kaksi saraketta
|
||||
Toolbar: Add Tool Työkalurivi: lisää työkalu
|
||||
Toolbar: Remove Tool Työkalurivi: poista työkalu
|
||||
Add Tool… Lisää työkalu…
|
||||
Remove Tool Poista työkalu
|
||||
Toolbar: Reset Työkalurivi: palauta
|
||||
Two Point Perspective Preset 1 Kahden pisteen perspektiivin esiasetus 1
|
||||
Two Point Perspective Preset 2 Kahden pisteen perspektiivin esiasetus 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3593,6 +3593,8 @@ digits Malayalam Malayalam
|
||||
Toolbar: Single/Double Column Barre d’outils : une/deux colonnes
|
||||
Toolbar: Add Tool Barre d’outils : ajouter un outil
|
||||
Toolbar: Remove Tool Barre d’outils : retirer un outil
|
||||
Add Tool… Ajouter un outil…
|
||||
Remove Tool Retirer un outil
|
||||
Toolbar: Reset Barre d’outils : réinitialiser
|
||||
Toolbars Barres d’outils
|
||||
Tools Outils
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4912,6 +4912,8 @@ antiAlias Sharp शार्प
|
||||
Toolbar: Add Tool टूलबार: ऐड टूल
|
||||
Toolbar: Advanced / Basic टूलबार: उन्नत / बुनियादी
|
||||
Toolbar: Remove Tool टूलबार: टूल निकालें
|
||||
Add Tool… टूल जोड़ें…
|
||||
Remove Tool टूल निकालें
|
||||
Toolbar: Reset टूलबार: रीसेट करें
|
||||
Toolbar: Show Controls टूलबार: शो कंट्रोल
|
||||
Toolbar: Single/Double Column टूलबार: सिंगल / डबल कॉलम
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -4286,6 +4286,8 @@ mark-style Japanese Japán
|
||||
Toolbar: Add Tool Eszköztár: eszköz hozzáadása
|
||||
Toolbar: Advanced / Basic Eszköztár: speciális / alap
|
||||
Toolbar: Remove Tool Eszköztár: eszköz eltávolítása
|
||||
Add Tool… Eszköz hozzáadása…
|
||||
Remove Tool Eszköz eltávolítása
|
||||
Toolbar: Reset Eszköztár: visszaállítás
|
||||
Toolbar: Single/Double Column Eszköztár: egy/két oszlop
|
||||
Toolbars Eszköztárak
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1083,6 +1083,8 @@ lighting Light Cahaya
|
||||
Toolbar: Single/Double Column Bilah alat: kolom tunggal/ganda
|
||||
Toolbar: Add Tool Bilah alat: tambahkan alat
|
||||
Toolbar: Remove Tool Bilah alat: hapus alat
|
||||
Add Tool… Tambahkan alat…
|
||||
Remove Tool Hapus alat
|
||||
Toolbar: Reset Bilah alat: setel ulang
|
||||
Two Point Perspective Preset 1 Preset perspektif dua titik 1
|
||||
Two Point Perspective Preset 2 Preset perspektif dua titik 2
|
||||
|
||||
|
@@ -3639,6 +3639,8 @@ digits Malayalam Malayalam
|
||||
Toolbar: Single/Double Column Barra degli strumenti: colonna singola/doppia
|
||||
Toolbar: Add Tool Barra degli strumenti: aggiungi strumento
|
||||
Toolbar: Remove Tool Barra degli strumenti: rimuovi strumento
|
||||
Add Tool… Aggiungi strumento…
|
||||
Remove Tool Rimuovi strumento
|
||||
Toolbar: Reset Barra degli strumenti: ripristina
|
||||
Toolbars Barre degli strumenti
|
||||
Tools Strumenti
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3323,6 +3323,8 @@ mark-style Japanese 日本式
|
||||
Toolbar: Single/Double Column ツールバー: 1 列/2 列
|
||||
Toolbar: Add Tool ツールバー: ツールを追加
|
||||
Toolbar: Remove Tool ツールバー: ツールを削除
|
||||
Add Tool… ツールを追加…
|
||||
Remove Tool ツールを削除
|
||||
Toolbar: Reset ツールバー: リセット
|
||||
Top: 上:
|
||||
Total Width: 合計幅:
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1041,6 +1041,8 @@ lighting Light სინათლე
|
||||
Toolbar: Single/Double Column ხელსაწყოთა ზოლი: ერთი/ორი სვეტი
|
||||
Toolbar: Add Tool ხელსაწყოთა ზოლი: ხელსაწყოს დამატება
|
||||
Toolbar: Remove Tool ხელსაწყოთა ზოლი: ხელსაწყოს ამოშლა
|
||||
Add Tool… ხელსაწყოს დამატება…
|
||||
Remove Tool ხელსაწყოს ამოშლა
|
||||
Toolbar: Reset ხელსაწყოთა ზოლი: ჩამოყრა
|
||||
Two Point Perspective Preset 1 ორწერტილიანი პერსპექტივის პრესეტი 1
|
||||
Two Point Perspective Preset 2 ორწერტილიანი პერსპექტივის პრესეტი 2
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -3312,6 +3312,8 @@ mark-style Japanese 일본식
|
||||
Toolbar: Single/Double Column 도구 막대: 한 줄/두 줄
|
||||
Toolbar: Add Tool 도구 막대: 도구 추가
|
||||
Toolbar: Remove Tool 도구 막대: 도구 제거
|
||||
Add Tool… 도구 추가…
|
||||
Remove Tool 도구 제거
|
||||
Toolbar: Reset 도구 막대: 재설정
|
||||
Top: 위쪽:
|
||||
Total Width: 전체 너비:
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1097,6 +1097,8 @@ lighting Light Licht
|
||||
Toolbar: Single/Double Column Werkbalk: Enkele/dubbele kolom
|
||||
Toolbar: Add Tool Werkbalk: gereedschap toevoegen
|
||||
Toolbar: Remove Tool Werkbalk: gereedschap verwijderen
|
||||
Add Tool… Gereedschap toevoegen…
|
||||
Remove Tool Gereedschap verwijderen
|
||||
Toolbar: Reset Werkbalk: herstellen
|
||||
Two Point Perspective Preset 1 Voorinstelling perspectief met twee vluchtpunten 1
|
||||
Two Point Perspective Preset 2 Voorinstelling perspectief met twee vluchtpunten 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1102,6 +1102,8 @@ lighting Light Światło
|
||||
Toolbar: Single/Double Column Pasek narzędzi: jedna/dwie kolumny
|
||||
Toolbar: Add Tool Pasek narzędzi: dodaj narzędzie
|
||||
Toolbar: Remove Tool Pasek narzędzi: usuń narzędzie
|
||||
Add Tool… Dodaj narzędzie…
|
||||
Remove Tool Usuń narzędzie
|
||||
Toolbar: Reset Pasek narzędzi: resetuj
|
||||
Two Point Perspective Preset 1 Ustawienie perspektywy dwupunktowej 1
|
||||
Two Point Perspective Preset 2 Ustawienie perspektywy dwupunktowej 2
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -5037,6 +5037,8 @@ axis Both Ambos
|
||||
Tip on the end point Ponta no ponto final
|
||||
Toolbar: Add Tool Barra de Ferramentas: Adicionar Ferramenta
|
||||
Toolbar: Remove Tool Barra de Ferramentas: Remover Ferramenta
|
||||
Add Tool… Adicionar Ferramenta…
|
||||
Remove Tool Remover Ferramenta
|
||||
Toolbar: Reset Barra de Ferramentas: Redefinir
|
||||
Top Superior
|
||||
Top in Front Superior na Frente
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -3633,6 +3633,8 @@ digits Malayalam Малаялам
|
||||
Toolbar: Single/Double Column Панель инструментов: один/два столбца
|
||||
Toolbar: Add Tool Панель инструментов: добавить инструмент
|
||||
Toolbar: Remove Tool Панель инструментов: убрать инструмент
|
||||
Add Tool… Добавить инструмент…
|
||||
Remove Tool Убрать инструмент
|
||||
Toolbar: Reset Панель инструментов: сбросить
|
||||
Toolbars Панели инструментов
|
||||
Tools Инструменты
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -3523,6 +3523,8 @@ digits Malayalam Malayalam
|
||||
Toolbar: Single/Double Column Verktygsfält: En/två kolumner
|
||||
Toolbar: Add Tool Verktygsfält: Lägg till verktyg
|
||||
Toolbar: Remove Tool Verktygsfält: Ta bort verktyg
|
||||
Add Tool… Lägg till verktyg…
|
||||
Remove Tool Ta bort verktyg
|
||||
Toolbar: Reset Verktygsfält: Återställ
|
||||
Toolbars Verktygsfält
|
||||
Tools Verktyg
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -3412,6 +3412,8 @@ digits Malayalam Malayalam
|
||||
Toolbar: Single/Double Column Araç Çubuğu: Tek/Çift Sütun
|
||||
Toolbar: Add Tool Araç Çubuğu: Araç Ekle
|
||||
Toolbar: Remove Tool Araç Çubuğu: Aracı Kaldır
|
||||
Add Tool… Araç Ekle…
|
||||
Remove Tool Aracı Kaldır
|
||||
Toolbar: Reset Araç Çubuğu: Sıfırla
|
||||
Toolbars Araç çubukları
|
||||
Tools Araçlar
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -3632,6 +3632,8 @@ effect Points Точки
|
||||
Toolbar: Single/Double Column Панель інструментів: один/два стовпці
|
||||
Toolbar: Add Tool Панель інструментів: додати інструмент
|
||||
Toolbar: Remove Tool Панель інструментів: вилучити інструмент
|
||||
Add Tool… Додати інструмент…
|
||||
Remove Tool Вилучити інструмент
|
||||
Toolbar: Reset Панель інструментів: скинути
|
||||
Toolbars Панелі інструментів
|
||||
Tools Інструменти
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 182 and column 5.
|
@@ -3988,6 +3988,8 @@ mark-style Japanese Kiểu Nhật
|
||||
Toolbar: Add Tool Thanh công cụ: Thêm công cụ
|
||||
Toolbar: Advanced / Basic Thanh công cụ: Nâng cao / Cơ bản
|
||||
Toolbar: Remove Tool Thanh công cụ: Gỡ công cụ
|
||||
Add Tool… Thêm công cụ…
|
||||
Remove Tool Gỡ công cụ
|
||||
Toolbar: Reset Thanh công cụ: Đặt lại
|
||||
Toolbar: Single/Double Column Thanh công cụ: Một/Hai cột
|
||||
Toolbars Thanh công cụ
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 204 and column 5.
|
@@ -3465,6 +3465,8 @@ digits Malayalam 马拉雅拉姆数字
|
||||
Toolbar: Single/Double Column 工具列:单列/双列
|
||||
Toolbar: Add Tool 工具栏:添加工具
|
||||
Toolbar: Remove Tool 工具栏:移除工具
|
||||
Add Tool… 添加工具…
|
||||
Remove Tool 移除工具
|
||||
Toolbar: Reset 工具栏:重置
|
||||
Toolbars 工具栏
|
||||
Tools 工具
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4581,6 +4581,8 @@ digits Malayalam 馬來亞拉姆數字
|
||||
Toolbar: Single/Double Column 工具列:單欄/雙欄
|
||||
Toolbar: Add Tool 工具列:新增工具
|
||||
Toolbar: Remove Tool 工具列:移除工具
|
||||
Add Tool… 新增工具…
|
||||
Remove Tool 移除工具
|
||||
Toolbar: Reset 工具列:重設
|
||||
Toolbars 工具列
|
||||
Tools 工具
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -396,7 +396,10 @@ the Tools panel alone, and Tab hides these toolbars with the other panels. Windo
|
||||
panel without them. A toolbar shown with its item or made with New Toolbar after Tab shows alone, and the other
|
||||
toolbars Tab hid are turned off. A toolbar's ••• button
|
||||
(`window.editToolbar {toolbar}`) opens the All Tools drawer beside it, and the drawer's drags and
|
||||
`toolbar.addTool`, `toolbar.removeTool` and `toolbar.reset` with `toolbar` edit it; the drawer has no Show section
|
||||
`toolbar.addTool`, `toolbar.removeTool` and `toolbar.reset` with `toolbar` edit it. The + button above the •••
|
||||
button (Add Tool…) opens a menu of every tool under the drawer's headings: a click on a tool runs `toolbar.addTool
|
||||
{tool, toolbar}`, which puts it at the end, and the tools under its Remove Tool heading run `toolbar.removeTool
|
||||
{tool, toolbar}`; the tools already in the toolbar are dimmed under their headings. The drawer has no Show section
|
||||
there. `window.floatTools {tool, toolbar}` floats one of its groups, and a group torn off it shows and hides with
|
||||
it. `window.toolbar.list` returns the toolbars (`ui.custom_toolbars` in `ui.inspect`: name, slots, shown flag,
|
||||
two-column flag, top-left corner, the groups torn off it). They are kept with the workspace they were made in:
|
||||
|
||||
@@ -782,6 +782,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
- A menu in a floating panel's OS window stops at that window's bottom edge and scrolls past it, and is never taller than the window (#5347; `a_long_panel_menu_scrolls_inside_a_short_native_window`). A panel's long submenus (Digits, Stylistic Sets, Save Selection, Move to Group), the libraries menu, the Color Guide's Limit to Library menu and the Layers panel's Filter popup scroll the same way.
|
||||
- The dock's double arrow collapses Properties, Layers and Libraries to icons at the top of the icon column, popping out like the other icon panels, and expands them again (`window.collapseDock`, kept with the preferences and in saved workspaces). The icon column's own arrow (expanding the icon panels into a full column) is not done.
|
||||
- Window › Toolbars › New Toolbar… and New Toolbar… in the All Tools drawer's menu ask for a name and make a blank toolbar that floats on its own, moved by its title bar and listed under Window › Toolbars, whose item shows or hides it. The title bar's × hides it, and its double arrow shows its tools in one column or two. Its ••• button opens the All Tools drawer beside it, and tools dragged from the drawer fill it. The toolbars are kept with the workspace they were made in: switching workspaces shows that workspace's toolbars, Reset Workspace keeps them, and New Workspace starts the new workspace with a copy of them (<https://helpx.adobe.com/illustrator/using/tools.html>; `window.toolbar.new`, `window.toolbar.custom`, the `toolbar` param of `window.editToolbar` and `toolbar.addTool`/`removeTool`/`reset`; `tools_added_to_a_new_toolbar_survive_a_workspace_reload`).
|
||||
- A toolbar made with New Toolbar has a + button (Add Tool…) above its ••• button. A click on it, or Enter while it has the keyboard focus, opens a menu of every tool under the All Tools drawer's headings, without the drawer: a tool picked there goes at the end of that toolbar, and the tools already in it are dimmed. Under Remove Tool, the menu lists the toolbar's tools, and a click takes one out. This menu is VectorCraft's own way to fill a toolbar without a drag (`toolbar.addTool` and `toolbar.removeTool` with `toolbar`; `the_add_tool_menu_fills_a_new_toolbar_without_a_drag`).
|
||||
- Window › Toolbars › Manage Toolbars… and Manage Toolbars… in the All Tools drawer's menu open a dialog that lists the toolbars made with New Toolbar: a new name typed for the selected toolbar renames it, + copies it with its tools (with none selected, + makes a blank toolbar), and the trash can deletes it. Each change shows under Window › Toolbars and stays in the workspace (<https://helpx.adobe.com/illustrator/using/tools.html>; `window.toolbar.manage`, `window.toolbar.rename`, `window.toolbar.duplicate`, `window.toolbar.delete`; `manage_toolbars_renames_duplicates_and_deletes`).
|
||||
- Window › Toolbars › Keep Tools Beside the Canvas, a VectorCraft layout option that is off by default, docks the Tools panel between left-side panels and the canvas instead of at the window's left edge; the canvas's left edge then also docks a floating Tools panel, and workspaces keep the setting. Scores are unchanged (`window.toolsBesideCanvas`; `docked_tools_keep_the_window_edge_unless_kept_beside_the_canvas`, `tools_redock_at_the_targets_of_the_chosen_placement`).
|
||||
- Hindi (2026-11-06): Hindi (`hi`): 7,877-row machine-assisted catalog, zero/one singular plurals, desktop font fallback and optional Devanagari craft-fonts fallback; all 55 translation tests pass; native review and a web font remain; scores and estimates unchanged. [Terminology and limitations](localization-hi.md).
|
||||
|
||||
Reference in New Issue
Block a user