Package ModalGUI

Examples of ModalGUI.GUIComponentSet


    //tools
    GUIPanel toolPanel = new GUIPanel(0f, height - panelHeight,
        (int) width, (int) panelHeight, gui);
    tabbedPanel.addTabbedPanel(toolPanel, "tools", gui);

    GUIComponentSet toggleSet = new GUIComponentSet();

    GUIToggle toggle = new GUIToggle(posX, posY, button_width,
        button_height, "gui/draw.png", gui);
    toggle.setComponentSet(toggleSet);
    toggle.addActionListener(sketch.getSketchTools(), "selectTool",
View Full Code Here


    this.sliceSelections.clear();

    XPos = 5;
    SliceCount = 0;

    toggleSetSlices = new GUIComponentSet();
    if (SETTINGS.EXPERT_MODE) {
      for (int i = 0; i < sliceSelections.l.size(); i++) {
        CrossSliceSelection creossSelection = (CrossSliceSelection) sliceSelections.l
            .get(i);
        if (!creossSelection.destroy) {
View Full Code Here

    this.propertiesPanel.add(button);

    GUIToggle toggle = null;

    float xPos = 95;
    GUIComponentSet toggleSet = new GUIComponentSet();

     xPos += 20;
     yPos = 10;

   
View Full Code Here

     posY = 0;
   
   
    
    
     GUIComponentSet physicsSet = new GUIComponentSet();
     //Physics
    
      toggle = new GUIToggle(posX, posY, button_width, button_width,
          "gui/GUI_PHYSICS_PLAY.png","gui/GUI_PHYSICS_PAUSE.png", gui);
      toggle.setComponentSet(physicsSet);
View Full Code Here

    
     */
    GUIPanel slicesPanel = new GUIPanel(0f, 0f, tabbedPanel.getWidth(), (int) panelHeight, gui);
    tabbedPanel.addTabbedPanel(slicesPanel, "slices","gui/GUI_TAB_SLICES_UP.png","gui/GUI_TAB_SLICES_DOWN.png", gui);

    GLOBAL.toggleSetSlices = new GUIComponentSet();

    toggle = new GUIToggle(posX, posY, button_width, button_height,
        "gui/GUI_SLICE_SLICE_BUTTON.png", gui);
    toggle.setComponentSet(GLOBAL.toggleSetSlices);
    toggle.addActionListener(GLOBAL.uiTools, "selectTool",
View Full Code Here

    //end caps

     yPos = 65;
     float xPos = 20;
    GUIComponentSet toggleSetCaps = new GUIComponentSet();

   
    GUILabel label = new GUILabel(xPos-2, yPos-16, "cap\nstyle",gui);
    this.add(label);
   
View Full Code Here

TOP

Related Classes of ModalGUI.GUIComponentSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.