Gum forms

From vchelaru/FlatRedBall · View interactive version

Gum forms is an AI agent skill from the GitHub repository vchelaru/FlatRedBall. FRB Gum Forms codegen and how Forms controls take cursor input. Triggers: XxxForms.Generated.cs, FormsClassCodeGenerator, UserControl, Cursor.WindowOver, clicks eaten by Gum UI.

How to use this skill

Skill file

Gum Forms (FRB1)

FRB's Gum codegen makes two classes for each Gum element: a Visual runtime (GumRuntimes\XxxRuntime.Generated.cs) and a Forms class (Forms\...\XxxForms.Generated.cs). A Gum screen paired with an FRB screen gets both. MonoGameGum and FRB2 merged the two, so don't carry this split over from them. See [[gum-integration]] for the rest of the Gum plugin.

Where it lives

| Piece | Location |

|---|---|

| Forms class per element | FRBDK\Glue\GumPlugin\GumPlugin\CodeGeneration\FormsClassCodeGenerator.cs |

| Forms instance on an FRB screen | FormsObjectCodeGenerator.cs (same folder) |

| Forms controls (Button, UserControl...) | Engines\Forms\FlatRedBall.Forms\FlatRedBall.Forms.Shared\Controls\ |

Landmines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.