How do I make the display of a component independent of whether "Draw Icons" in Grasshopper is checked or not?

How do I make the display of a component independent of whether “Draw Icons” in Grasshopper is checked or not?

I.e., I’m looking for the same behavior as, for example, Galapagos.
I’m writing my own component attributes, I just don’t know what to look out for.

Thanks!

Galapagos overrides pretty much every aspect of the display. Do you wish to create a completely customised look for your object, or are you developing components that need to look a little different?

Note that it’s reasonably easy to create custom attributes for parameter-like and inactive objects (scribbles, buttons, toggles, swatches, jumps, relays, …) but it can be daunting to override the display of component-like objects (which is why Gradient is almost the only example of this).

I’m developing components for optimization with some extra features, so they’re similar Galapagos, but have additional inputs and outputs (similar to, say, Octopus).

I pretty much have what I want, I just don’t want the display of the component to change when “Draw Icons” is unchecked (see the example below).

example

So you already have a class which inherits from GH_ComponentAttributes and which overrides the draw function to an extent? Can I see this attributes class?