optris_sdk_color_window_entry
One colour window and the id it was set under, as read back by optris_sdk_imager_read_color_windows().
This struct is an array element, so its size travels as the entry_size parameter of the call rather than as a struct_size field. See optris_sdk_imager_read_color_windows().
Public attributes
id
uint32_t id
The id this window was set under, and the id that optris_sdk_imager_remove_color_window() takes. Entries come back in ascending id, which is also the order the bands composite in.
window
optris_sdk_color_window window
The band itself. Its colors is always NULL -- the SDK owns the table and a pointer into its memory would outlive the call -- but colors_from and color_count say whether there is one and how long it is, and optris_sdk_imager_read_color_window_colors() hands over a copy. Written straight back to optris_sdk_imager_set_color_window() the band keeps the ramp it had.