Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_text.c ewl_spectrum.h
Log Message:
fix compile warnings
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -3 -r1.166 -r1.167
--- ewl_text.c 4 Jun 2007 18:37:34 -0000 1.166
+++ ewl_text.c 1 Jul 2007 20:14:09 -0000 1.167
@@ -58,8 +58,9 @@
static void ewl_text_selection_select_to(Ewl_Text_Trigger *s,
unsigned int char_idx);
-static void ewl_text_theme_color_get(Ewl_Text *t, int *r, int *g,
- int *b, int *a, char *name);
+static void ewl_text_theme_color_get(Ewl_Text *t, unsigned char *r,
+ unsigned char *g, unsigned char *b,
+ unsigned char *a, char *name);
static Ewl_Text_Context *ewl_text_context_default_create(Ewl_Text *t);
@@ -2536,8 +2537,8 @@
}
static void
-ewl_text_theme_color_get(Ewl_Text *t, int *r, int *g,
- int *b, int *a, char *name)
+ewl_text_theme_color_get(Ewl_Text *t, unsigned char *r, unsigned char *g,
+ unsigned char *b, unsigned char *a, char *name)
{
char buf[128];
int pos;
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spectrum.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_spectrum.h 10 Apr 2007 22:52:02 -0000 1.20
+++ ewl_spectrum.h 1 Jul 2007 20:14:09 -0000 1.21
@@ -49,7 +49,12 @@
Ewl_Widget *horizontal; /**< Horizontal portion of the
crosshairs */
} cross_hairs; /**< Selection crosshairs */
- Ewl_Color_Set rgb; /**< Current RBG colour of the spectrum
*/
+ struct {
+ int r;
+ int g;
+ int b;
+ } rgb; /**< Current RBG colour of the spectrum
*/
+
struct {
double h; /**< The current hue */
double s; /**< The current saturation */
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs