diff --git a/src/lib/objgfx40/objgfx40/ogTypes.h b/src/lib/objgfx40/objgfx40/ogTypes.h index 0bc42d8..c163996 100644 --- a/src/lib/objgfx40/objgfx40/ogTypes.h +++ b/src/lib/objgfx40/objgfx40/ogTypes.h @@ -29,38 +29,44 @@ ogNoModeSupport }; // ogErrorCode -struct ogRGB8 { +class ogRGB8 { + public: uInt8 red; uInt8 green; uInt8 blue; }; -struct ogRGBA8 { +class ogRGBA8 { + public: uInt8 red; uInt8 green; uInt8 blue; uInt8 alpha; }; -struct ogRGB32 { +class ogRGB32 { + public: uInt32 red; uInt32 green; uInt32 blue; }; -struct ogRGBA32 { +class ogRGBA32 { + public: uInt32 red; uInt32 green; uInt32 blue; uInt32 alpha; }; -struct ogPoint2d { +class ogPoint2d { + public: int32 x; int32 y; }; -struct ogPoint3d { +class ogPoint3d { + public: int32 x; int32 y; int32 z;