A function exported by PhAB to set the state of a window
created by create_window()
int set_state (
PhabResWindowHandle_t wnd,
ResFullWindowState_t state );
- wnd
- The window handle returned by PhABExportCreateWindowF_t
create_window().
- state
- The render action to take. Can be one of:
-
RESPLUGIN_STATE_DISABLED — the
plugin has no data applied.
- RESPLUGIN_STATE_MATCH_DEFAULT — the
plugin data matches the default value for that resource.
- RESPLUGIN_STATE_MATCH_MASTER — the
plugin data matches PhAB's value for that resource.
- RESPLUGIN_STATE_MATCH_DEFAULT_MASTER — indicates
that the plugin data matches both the default value and PhAB's value
for that resource.
- RESPLUGIN_STATE_NO_MATCH — indicates
that the data inside the plugin doesn't match either the default
value or PhAB's value for that resource.
- RESPLUGIN_STATE_BLOCKED — indicates
that the plugin is blocked (has no input).
- RESPLUGIN_STATE_UNBLOCKED — indicates
that the plugin is unblocked (has input).
This function is exported from PhAB in the PhABResExportFull_t structure.
You can call this function from a full resource editor to render
the window created in create_window() in
a certain state.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
create_window(), destroy(), get_area(), get_res(), PhABResExportFull_t, to_front().