SliceO_Class::Flag_Toggle
This method toggle the value of specific bits in the flag. For each active windows, there are 4 64 bits flags associated with each instances of the class: "Update_A" and "Update_B" are used to signal that a specific update must be applied to the instance (A is immediate, B is delayed), "Redraw" signal that a specific redraw operation must be applied to the instance, and "Flag" contain information on the state of the instance (such as "Visible", "current"...).
The "Toggle" operation can be applied to the current instance, its parent and/or its descendants.
So, in order to perform the "Toggle" operation we need to know: for what bit of the flag? for which window? and is it applied to this instance, its parent of its descendants?
Syntax
void Flag_Toggle(
unsigned char mode,
void * window,
UInt64 mask
) ;
Parameters
mode
This variable is an "OR" of the following values to specified how the changes affect this instances and the connected classes:
window
Pointer to the window of interest or one of the following values:
mask
Bit mask of the flag we want to set.
Return value
This method does not return a value.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also