imgui_push_style_color
Temporarily override a widget's style color by pushing an RGBA value onto the style stack; balance with a pop call.
Instructions
Push a style color override onto the style stack for a specific window or widget. Must be balanced with imgui_pop_style_color.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"col_idx": "<col_idx>",
"color": "<color>"
},
"name": "imgui_push_style_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | RGBA color [r,g,b,a] each 0.0-1.0 | |
| target | Yes | Target window or widget id to apply the style to | |
| col_idx | Yes | ImGuiCol_ index (0=Text, 1=TextDisabled, 2=WindowBg, etc.) |