src/main/java/com/spinyowl/legui/component/Frame.java
private void initialize(float width, float height) {
    tooltipLayer = new Layer();
    tooltipLayer.setEventPassable(true);
    tooltipLayer.setEventReceivable(false);

    componentLayer = new Layer();
    componentLayer.setFocusable(true);

    tooltipLayer.setFrame(this);
    componentLayer.setFrame(this);
    setSize(width, height);
  }
/**
   * Used to initialize frame and layers.
   *
   * @param width  initial layer containers width.
   * @param height initial layer containers height.
   */
Used to initialize frame and layers.
@param width  initial layer containers width.
@param height initial layer containers height.
Used to initialize frame and layers . @param width initial layer containers width . @param height initial layer containers height .
private void initialize(float width, float height) {
    tooltipLayer = new Layer();
    tooltipLayer.setEventPassable(true);
    tooltipLayer.setEventReceivable(false);
    componentLayer = new Layer();
    componentLayer.setFocusable(true);
    tooltipLayer.setFrame(this);
    componentLayer.setFrame(this);
    setSize(width, height);
  }
private void initialize ( float width , float height ) { tooltipLayer = new Layer ( ) ; tooltipLayer . setEventPassable ( true ) ; tooltipLayer . setEventReceivable ( false ) ; componentLayer = new Layer ( ) ; componentLayer . setFocusable ( true ) ; tooltipLayer . setFrame ( this ) ; componentLayer . setFrame ( this ) ; setSize ( width , height ) ; }
Used to initialize frame and layers.
Used to initialize frame and layers .