DOKK / manpages / debian 11 / s3d-doc / s3dw_scrollbar.9.en
_S3DW_SCROLLBAR(9) s3d Manual _S3DW_SCROLLBAR(9)

s3dw_scrollbar - scrollbar of s3d widget

#include <s3dw.h>

struct _s3dw_scrollbar {
	s3dw_widget widget;
	float pos;
	float max;
	int type;
	int loid;
	int roid;
	int baroid;
	s3dw_callback lonclick;
	s3dw_callback ronclick;
}

The Scrollbar should be placed around scrollable content. Currently only the left and right icons are clickable (lonclick and ronclick callbacks), in vertical mode lonclick is the callback for the up icon, ronclick the callback for the down icon.

Simon Wunderlich

Author of s3d
s3d