Class R_Button

All Implemented Interfaces:
R_Constants, R_Constants_Colour
Direct Known Subclasses:
R_Knob

public class R_Button extends Crope
  • Field Details

    • offset

      public vec2 offset
  • Constructor Details

    • R_Button

      public R_Button()
    • R_Button

      public R_Button(vec2 pos, vec2 size)
    • R_Button

      public R_Button(float x, float y, float sx, float sy)
  • Method Details

    • set_kind

      public void set_kind(int kind)
    • set_value

      public R_Button set_value(boolean is)
      Parameters:
      is -
      Returns:
    • set_value

      public R_Button set_value(float value)
    • is

      public void is(boolean is)
    • switch_is

      public void switch_is()
    • is

      public boolean is()
      GET VALUE
    • get

      public float get()
      Overrides:
      get in class Crope
    • set_fill

      public R_Button set_fill(int colour)
      set fill color of your gui
      Overrides:
      set_fill in class Crope
      Parameters:
      colour -
      Returns:
    • set_fill

      public R_Button set_fill(int colour_in, int colour_out)
      set fill color of your gui
      Overrides:
      set_fill in class Crope
      Parameters:
      colour_in -
      colour_out -
      Returns:
    • set_fill_in_on

      public R_Button set_fill_in_on(int c)
    • set_fill_out_on

      public R_Button set_fill_out_on(int c)
    • set_fill_in_off

      public R_Button set_fill_in_off(int c)
    • set_fill_out_off

      public R_Button set_fill_out_off(int c)
    • set_stroke

      public R_Button set_stroke(int colour)
      set stroke color of your gui
      Overrides:
      set_stroke in class Crope
      Parameters:
      colour -
      Returns:
    • set_stroke

      public R_Button set_stroke(int colour_in, int colour_out)
      set fill color of your gui
      Overrides:
      set_stroke in class Crope
      Parameters:
      colour_in -
      colour_out -
      Returns:
    • set_stroke_in_on

      public R_Button set_stroke_in_on(int c)
    • set_stroke_out_on

      public R_Button set_stroke_out_on(int c)
    • set_stroke_in_off

      public R_Button set_stroke_in_off(int c)
    • set_stroke_out_off

      public R_Button set_stroke_out_off(int c)
    • update

      public void update()
      Overrides:
      update in class Crope
    • offset

      public void offset(float x, float y)
      offset
    • offset_is

      public void offset_is(boolean display_button)
    • rollover

      public void rollover(boolean auth_rollover)
    • show_struc

      public void show_struc()
      Overrides:
      show_struc in class Crope
    • show

      public void show()
    • show_struc

      public void show_struc(processing.core.PImage[] pic)
    • show

      @Deprecated public void show(processing.core.PImage[] pic)
      Deprecated.
    • show

      @Deprecated public void show(int kind, boolean on_off_is)
      Deprecated.
    • show_value

      public void show_value(float... value)
    • show_value

      public void show_value()
      Overrides:
      show_value in class Crope