163 lines
7.5 KiB
Go
163 lines
7.5 KiB
Go
package iconuse
|
|
|
|
import "aego/engine/module"
|
|
|
|
const Owner = "editor"
|
|
|
|
type Reservation struct {
|
|
ID string
|
|
Reason string
|
|
Until string
|
|
}
|
|
|
|
var Reserved = []Reservation{
|
|
{ID: "cat.audio", Reason: "category icon of the audio components", Until: "10"},
|
|
}
|
|
|
|
func Uses() []module.IconUse {
|
|
out := append([]module.IconUse(nil), Editor...)
|
|
for _, r := range Reserved {
|
|
out = append(out, module.IconUse{ID: r.ID, Owner: Owner, By: "reserved until Stage " + r.Until + ": " + r.Reason, Size: 16})
|
|
}
|
|
return out
|
|
}
|
|
|
|
func use(id string, size int, by string) module.IconUse {
|
|
return module.IconUse{ID: id, Owner: Owner, By: by, Size: size}
|
|
}
|
|
|
|
var Editor = []module.IconUse{
|
|
use("app.quit", 16, "File → Quit"),
|
|
use("build.busy", 16, "menu bar: native build running"),
|
|
use("build.error", 16, "menu bar: native build failed"),
|
|
use("build.ok", 16, "menu bar: native build ok"),
|
|
use("cat.3d", 16, "Create → 3D submenu"),
|
|
use("cat.game", 16, "Inspector and Add Component: components of a project module without an icon of their own"),
|
|
use("cat.node", 16, "Search: node results"),
|
|
use("cat.rendering", 16, "Search: mesh assets"),
|
|
use("cat.scripts", 16, "Search: script symbols"),
|
|
use("cat.settings", 16, "References: the project file"),
|
|
use("code.block", 16, "Scripts → Highlight Current Block"),
|
|
use("code.brackets", 16, "Scripts → Rainbow Brackets"),
|
|
use("code.hints", 16, "Scripts → Parameter Name Hints"),
|
|
use("code.implementation", 16, "Scripts → Go to Implementation"),
|
|
use("comp.joint_revolute", 16, "Revolute Joint 2D component; Joints debug overlay"),
|
|
use("comp.polygon", 16, "Polygon shape component; Shapes debug overlay"),
|
|
use("comp.script", 16, "Scripts component; Assets menu: Attach to Selected"),
|
|
use("dbg.aabbs", 16, "AABBs debug overlay"),
|
|
use("dbg.broadphase", 16, "Broadphase Tree debug overlay"),
|
|
use("dbg.contacts", 16, "Contacts debug overlay; Vectors → Contact Impulses"),
|
|
use("dbg.islands", 16, "Islands debug overlay"),
|
|
use("dbg.overlay", 16, "Debug Overlay toggle of the 2D bodies menu"),
|
|
use("edit.batch_rename", 16, "Batch Rename (nodes, assets)"),
|
|
use("edit.copy", 16, "Copy (nodes, assets, inspector field)"),
|
|
use("edit.copy_path", 16, "Assets menu: Copy Path"),
|
|
use("edit.cut", 16, "Cut (nodes, assets)"),
|
|
use("edit.delete", 16, "Delete (nodes, assets, workspace)"),
|
|
use("edit.duplicate", 16, "Duplicate (nodes, assets)"),
|
|
use("edit.paste", 16, "Paste (nodes, assets, inspector field)"),
|
|
use("edit.rename", 16, "Rename (nodes, assets, workspace)"),
|
|
use("edit.select_all", 16, "Edit → Select All"),
|
|
use("file.autosave", 16, "File → Autosave Scripts"),
|
|
use("file.data", 24, "Assets: data asset tiles"),
|
|
use("file.folder", 24, "Assets: folders"),
|
|
use("file.mesh", 24, "Assets: mesh tiles"),
|
|
use("file.open", 16, "Assets menu: Open"),
|
|
use("file.package", 16, "Assets → New → Script Package"),
|
|
use("file.prefab", 24, "Assets: prefab tiles; Scene tab in prefab mode"),
|
|
use("file.preset", 16, "Preset files in References and Assets"),
|
|
use("file.reveal", 16, "Assets menu: Reveal in File Manager"),
|
|
use("file.save", 16, "toolbar: Save"),
|
|
use("file.scene", 24, "Assets: scene tiles; Scene tab"),
|
|
use("file.script", 24, "Assets: script tiles; code tabs"),
|
|
use("file.table", 24, "Assets: table tiles"),
|
|
use("file.texture", 24, "Assets: texture tiles"),
|
|
use("file.unknown", 24, "Assets: tiles of other kinds"),
|
|
use("help.about", 16, "Help → About Aego"),
|
|
use("help.book", 16, "Documentation tab"),
|
|
use("log.error", 16, "Console: errors"),
|
|
use("log.info", 16, "Console: info"),
|
|
use("log.warn", 16, "Console: warnings"),
|
|
use("nav.back", 16, "Documentation and code: back"),
|
|
use("nav.forward", 16, "Documentation and code: forward"),
|
|
use("panel.assets", 16, "Assets tab"),
|
|
use("panel.console", 16, "Console tab"),
|
|
use("panel.crashes", 16, "Crash Reports tab"),
|
|
use("panel.debug_draw", 16, "Debug Draw tab"),
|
|
use("panel.diff", 16, "Diff tab"),
|
|
use("panel.events", 16, "Event Monitor tab"),
|
|
use("panel.favorites", 16, "Favorites tab"),
|
|
use("panel.find", 16, "Find in Scripts tab"),
|
|
use("panel.game", 16, "Game tab"),
|
|
use("panel.health", 16, "Project Health tab"),
|
|
use("panel.hierarchy", 16, "Hierarchy tab"),
|
|
use("panel.history", 16, "Undo History tab"),
|
|
use("panel.input_devices", 16, "Input Devices tab"),
|
|
use("panel.input_focus", 16, "Input Focus tab"),
|
|
use("panel.inspector", 16, "Inspector tab"),
|
|
use("panel.keymap", 16, "Keymap tab"),
|
|
use("panel.problems", 16, "Problems tab"),
|
|
use("panel.profiler", 16, "Profiler tab"),
|
|
use("panel.references", 16, "References tab"),
|
|
use("panel.saves", 16, "Saves tab"),
|
|
use("panel.scenes", 16, "Scenes tab"),
|
|
use("panel.settings", 16, "Project Settings tab"),
|
|
use("panel.table", 16, "Table tab"),
|
|
use("panel.tasks", 16, "Task Center tab"),
|
|
use("panel.watch", 16, "Watch tab"),
|
|
use("panel.welcome", 16, "Getting Started tab"),
|
|
use("play.copy_back", 16, "Component menu during Play: Copy values to edit scene"),
|
|
use("play.pause", 16, "toolbar: Pause"),
|
|
use("play.speed", 16, "Play → Time Scale…"),
|
|
use("play.start", 16, "toolbar: Play; Assets: startup scene mark"),
|
|
use("play.step", 16, "toolbar: Step"),
|
|
use("play.step_back", 16, "Play → Step Back"),
|
|
use("play.stop", 16, "toolbar: Stop"),
|
|
use("prefab.apply", 16, "Prefab menus: Apply to a prefab"),
|
|
use("prefab.revert", 16, "Prefab menus: Revert and Reset to Prefab Value"),
|
|
use("prefab.unpack", 16, "Hierarchy prefab menu: Unpack"),
|
|
use("prefab.variant", 16, "Assets menu: Create Variant"),
|
|
use("status.busy", 14, "Task Center: running task"),
|
|
use("status.ok", 14, "Task Center: finished task"),
|
|
use("status.warning", 16, "Table and inspector issue rows"),
|
|
use("tool.move", 16, "Scene View toolbar"),
|
|
use("tool.rotate", 16, "Scene View toolbar"),
|
|
use("tool.scale", 16, "Scene View toolbar"),
|
|
use("tool.select", 16, "Scene View toolbar"),
|
|
use("ui.check", 16, "check boxes and menu marks"),
|
|
use("ui.chevron_down", 16, "trees, combos and drop-downs"),
|
|
use("ui.chevron_right", 16, "trees and submenus"),
|
|
use("ui.close", 16, "tabs, chips and dialogs"),
|
|
use("ui.lock", 16, "Inspector: locked"),
|
|
use("ui.minus", 16, "list editors: remove"),
|
|
use("ui.more", 16, "card menus"),
|
|
use("ui.move_down", 16, "Script menu: Move Down"),
|
|
use("ui.move_up", 16, "Script menu: Move Up"),
|
|
use("ui.plus", 16, "Scene View: Create; list editors: add"),
|
|
use("ui.reset", 16, "inspector: reset a field"),
|
|
use("ui.search", 16, "search fields"),
|
|
use("ui.star", 16, "Favorites in the command palette"),
|
|
use("ui.unlock", 16, "Inspector: lock button"),
|
|
use("vec.angular", 16, "Vectors → Angular Velocity"),
|
|
use("vec.fixed", 16, "Vectors → Fixed Length"),
|
|
use("vec.force", 16, "Vectors → Forces"),
|
|
use("vec.gravity", 16, "Vectors → Gravity"),
|
|
use("vec.velocity", 16, "Vectors → Velocity"),
|
|
use("view.capture", 16, "Scene → Capture Scene View"),
|
|
use("view.dock", 16, "maximized tab: restore the layout"),
|
|
use("view.fullscreen", 16, "Play → Full Screen Play"),
|
|
use("view.grid", 16, "Scene View toolbar: grid"),
|
|
use("view.isolate", 16, "Scene → Isolate Selection"),
|
|
use("view.maximize", 16, "Window → Maximize Panel"),
|
|
use("view.minimap", 16, "code editor: minimap"),
|
|
use("view.ortho", 16, "Scene → Orthographic 3D View"),
|
|
use("view.overlays", 16, "Window → Game View Overlays"),
|
|
use("view.snap", 16, "Scene View toolbar: snap"),
|
|
use("view.split", 16, "code editor: split"),
|
|
use("view.split_down", 16, "Scripts → Split Down"),
|
|
use("view.toolbar", 16, "Window → Toolbar"),
|
|
use("view.vectors", 16, "Scene View toolbar: vectors"),
|
|
use("view.zen", 16, "Scripts → Zen Mode"),
|
|
use("view.zoom", 16, "menus: Frame Selection"),
|
|
}
|