GLOW API version 1.0 reference

Back to
Table of contents

class GlowSliderMessage

General information

type: struct
inherits: (none)
module: glowSliderWidget

GlowSliderMessage encloses data sent to a GlowSliderReceiver to notify it of an indicator dragged or released event.

Most GLOW programs that use sliders will need to use GlowSliderMessage to respond to slider events.


Event data

GlowSliderWidget* widget

The slider involved.

double value

The new value.

bool released

true if the the slider indicator was just released; false if it is still being dragged.

Glow::MouseButton mouseButton

The mouse button that was pressed. Uses the constants defined in Glow.

Glow::Modifiers modifiers

Keyboard modifiers that were down when the mouse button was pressed.

Back to
Table of contents

The GLOW Toolkit