File: widgets.h

package info (click to toggle)
movit 1.7.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,248 kB
  • sloc: cpp: 16,677; sh: 3,940; makefile: 167
file content (16 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _MOVIT_WIDGETS_H
#define _MOVIT_WIDGETS_H 1

// Some simple UI widgets for test use.

namespace movit {

void draw_hsv_wheel(float y, float rad, float theta, float value);
void draw_saturation_bar(float y, float saturation);
void init_hsv_resources();
void cleanup_hsv_resources();
void read_colorwheel(float xf, float yf, float *rad, float *theta, float *value);

}  // namespace movit

#endif // !defined(_MOVIT_WIDGETS_H)