This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module scrollbar [Version: v01]

This documentation describes the Prokee module interface.


Static Methods:
main
int scrollbar::main(int argc,char **argv)
Constructors
createHorizontalScrollbar
Element *scrollbar::createHorizontalScrollbar(uint16_t width,uint16_t height)
createVerticalScrollbar
Element *scrollbar::createVerticalScrollbar(uint16_t width,uint16_t height)
Constructors
createHorizontalScrollbar_std
Element *scrollbar::createHorizontalScrollbar_std(uint16_t width,uint16_t height)
createVerticalScrollbar_std
Element *scrollbar::createVerticalScrollbar_std(uint16_t width,uint16_t height)
Destructor
destroy
void scrollbar::destroy(Element *elem)
Drawing
draw
void scrollbar::draw(Element *elem)

Motivation

This module creates a scrollbar element.


Static Methods

   main


Runs a test of the scrollbar element.

Signature:
int scrollbar::main(int argc,char **argv)

Parameters:
Type Name Direction Description
int argcThe number of command-line parameters.
char **argv[IN]The command-line parameters.

Return value:
Exit status.

   createHorizontalScrollbar


Creates a new scrollbar element.

Signature:
Element *scrollbar::createHorizontalScrollbar(uint16_t width,uint16_t height)

Parameters:
Type Name Direction Description
uint16_t widthThe width of the scrollbar in pixels.
uint16_t heightThe height of the scrollbar in pixels.

Return value:
Pointer to an Element structure.

   createVerticalScrollbar


Creates a new scrollbar element.

Signature:
Element *scrollbar::createVerticalScrollbar(uint16_t width,uint16_t height)

Parameters:
Type Name Direction Description
uint16_t widthThe width of the scrollbar in pixels.
uint16_t heightThe height of the scrollbar in pixels.

Return value:
Pointer to an Element structure.

   createHorizontalScrollbar_std


Creates a new scrollbar element.

Signature:
Element *scrollbar::createHorizontalScrollbar_std(uint16_t width,uint16_t height)

Parameters:
Type Name Direction Description
uint16_t widthThe width of the scrollbar in pixels.
uint16_t heightThe height of the scrollbar in pixels.

Return value:
Pointer to an Element structure.

   createVerticalScrollbar_std


Creates a new scrollbar element.

Signature:
Element *scrollbar::createVerticalScrollbar_std(uint16_t width,uint16_t height)

Parameters:
Type Name Direction Description
uint16_t widthThe width of the scrollbar in pixels.
uint16_t heightThe height of the scrollbar in pixels.

Return value:
Pointer to an Element structure.

   destroy


Destroys a scrollbar element.

This frees all resources associated with the Element.

Signature:
void scrollbar::destroy(Element *elem)

Parameters:
Type Name Direction Description
Element *elem[IN/OUT]Pointer to an Element structure.

   draw


Draws a scrollbar element to be displayed later.

Signature:
void scrollbar::draw(Element *elem)

Parameters:
Type Name Direction Description
Element *elem[IN/OUT]Pointer to an Element structure.


Copyright © 2017 - 2019 by Andreas Pollhammer