WinDom: comp_slider.c File Reference

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

# comp_slider.c File Reference

`#include "globals.h"`

## Functions
int | comp_slider_set (APPvar *app, WINDOW *win, COMPONENT *s, int mode, int par1, int par2, int par3, int par4)
COMPONENT * | comp_slider_create (APPvar *app, int mode, int width, int sz, int flex)
void | comp_slider_link (APPvar *app, COMPONENT *c, COMPONENT *s, int mode)
| Link the slider and the controlled component.

## Function Documentation

COMPONENT* comp_slider_create | ( | APPvar * | app,
|  | int | mode,
|  | int | width,
|  | int | sz,
|  | int | flex
| ) |

void comp_slider_link | ( | APPvar * | app,
|  | COMPONENT * | c,
|  | COMPONENT * | s,
|  | int | mode
| ) |

  | Link the slider and the controlled component. Parameters:
  | app |
  | c | the component to control (slider messages to be sent to)
  | s | slider component
  | mode | `CS_VSLIDE` or `CS_HSLIDE` according to which direction the slider `s` is to be used in by `c`.

int comp_slider_set | ( | APPvar * | app,
|  | WINDOW * | win,
|  | COMPONENT * | s,
|  | int | mode,
|  | int | par1,
|  | int | par2,
|  | int | par3,
|  | int | par4
| ) |