Class: GUIController

GUIController()

Handles switching between both desktop and mobile versions of the UI. Whenever one of its chidlren updates, it will pass that data up to its parent component.

Constructor

new GUIController()

Source:

Extends

  • React.Component

Members

createDesktopBrush

Creates the JSX for the desktop version of the brush.

Source:

createDesktopColorPalette

Creates the JSX for the desktop version of the color palette.

Source:

handleAccordionIndicesChange

Toggles the accordion at the given index for the given state with a activeAccordionIndices property.

Source:

updateMobileState

Handler for screen resize events that updates whether or not the application should currently be using the mobile or desktop GUI.

Source:

Methods

createDesktopGUI() → {JSX}

Create the desktop version of the UI.

Source:
Returns:
Type
JSX

createDesktopViewport() → {JSX}

Creates the JSX for the desktop version of the viewport.

Source:
Returns:
Type
JSX

createMobileGUI() → {JSX}

Create the mobile version of the UI.

Source:
Returns:
Type
JSX

createMobileModal() → {JSX}

Creates JSX for modals on mobile devices.

Source:
Returns:
Type
JSX

createMobileModalContent() → {JSX}

Populates the mobile modal with content relevant to what the user selected. For example, opening the ColorPalette will fill the modal with ColorPalette related JSX.

Source:
Returns:
Type
JSX