ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
ScrollHandleDelegate Struct Reference

The ScrollHandle delegate protocol. More...

#include <ScrollHandle.h>

Data Fields

void(* didDrag )(ScrollHandle *handle, float delta)
 Called for each mouse-motion increment while the handle is grabbed.
 
ident self
 The delegate self pointer (the ScrollBar).
 

Detailed Description

The ScrollHandle delegate protocol.

Definition at line 43 of file ScrollHandle.h.

Field Documentation

◆ didDrag

void(* ScrollHandleDelegate::didDrag) (ScrollHandle *handle, float delta)

Called for each mouse-motion increment while the handle is grabbed.

Parameters
handleThe ScrollHandle.
deltaThe vertical motion this event, in window pixels.

Definition at line 55 of file ScrollHandle.h.

◆ self

ident ScrollHandleDelegate::self

The delegate self pointer (the ScrollBar).

Definition at line 48 of file ScrollHandle.h.


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