aboutsummaryrefslogtreecommitdiffstats
path: root/src/calibrator.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-08 01:34:43 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-08 01:34:43 +0200
commit6e10b5d8eae9424b831b673e2ec63e9a64ecfe86 (patch)
treec8110ec031fbddc330776b960f659d8030f19d0d /src/calibrator.h
parentdoc (diff)
downloadcrt-calibrator-6e10b5d8eae9424b831b673e2ec63e9a64ecfe86.tar.gz
crt-calibrator-6e10b5d8eae9424b831b673e2ec63e9a64ecfe86.tar.bz2
crt-calibrator-6e10b5d8eae9424b831b673e2ec63e9a64ecfe86.tar.xz
warnings + add state.c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/calibrator.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/calibrator.h b/src/calibrator.h
index d953efd..7fed267 100644
--- a/src/calibrator.h
+++ b/src/calibrator.h
@@ -29,10 +29,8 @@
/**
* Draw bars in different shades of grey, red, green and blue
* used for calibrating the contrast and brightness
- *
- * @return Zero on success, -1 on error
*/
-int draw_contrast_brightness(void);
+void draw_contrast_brightness(void);
/**
* Draw a seven segment display
@@ -49,26 +47,23 @@ void draw_digit(framebuffer_t* restrict fb, int colour, uint32_t x, uint32_t y);
* for one of the seven segment display on only that CRT controller's
* monitors
*
- * @param crtc The CRT controller information
- * @param colour The intensity of the least intense colour in the seven segment display
- * @param value The valud of the digit to display
- * @return Zero on success, -1 on error
+ * @param crtc The CRT controller information
+ * @param colour The intensity of the least intense colour in the seven segment display
+ * @param value The valud of the digit to display
*/
-int gamma_digit(drm_crtc_t* restrict crtc, int colour, size_t value);
+void gamma_digit(drm_crtc_t* restrict crtc, int colour, size_t value);
/**
* Draw an unique index on each monitor
*
- * @return Zero on success, -1 on error
+ * @return Zero on success, -1 on error
*/
int draw_id(void);
/**
* Draw squares used as reference when tweeking the gamma correction
- *
- * @return Zero on success, -1 on error
*/
-int draw_gamma(void);
+void draw_gamma(void);
#endif