|
Public Types inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
enum | GroupModes { GroupModes.Default = 0,
GroupModes.HideEmpty = 1,
GroupModes.HideBlockGroups = 2,
GroupModes.HideAll = 3
} |
|
Static Public Member Functions inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
static void | Reset () |
|
static void | RequestItemParameters (MyToolbarItem item, Action< bool > callback) |
|
static void | DropGridItemToToolbar (MyToolbarItem item, int slot) |
|
static void | ReinitializeBlockScrollbarPosition () |
|
Public Attributes inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
Action | OnLoadingAction |
|
readonly MyGuiControls | Elements |
|
Static Public Attributes inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
static MyGuiScreenToolbarConfigBase | Static |
|
static GroupModes | GroupMode = GroupModes.Default |
|
Protected Member Functions inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
override void | OnClosed () |
| Called when [show]. More...
|
|
void | SelectCategories () |
|
void | SortCategoriesToDisplayList () |
|
virtual void | UpdateGridBlocksBySearchCondition (IMySearchCondition searchCondition) |
|
virtual void | AddToolsAndAnimations (IMySearchCondition searchCondition) |
|
virtual void | AddDefinitionAtPosition (MyGuiControlGrid grid, MyDefinitionBase definition, Vector2I position, bool enabled=true, string subicon=null) |
|
void | UpdateGridControl () |
| Updates Grid control with current category settings. More...
|
|
Protected Member Functions inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
| MyGuiScreenBase (Vector2?position=null, Vector4?backgroundColor=null, Vector2?size=null, bool isTopMostScreen=false, string backgroundTexture=null, float backgroundTransition=0.0f, float guiTransition=0.0f) |
|
bool | HandleKeyboardActiveIndex (bool forwardMovement) |
|
bool | IsMouseOver () |
|
MyGuiControlLabel | AddCaption (MyStringId textEnum, Vector4?captionTextColor=null, Vector2?captionOffset=null, float captionScale=MyGuiConstants.DEFAULT_TEXT_SCALE) |
|
MyGuiControlLabel | AddCaption (String text, Vector4?captionTextColor=null, Vector2?captionOffset=null, float captionScale=MyGuiConstants.DEFAULT_TEXT_SCALE) |
|
virtual void | Canceling () |
| Called when user presses ESC or clicks on CANCEL - hook to this method so you can do gui-screen-specific event More...
|
|
Color | ApplyTransitionAlpha (Vector4 color, float transition) |
|
virtual void | OnShow () |
| Called when [show]. More...
|
|
virtual void | OnHide () |
| Called when [show]. More...
|
|
void | MakeXAndYEqual (ref Vector2 val) |
| Computes ratio of width and height in GUI coordinates to make X and Y of equal value represent same distance on screen as well. Then multiplies Y using this ratio. More...
|
|
Vector2 | MakeXAndYEqual (Vector2 val) |
|
void | SetDefaultCloseButtonOffset () |
|
Static Protected Member Functions inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
static void | AddDefinition (MyGuiControlGrid grid, MyObjectBuilder_ToolbarItem data, MyDefinitionBase definition) |
|
Static Protected Member Functions inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
static string | MakeScreenFilepath (string name) |
|
Protected Attributes inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
MyGuiControlTextbox | m_searchItemTextBox |
|
MyGuiControlListbox | m_categoriesListbox |
|
MyGuiControlGrid | m_gridBlocks |
|
MyGuiControlScrollablePanel | m_gridBlocksPanel |
|
MyGuiControlLabel | m_blocksLabel |
|
MyGuiControlGridDragAndDrop | m_dragAndDrop |
|
MyGuiControlToolbar | m_toolbarControl |
|
MyGuiControlContextMenu | m_contextMenu |
|
MyGuiControlContextMenu | m_onDropContextMenu |
|
MyGuiControlVoxelHandSettings | m_voxelHandConfig |
|
MyCharacter | m_character = null |
|
MyCubeGrid | m_screenCubeGrid = null |
|
const string | SHIP_GROUPS_NAME = "Groups" |
|
const string | CHARACTER_ANIMATIONS_GROUP_NAME = "CharacterAnimations" |
|
MyStringHash | manipulationToolId = MyStringHash.GetOrCompute("ManipulationTool") |
|
string[] | m_forcedCategoryOrder = new string[] { "ShipWeaponsTools", "WeaponsTools", "CharacterTools", CHARACTER_ANIMATIONS_GROUP_NAME, SHIP_GROUPS_NAME } |
|
MySearchByStringCondition | m_nameSearchCondition = new MySearchByStringCondition() |
|
MySearchByCategoryCondition | m_categorySearchCondition = new MySearchByCategoryCondition() |
|
SortedDictionary< String, MyGuiBlockCategoryDefinition > | m_sortedCategories = new SortedDictionary<String, MyGuiBlockCategoryDefinition>() |
|
List< MyGuiBlockCategoryDefinition > | m_searchInBlockCategories = new List<MyGuiBlockCategoryDefinition>() |
|
MyGuiBlockCategoryDefinition | m_shipGroupsCategory = new MyGuiBlockCategoryDefinition() |
|
float | m_scrollOffset |
|
int | m_contextBlockX = -1 |
|
int | m_onDropContextMenuToolbarIndex = -1 |
|
MyToolbarItem | m_onDropContextMenuItem |
|
MyCubeBlock | m_screenOwner = null |
|
Protected Attributes inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
Action | OnEnterCallback |
|
float | m_transitionAlpha |
|
float | m_backgroundTransition |
|
float | m_guiTransition |
|
Vector2 | m_position |
|
Color | m_backgroundFadeColor |
|
bool | m_isTopMostScreen = false |
|
bool | m_isAlwaysFirst = false |
|
bool | m_isTopScreen = false |
|
bool | m_isFirstForUnload = false |
|
Vector4 | m_backgroundColor |
|
string | m_backgroundTexture |
|
bool | m_canCloseInCloseAllScreenCalls = true |
|
Vector2 | m_size |
|
bool | m_closeOnEsc = true |
|
bool | m_joystickAsMouse = true |
|
bool | m_defaultJoystickDpadUse = true |
|
bool | m_defaultJoystickCancelUse = true |
|
bool | m_drawEvenWithoutFocus = false |
|
bool | m_canShareInput = false |
|
bool | m_allowUnhidePreviousScreen |
|
GuiSounds | m_openingCueEnum |
|
GuiSounds | m_closingCueEnum |
|
MyGuiControlGridDragAndDrop | m_gridDragAndDropHandlingNow |
|
MyGuiControlBase | m_comboboxHandlingNow |
|
MyGuiControlBase | m_lastHandlingControl |
|
Static Protected Attributes inherited from Sandbox.Game.Gui.MyGuiScreenToolbarConfigBase |
static List< MyGuiBlockCategoryDefinition > | m_allSelectedCategories = new List<MyGuiBlockCategoryDefinition>() |
|
static float | m_savedVPosition = 0.0f |
|
static bool | m_ownerChanged = false |
|
static MyEntity | m_previousOwner = null |
|
Properties inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
Color | BackgroundFadeColor [get] |
|
bool | SkipTransition [get, set] |
|
bool | Cancelled [get] |
|
bool | DrawMouseCursor [get, set] |
|
bool | JoystickAsMouse [get, set] |
|
MyGuiScreenState | State [get, set] |
|
bool | IsLoaded [get, set] |
|
bool | EnabledBackgroundFade [get, protected set] |
| Draw fade rectangle under top-most screen? More...
|
|
bool | CanBeHidden [get, protected set] |
| Indicates whether screen can be hidden when another screen is on top of it (assuming that screen hides screens below it). More...
|
|
bool | CanHideOthers [get, protected set] |
| Indicates whether screen can hide screens below it. This will not hide screens that cannot be hidden. More...
|
|
bool | CanHaveFocus [get, protected set] |
| Without focus, this screen will not steal input. More...
|
|
virtual MyGuiControls | Controls [get] |
|
Vector4 | BackgroundColor [get, set] |
|
Vector2 | Size [get, set] |
|
bool | Visible [get] |
|
Vector2 | CloseButtonOffset [get, set] |
|
bool | CloseButtonEnabled [get, set] |
|
MyGuiControlBase | FocusedControl [get, set] |
|
string | DebugNamePath [get] |
|
string | Name [get] |
|
IMyGuiControlsOwner | Owner [get] |
|
Properties inherited from Sandbox.Graphics.GUI.IMyGuiControlsParent |
MyGuiControls | Controls [get] |
|
Properties inherited from Sandbox.Graphics.GUI.IMyGuiControlsOwner |
string | DebugNamePath [get] |
|
string | Name [get] |
|
IMyGuiControlsOwner | Owner [get] |
|
Events inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
ScreenHandler | Closed |
|
VisibleChangedDelegate | VisibleChanged |
|
Action< MyGuiScreenBase > | DataLoading |
|
Action< MyGuiScreenBase > | DataUnloading |
|
Definition at line 30 of file MyGuiScreenCubeBuilder.cs.