Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
gxkled.hh File Reference
#include "gxkutils.hh"
Include dependency graph for gxkled.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GxkLed
 
struct  GxkLedClass
 

Macros

#define GXK_TYPE_LED
 
#define GXK_LED(object)
 
#define GXK_LED_CLASS(klass)
 
#define GXK_IS_LED(object)
 
#define GXK_IS_LED_CLASS(klass)
 
#define GXK_LED_GET_CLASS(object)
 
#define GXK_LED_OFF
 
#define GXK_LED_MAGENTA
 
#define GXK_LED_RED
 
#define GXK_LED_YELLOW
 
#define GXK_LED_GREEN
 
#define GXK_LED_CYAN
 
#define GXK_LED_BLUE
 

Functions

GType gxk_led_get_type (void)
 
gpointer gxk_led_new (guint color)
 
void gxk_led_set_color (GxkLed *self, guint rgb_colors)
 
void gxk_led_set_border_width (GxkLed *self, guint border_width)
 

Function Documentation

gpointer gxk_led_new ( guint  color)
Parameters
colorrgb color

Create a new led widget. It's active color can be specified as 24bit RGB color value.

Here is the call graph for this function:

void gxk_led_set_color ( GxkLed self,
guint  color 
)
Parameters
selfvalid GxkLed
colorcolor as RGB byte triple

Set the current led color as 24bit RGB values.

Referenced by gxk_led_new().

Here is the call graph for this function:

Here is the caller graph for this function: