1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
//! `elicit_egui` — dual-mode MCP tools for egui widget creation.
//!
//! Provides tools that operate in two modes:
//!
//! 1. **Runtime mode** — each tool returns a JSON description
//! that can be rendered by an egui runtime or inspected as JSON.
//! 2. **Emit mode** — each tool's parameters can generate idiomatic
//! egui Rust code via the elicitation code-emission pipeline.
//!
//! # Tool categories
//!
//! ## Widgets (32 tools)
//!
//! | Tool | Widget | Category |
//! |------|--------|----------|
//! | `widget_label` | Plain text | Display |
//! | `widget_heading` | Heading text | Display |
//! | `widget_monospace` | Monospace text | Display |
//! | `widget_code` | Code with background | Display |
//! | `widget_small` | Small text | Display |
//! | `widget_strong` | Bold text | Display |
//! | `widget_weak` | Faint text | Display |
//! | `widget_colored_label` | Coloured text | Display |
//! | `widget_button` | Clickable button | Interactive |
//! | `widget_small_button` | Compact button | Interactive |
//! | `widget_checkbox` | Boolean toggle | Interactive |
//! | `widget_radio_value` | Radio button (auto-update) | Interactive |
//! | `widget_radio` | Radio button (display only) | Interactive |
//! | `widget_selectable_label` | Toggle label | Interactive |
//! | `widget_toggle_value` | Boolean toggle (simple) | Interactive |
//! | `widget_link` | Clickable text link | Interactive |
//! | `widget_hyperlink` | Web link | Interactive |
//! | `widget_separator` | Divider line | Layout |
//! | `widget_spinner` | Loading spinner | Feedback |
//! | `widget_text_edit_singleline` | Single-line input | Text |
//! | `widget_text_edit_multiline` | Multi-line input | Text |
//! | `widget_code_editor` | Code editor | Text |
//! | `widget_slider` | Numeric slider | Numeric |
//! | `widget_slider_vertical` | Vertical slider | Numeric |
//! | `widget_drag_value` | Drag-to-edit value | Numeric |
//! | `widget_drag_angle` | Drag-to-edit angle (degrees) | Numeric |
//! | `widget_drag_angle_tau` | Drag-to-edit angle (tau) | Numeric |
//! | `widget_progress_bar` | Progress indicator | Feedback |
//! | `widget_color_edit_button_srgba` | sRGBA colour picker | Colour |
//! | `widget_color_edit_button_hsva` | HSVA colour picker | Colour |
//! | `widget_image` | Image display | Media |
//!
//! ## Containers (14 tools)
//!
//! | Tool | Container | Notes |
//! |------|-----------|-------|
//! | `container_window` | Floating window | Title, pos, size, collapsible |
//! | `container_left_panel` | Left side panel | Resizable with min/max width |
//! | `container_right_panel` | Right side panel | Resizable |
//! | `container_top_panel` | Top panel | Resizable |
//! | `container_bottom_panel` | Bottom panel | Resizable |
//! | `container_central_panel` | Central panel | Fills remaining space |
//! | `container_scroll_area` | Scroll region | Vertical/horizontal |
//! | `container_collapsing` | Collapsible section | Header text, default open |
//! | `container_group` | Visual group | Box around content |
//! | `container_frame` | Styled frame | Fill, stroke, margins |
//! | `container_menu_bar` | Menu bar | Top-level menus |
//! | `container_menu` | Menu | Within menu bar |
//! | `container_tooltip` | Tooltip | Hover text |
//! | `container_popup` | Popup area | Context menu, dropdown |
//!
//! ## Layout (11 tools)
//!
//! | Tool | Layout | Notes |
//! |------|--------|-------|
//! | `layout_horizontal` | Left-to-right | Optional alignment |
//! | `layout_vertical` | Top-to-bottom | Optional alignment |
//! | `layout_horizontal_centered` | Centred horizontal | — |
//! | `layout_vertical_centered` | Centred vertical | — |
//! | `layout_horizontal_justified` | Justified horizontal | Items stretch |
//! | `layout_vertical_justified` | Justified vertical | — |
//! | `layout_horizontal_wrapped` | Wrapping horizontal | Next line on overflow |
//! | `layout_columns` | Column layout | N columns |
//! | `layout_grid` | Grid layout | Striped, column count |
//! | `layout_indent` | Indentation | Pixel amount |
//! | `layout_add_space` | Spacing | Pixel amount |
//!
//! ## Styling (29 tools)
//!
//! | Tool | Style | Notes |
//! |------|-------|-------|
//! | `style_spacing` | Global spacing | Item, window, button |
//! | `style_dark_mode` | Dark theme | — |
//! | `style_light_mode` | Light theme | — |
//! | `style_visual` | Colour property | Hyperlink, bg, panel, etc. |
//! | `style_window_rounding` | Window corners | Corner radius |
//! | `style_window_shadow` | Window shadow | Offset, blur, colour |
//! | `style_widget_visuals` | Widget state visuals | Fill, stroke per state |
//! | `style_selection` | Selection highlight | Background, stroke |
//! | `style_text_cursor` | Text cursor | Colour, width |
//! | `egui_set_fonts` | Font families | Proportional, monospace |
//! | `egui_override_text_style` | Text style override | Family + size per style |
//! | `egui_set_text_valign` | Text vertical align | Top, center, bottom |
//! | `egui_set_interaction` | Interaction settings | Click time, drag threshold |
//! | `egui_set_animation_time` | Animation duration | Transition timing |
//! | `egui_set_debug_options` | Debug rendering | Widget hits, hover debug |
//! | `egui_set_hyperlink_color` | Hyperlink colour | — |
//! | `egui_set_faint_bg_color` | Faint background | Alternating rows |
//! | `egui_set_extreme_bg_color` | Extreme background | Text input fields |
//! | `egui_set_code_bg_color` | Code background | Monospace background |
//! | `egui_set_warn_fg_color` | Warning foreground | — |
//! | `egui_set_error_fg_color` | Error foreground | — |
//! | `egui_set_widget_stroke` | Widget state stroke | Per-state border |
//! | `egui_set_window_stroke` | Window border stroke | Width + colour |
//! | `egui_set_menu_margin` | Menu margin | Left, right, top, bottom |
//! | `egui_set_button_padding` | Button padding | Horizontal, vertical |
//! | `egui_set_indent` | Indentation | Pixel distance |
//! | `egui_set_scroll_bar_width` | Scroll bar | Width, handle, margins |
//! | `egui_set_resize_grip_size` | Resize grip | Corner size |
//! | `egui_set_text_cursor_width` | Cursor blink | Width, blink timing |
//!
//! ## Response (21 tools)
//!
//! | Tool | Query | Notes |
//! |------|-------|-------|
//! | `response_clicked` | Was clicked | — |
//! | `response_double_clicked` | Was double-clicked | — |
//! | `response_secondary_clicked` | Was right-clicked | — |
//! | `response_clicked_n` | Clicked N times | Count param |
//! | `response_hovered` | Is hovered | — |
//! | `response_has_focus` | Has focus | — |
//! | `response_gained_focus` | Gained focus | — |
//! | `response_lost_focus` | Lost focus | — |
//! | `response_request_focus` | Request focus | — |
//! | `response_surrender_focus` | Release focus | — |
//! | `response_dragged` | Is dragged | — |
//! | `response_drag_released` | Drag released | — |
//! | `response_drag_delta` | Drag delta | Vec2 result |
//! | `response_changed` | Value changed | — |
//! | `response_rect` | Bounding rect | Rect result |
//! | `response_hover_pos` | Hover position | Optional Vec2 |
//! | `response_show_tooltip` | Show tooltip | Text param |
//! | `response_set_enabled` | Set enabled state | Bool param |
//! | `response_highlight` | Highlight widget | — |
//! | `response_scroll_to_me` | Scroll into view | — |
//! | `response_context_menu` | Context menu | — |
//!
//! ## Menus & Popups (13 tools)
//!
//! | Tool | Action | Notes |
//! |------|--------|-------|
//! | `egui_context_menu` | Right-click menu | Region ID |
//! | `egui_context_menu_item` | Menu item | Label + shortcut |
//! | `egui_context_menu_separator` | Menu separator | — |
//! | `egui_popup` | Popup at position | ID, position, content |
//! | `egui_popup_below_widget` | Popup below widget | Anchor ID |
//! | `egui_close_popup` | Close popup | — |
//! | `egui_tooltip` | Hover tooltip | Widget ID, text |
//! | `egui_tooltip_rich` | Rich tooltip | Custom UI content |
//! | `egui_tooltip_at_pointer` | Pointer tooltip | Text at cursor |
//! | `egui_modal` | Modal dialog | Title, content, buttons |
//! | `egui_confirm_dialog` | Confirm dialog | Yes/no |
//! | `egui_alert_dialog` | Alert dialog | OK button |
//! | `egui_notification` | Toast message | Text, duration, position |
//!
//! ## Input (14 tools)
//!
//! | Tool | Query | Notes |
//! |------|-------|-------|
//! | `egui_key_pressed` | Key pressed | This frame |
//! | `egui_key_released` | Key released | This frame |
//! | `egui_key_down` | Key held down | Current state |
//! | `egui_modifiers` | Modifier keys | Ctrl, Shift, Alt, Cmd |
//! | `egui_pointer_pos` | Pointer position | — |
//! | `egui_pointer_button_pressed` | Mouse pressed | Button name |
//! | `egui_pointer_button_released` | Mouse released | Button name |
//! | `egui_pointer_delta` | Pointer delta | This frame |
//! | `egui_scroll_delta` | Scroll delta | — |
//! | `egui_clipboard_get` | Get clipboard | Text |
//! | `egui_clipboard_set` | Set clipboard | Text |
//! | `egui_request_focus` | Request focus | Widget ID |
//! | `egui_surrender_focus` | Release focus | Widget ID |
//! | `egui_has_focus` | Check focus | Widget ID |
//!
//!
//! # JSON interchange
//!
//! Tools communicate via tagged enums that serialize to compact JSON:
//! [`WidgetJson`], [`ContainerJson`], [`LayoutJson`],
//! [`StyleJson`], and
//! [`ResponseQueryJson`].
pub use ;
pub use ;
pub use EguiWinitPlugin;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;