Eidolon
Public Member Functions | Public Attributes | List of all members
BaseSpectrumWidget.SmallButton Class Reference

Inherits object.

Collaboration diagram for BaseSpectrumWidget.SmallButton:
Collaboration graph

Public Member Functions

def __init__ (self, x, y, w, h, text, parent)
 
def pos (self)
 
def isClicked (self, x, y)
 
def draw (self, p)
 

Public Attributes

 x
 
 y
 
 w
 
 h
 
 text
 
 parent
 

Detailed Description

A simple class implementing a small button drawn as a rectangle with a text label in the center.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  x,
  y,
  w,
  h,
  text,
  parent 
)

Member Function Documentation

◆ draw()

def draw (   self,
  p 
)
Here is the call graph for this function:

◆ isClicked()

def isClicked (   self,
  x,
  y 
)
Here is the call graph for this function:

◆ pos()

def pos (   self)
Here is the caller graph for this function:

Member Data Documentation

◆ h

h

◆ parent

parent

◆ text

text

◆ w

w

◆ x

x

◆ y

y

The documentation for this class was generated from the following file: