private static extern void Internal_SetFocusedOn(IntPtr nativeInstance, ref GUIElementStateStyle value);
private static extern void Internal_SetNormal(IntPtr nativeInstance, ref GUIElementStateStyle value);
private static extern void Internal_GetActiveOn(IntPtr nativeInstance, out GUIElementStateStyle value);
/// <summary> /// Updates all GUI elements from the current state values. /// </summary> /// <param name="state">State object to display in the GUI.</param> public void Refresh(GUIElementStateStyle state) { this.state = state; textureField.Value = state.Texture; textColorField.Value = state.TextColor; }
private static extern void Internal_SetNormalOn(IntPtr nativeInstance, ref GUIElementStateStyle value);
private static extern void Internal_SetFocused(IntPtr nativeInstance, ref GUIElementStateStyle value);
private static extern void Internal_GetNormal(IntPtr nativeInstance, out GUIElementStateStyle value);
private static extern void Internal_GetFocusedOn(IntPtr nativeInstance, out GUIElementStateStyle value);