---
dfb++/idirectfbdisplaylayer.cpp | 10 +++++-----
dfb++/idirectfbpalette.cpp | 2 +-
dfb++/idirectfbsurface.cpp | 10 +++++-----
dfb++/idirectfbwindow.cpp | 8 ++++----
include/idirectfbdisplaylayer.h | 24 ++++++++++++------------
include/idirectfbpalette.h | 8 ++++----
include/idirectfbsurface.h | 36 ++++++++++++++++++------------------
include/idirectfbwindow.h | 10 +++++-----
8 files changed, 54 insertions(+), 54 deletions(-)
diff --git a/dfb++/idirectfbdisplaylayer.cpp b/dfb++/idirectfbdisplaylayer.cpp
index ca7bfa4..9b94f33 100644
--- a/dfb++/idirectfbdisplaylayer.cpp
+++ b/dfb++/idirectfbdisplaylayer.cpp
@@ -93,7 +93,7 @@ void IDirectFBDisplayLayer::SetCooperativeLevel
(DFBDisplayLayerCooperativeLevel
DFBCHECK( iface->SetCooperativeLevel (iface, level) );
}
-void IDirectFBDisplayLayer::SetOpacity (__u8 opacity)
+void IDirectFBDisplayLayer::SetOpacity (u8 opacity)
{
DFBCHECK( iface->SetOpacity (iface, opacity) );
}
@@ -135,12 +135,12 @@ void IDirectFBDisplayLayer::SetClipRegions (const
DFBRegion *regions,
DFBCHECK( iface->SetClipRegions (iface, regions, num_regions, positive) );
}
-void IDirectFBDisplayLayer::SetSrcColorKey (__u8 r, __u8 g, __u8 b)
+void IDirectFBDisplayLayer::SetSrcColorKey (u8 r, u8 g, u8 b)
{
DFBCHECK( iface->SetSrcColorKey (iface, r, g, b) );
}
-void IDirectFBDisplayLayer::SetDstColorKey (__u8 r, __u8 g, __u8 b)
+void IDirectFBDisplayLayer::SetDstColorKey (u8 r, u8 g, u8 b)
{
DFBCHECK( iface->SetDstColorKey (iface, r, g, b) );
}
@@ -204,7 +204,7 @@ void IDirectFBDisplayLayer::SetBackgroundImage
(IDirectFBSurface *surface)
DFBCHECK( iface->SetBackgroundImage (iface, surface->get_iface()) );
}
-void IDirectFBDisplayLayer::SetBackgroundColor (__u8 r, __u8 g, __u8 b, __u8 a)
+void IDirectFBDisplayLayer::SetBackgroundColor (u8 r, u8 g, u8 b, u8 a)
{
DFBCHECK( iface->SetBackgroundColor (iface, r, g, b, a) );
}
@@ -266,7 +266,7 @@ void IDirectFBDisplayLayer::SetCursorShape
(IDirectFBSurface *shape,
DFBCHECK( iface->SetCursorShape (iface, shape->get_iface(), hot_x, hot_y)
);
}
-void IDirectFBDisplayLayer::SetCursorOpacity (__u8 opacity)
+void IDirectFBDisplayLayer::SetCursorOpacity (u8 opacity)
{
DFBCHECK( iface->SetCursorOpacity (iface, opacity) );
}
diff --git a/dfb++/idirectfbpalette.cpp b/dfb++/idirectfbpalette.cpp
index 7f2698e..4a98e24 100644
--- a/dfb++/idirectfbpalette.cpp
+++ b/dfb++/idirectfbpalette.cpp
@@ -84,7 +84,7 @@ void IDirectFBPalette::GetEntries (DFBColor *entries,
DFBCHECK( iface->GetEntries (iface, entries, num_entries, offset) );
}
-unsigned int IDirectFBPalette::FindBestMatch (__u8 r, __u8 g, __u8 b, __u8 a)
+unsigned int IDirectFBPalette::FindBestMatch (u8 r, u8 g, u8 b, u8 a)
{
unsigned int index;
diff --git a/dfb++/idirectfbsurface.cpp b/dfb++/idirectfbsurface.cpp
index 7d31441..5b12c88 100644
--- a/dfb++/idirectfbsurface.cpp
+++ b/dfb++/idirectfbsurface.cpp
@@ -109,7 +109,7 @@ void IDirectFBSurface::SetPalette (IDirectFBPalette
*palette)
DFBCHECK( iface->SetPalette (iface, palette->get_iface()) );
}
-void IDirectFBSurface::SetAlphaRamp (__u8 a0, __u8 a1, __u8 a2, __u8 a3)
+void IDirectFBSurface::SetAlphaRamp (u8 a0, u8 a1, u8 a2, u8 a3)
{
DFBCHECK( iface->SetAlphaRamp (iface, a0, a1, a2, a3) );
}
@@ -142,7 +142,7 @@ void IDirectFBSurface::SetField (int field)
DFBCHECK( iface->SetField (iface, field) );
}
-void IDirectFBSurface::Clear (__u8 r, __u8 g, __u8 b, __u8 a)
+void IDirectFBSurface::Clear (u8 r, u8 g, u8 b, u8 a)
{
DFBCHECK( iface->Clear (iface, r, g, b, a) );
}
@@ -152,7 +152,7 @@ void IDirectFBSurface::SetClip (DFBRegion *clip)
DFBCHECK( iface->SetClip (iface, clip) );
}
-void IDirectFBSurface::SetColor (__u8 r, __u8 g, __u8 b, __u8 a)
+void IDirectFBSurface::SetColor (u8 r, u8 g, u8 b, u8 a)
{
DFBCHECK( iface->SetColor (iface, r, g, b, a) );
}
@@ -177,7 +177,7 @@ void IDirectFBSurface::SetPorterDuff
(DFBSurfacePorterDuffRule rule)
DFBCHECK( iface->SetPorterDuff (iface, rule) );
}
-void IDirectFBSurface::SetSrcColorKey (__u8 r, __u8 g, __u8 b)
+void IDirectFBSurface::SetSrcColorKey (u8 r, u8 g, u8 b)
{
DFBCHECK( iface->SetSrcColorKey (iface, r, g, b) );
}
@@ -187,7 +187,7 @@ void IDirectFBSurface::SetSrcColorKeyIndex (unsigned int
index)
DFBCHECK( iface->SetSrcColorKeyIndex (iface, index) );
}
-void IDirectFBSurface::SetDstColorKey (__u8 r, __u8 g, __u8 b)
+void IDirectFBSurface::SetDstColorKey (u8 r, u8 g, u8 b)
{
DFBCHECK( iface->SetDstColorKey (iface, r, g, b) );
}
diff --git a/dfb++/idirectfbwindow.cpp b/dfb++/idirectfbwindow.cpp
index 0958fa1..a12e3ff 100644
--- a/dfb++/idirectfbwindow.cpp
+++ b/dfb++/idirectfbwindow.cpp
@@ -124,7 +124,7 @@ DFBWindowOptions IDirectFBWindow::GetOptions ()
return options;
}
-void IDirectFBWindow::SetColorKey (__u8 r, __u8 g, __u8 b)
+void IDirectFBWindow::SetColorKey (u8 r, u8 g, u8 b)
{
DFBCHECK( iface->SetColorKey (iface, r, g, b) );
}
@@ -134,7 +134,7 @@ void IDirectFBWindow::SetColorKeyIndex (unsigned int index)
DFBCHECK( iface->SetColorKeyIndex (iface, index) );
}
-void IDirectFBWindow::SetOpacity (__u8 opacity)
+void IDirectFBWindow::SetOpacity (u8 opacity)
{
DFBCHECK( iface->SetOpacity (iface, opacity) );
}
@@ -144,9 +144,9 @@ void IDirectFBWindow::SetOpaqueRegion (int x1, int y1, int
x2, int y2)
DFBCHECK( iface->SetOpaqueRegion (iface, x1, y1, x2, y2) );
}
-__u8 IDirectFBWindow::GetOpacity()
+u8 IDirectFBWindow::GetOpacity()
{
- __u8 opacity;
+ u8 opacity;
DFBCHECK( iface->GetOpacity (iface, &opacity) );
diff --git a/include/idirectfbdisplaylayer.h b/include/idirectfbdisplaylayer.h
index 6b8d514..be3a747 100644
--- a/include/idirectfbdisplaylayer.h
+++ b/include/idirectfbdisplaylayer.h
@@ -48,7 +48,7 @@ public:
IDirectFBScreen *GetScreen ();
void SetCooperativeLevel
(DFBDisplayLayerCooperativeLevel level);
- void SetOpacity (__u8
opacity);
+ void SetOpacity (u8
opacity);
void SetSourceRectangle (int
x,
int
y,
int
width,
@@ -66,12 +66,12 @@ public:
void SetClipRegions (const DFBRegion
*regions,
int
num_regions,
DFBBoolean
positive);
- void SetSrcColorKey (__u8
r,
- __u8
g,
- __u8
b);
- void SetDstColorKey (__u8
r,
- __u8
g,
- __u8
b);
+ void SetSrcColorKey (u8
r,
+ u8
g,
+ u8
b);
+ void SetDstColorKey (u8
r,
+ u8
g,
+ u8
b);
int GetLevel ();
void SetLevel (int
level);
int GetCurrentOutputField ();
@@ -85,10 +85,10 @@ public:
void SetBackgroundMode
(DFBDisplayLayerBackgroundMode mode);
void SetBackgroundImage (IDirectFBSurface
*surface);
- void SetBackgroundColor (__u8
r,
- __u8
g,
- __u8
b,
- __u8
a = 0xFF);
+ void SetBackgroundColor (u8
r,
+ u8
g,
+ u8
b,
+ u8
a = 0xFF);
void GetColorAdjustment (DFBColorAdjustment
*adj);
void SetColorAdjustment (DFBColorAdjustment
&adj);
@@ -107,7 +107,7 @@ public:
void SetCursorShape (IDirectFBSurface
*shape,
int
hot_x,
int
hot_y);
- void SetCursorOpacity (__u8
opacity);
+ void SetCursorOpacity (u8
opacity);
void GetSourceDescriptions
(DFBDisplayLayerSourceDescription *descriptions);
diff --git a/include/idirectfbpalette.h b/include/idirectfbpalette.h
index 0fea2dc..98f5957 100644
--- a/include/idirectfbpalette.h
+++ b/include/idirectfbpalette.h
@@ -50,10 +50,10 @@ public:
unsigned int
num_entries,
unsigned int offset);
- unsigned int FindBestMatch (__u8 r,
- __u8 g,
- __u8 b,
- __u8 a);
+ unsigned int FindBestMatch (u8 r,
+ u8 g,
+ u8 b,
+ u8 a);
IDirectFBPalette *CreateCopy ();
diff --git a/include/idirectfbsurface.h b/include/idirectfbsurface.h
index bcdb4c9..883b04b 100644
--- a/include/idirectfbsurface.h
+++ b/include/idirectfbsurface.h
@@ -56,10 +56,10 @@ public:
IDirectFBPalette *GetPalette ();
void SetPalette (IDirectFBPalette
*palette);
- void SetAlphaRamp (__u8 a0,
- __u8 a1,
- __u8 a2,
- __u8 a3);
+ void SetAlphaRamp (u8 a0,
+ u8 a1,
+ u8 a2,
+ u8 a3);
void Lock (DFBSurfaceLockFlags
flags,
void **ptr,
@@ -69,27 +69,27 @@ public:
void Flip (DFBRegion
*region = NULL,
DFBSurfaceFlipFlags
flags = (DFBSurfaceFlipFlags)0);
void SetField (int
field);
- void Clear (__u8 r =
0x00,
- __u8 g =
0x00,
- __u8 b =
0x00,
- __u8 a =
0x00);
+ void Clear (u8 r =
0x00,
+ u8 g =
0x00,
+ u8 b =
0x00,
+ u8 a =
0x00);
void SetClip (DFBRegion
*clip);
- void SetColor (__u8 r,
- __u8 g,
- __u8 b,
- __u8 a =
0xFF);
+ void SetColor (u8 r,
+ u8 g,
+ u8 b,
+ u8 a =
0xFF);
void SetColorIndex (unsigned int
index);
void SetSrcBlendFunction (DFBSurfaceBlendFunction
function);
void SetDstBlendFunction (DFBSurfaceBlendFunction
function);
void SetPorterDuff (DFBSurfacePorterDuffRule
rule);
- void SetSrcColorKey (__u8 r,
- __u8 g,
- __u8 b);
+ void SetSrcColorKey (u8 r,
+ u8 g,
+ u8 b);
void SetSrcColorKeyIndex (unsigned int
index);
- void SetDstColorKey (__u8 r,
- __u8 g,
- __u8 b);
+ void SetDstColorKey (u8 r,
+ u8 g,
+ u8 b);
void SetDstColorKeyIndex (unsigned int
index);
void SetBlittingFlags (DFBSurfaceBlittingFlags
flags);
diff --git a/include/idirectfbwindow.h b/include/idirectfbwindow.h
index c8c84f4..0943e06 100644
--- a/include/idirectfbwindow.h
+++ b/include/idirectfbwindow.h
@@ -53,16 +53,16 @@ public:
void SetOptions (DFBWindowOptions options);
DFBWindowOptions GetOptions ();
- void SetColorKey (__u8 r,
- __u8 g,
- __u8 b);
+ void SetColorKey (u8 r,
+ u8 g,
+ u8 b);
void SetColorKeyIndex (unsigned int index);
- void SetOpacity (__u8 opacity);
+ void SetOpacity (u8 opacity);
void SetOpaqueRegion (int x1,
int y1,
int x2,
int y2);
- __u8 GetOpacity ();
+ u8 GetOpacity ();
void SetCursorShape (IDirectFBSurface *shape,
int hot_x,
int hot_y);
--
1.5.3.7
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev