BrushCmd(3U)
π BrushCmd(3U) β like, the InterViews Reference Manual but make it cute
okay bestie, welcome to the Unidraw corner of the InterViews Reference Manual β¨ this one's about BrushCmd, and no cap, she's a lil legend.
π NAME π
BrushCmd β the command that sets the brush attribute on your selected components ποΈβ¨
πΈ SYNOPSIS πΈ
#include <Unidraw/Commands/brushcmd.h>
π¦ DESCRIPTION π¦
So BrushCmd is a purely interpretive command π§ and its whole personality is setting the brush attribute of the selected components. That's it. That's the vibe. She doesn't do extra, she just interprets. π
π PUBLIC OPERATIONS π
BrushCmd(ControlInfo*, PSBrush* = nil)BrushCmd(Editor* = nil, PSBrush* = nil)
Make yourself a BrushCmd, and if you want, you can hand her the PSBrush that the components are supposed to adopt. Optional, queen β hence the = nil. π«Ά
virtual void Execute()
BrushCmd extends Execute so it can set the value of the affected editor's BrushVar instance β if that editor defines one. If it doesn't? Then there's nothing to set, bestie, and that's just how it is. π
PSBrush* GetBrush()
Gives you back the PSBrush you supplied in the constructor. That's the whole thing. She's returning what you gave her, periodt. β
π SEE ALSO π
Command(3U), pspaint(3U), statevars(3U) β go read those too, iykyk π
okay that's the whole page!! this one came from the Unidraw era, dated 23 January 1991 π so yeah, she's vintage, she's iconic, she's giving main character energy from the early nineties and we're obsessed π¦β¨ bye bestie π
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms