MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / tool_state_program

Function tool_state_program

flo/src/scenery/ui/tools/tool_state.rs:249–694  ·  view source on GitHub ↗

The default subprogram that manages tool state (which tools are selected, where their icons are drawn) in a flowbetween document There are three things that might listen for tool events. A 'location' is something that handles drawing the tools that are assigned to it. For example, this might be a toolbar. The 'owner' manages all tools of a type. It deals with displaying the configuration dialog f

(input: InputStream<Tool>, context: SceneContext)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

SelectClass · 0.85
send_to_subscribersFunction · 0.85
get_mutMethod · 0.80
containsMethod · 0.80
mapMethod · 0.80
nextMethod · 0.45
pushMethod · 0.45
getMethod · 0.45
cloneMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45
retainMethod · 0.45

Tested by

no test coverage detected