Atoms - SliderUintComponent

Admin私のストア

We will explain Atoms' SliderUintComponent.

SliderUintComponent can set a value in a specified range and can change the value with a drag event. Pages-IndexTestComponent uses SliderUintComponent to dynamically change the Component arguments and redraw. The value held by SliderUintComponent is an unsigned int type.

The remaining arguments are the size and color of the rectangle. The standard SliderComponent draws with simple shapes that can be done with SDL. You can edit and specify the drawing module for the shape that indicates the range or the pointer. The explanation of SDL object drawing modules will be explained in a later tutorial.

The following is a simple procedure for creating a module.

  1. Object Creation
  2. Creating an SDL object drawing module
  3. Creating a Component
Back to blog

Leave a comment

Please note, comments need to be approved before they are published.