diff options
Diffstat (limited to 'core/src/fxge')
29 files changed, 57 insertions, 57 deletions
diff --git a/core/src/fxge/agg/agg23/agg_array.h b/core/src/fxge/agg/agg23/agg_array.h index f5680d90fe..b3b5f2b877 100644 --- a/core/src/fxge/agg/agg23/agg_array.h +++ b/core/src/fxge/agg/agg23/agg_array.h @@ -18,7 +18,7 @@ #include "agg_basics.h" namespace agg { -template<class T> class pod_array : public CFX_Object +template<class T> class pod_array { public: typedef T value_type; @@ -157,7 +157,7 @@ pod_array<T>::operator = (const pod_array<T>&v) } return *this; } -template<class T, unsigned S = 6> class pod_deque : public CFX_Object +template<class T, unsigned S = 6> class pod_deque { public: enum block_scale_e { @@ -409,7 +409,7 @@ unsigned pod_deque<T, S>::byte_size() const { return m_size * sizeof(T); } -class pod_allocator : public CFX_Object +class pod_allocator { public: void remove_all() diff --git a/core/src/fxge/agg/agg23/agg_basics.h b/core/src/fxge/agg/agg23/agg_basics.h index a78fed8c23..d2fad58feb 100644 --- a/core/src/fxge/agg/agg23/agg_basics.h +++ b/core/src/fxge/agg/agg23/agg_basics.h @@ -58,7 +58,7 @@ enum cover_scale_e { cover_none = 0, cover_full = cover_mask }; -template<class T> struct rect_base : public CFX_Object { +template<class T> struct rect_base { typedef rect_base<T> self_type; T x1; T y1; @@ -257,7 +257,7 @@ inline unsigned set_orientation(unsigned c, unsigned o) c &= ~path_flags_jr; return clear_orientation(c) | o; } -struct point_type : public CFX_Object { +struct point_type { FX_FLOAT x, y; unsigned flag; point_type() {} @@ -271,7 +271,7 @@ struct point_type_flag : public point_type { } point_type_flag(FX_FLOAT x_, FX_FLOAT y_, unsigned flag_ = 0) : point_type(x_, y_), flag(flag_) {} }; -struct vertex_type : public CFX_Object { +struct vertex_type { FX_FLOAT x, y; unsigned cmd; vertex_type() {} diff --git a/core/src/fxge/agg/agg23/agg_conv_adaptor_vcgen.h b/core/src/fxge/agg/agg23/agg_conv_adaptor_vcgen.h index 1cf817a1c7..0d8d6ff99e 100644 --- a/core/src/fxge/agg/agg23/agg_conv_adaptor_vcgen.h +++ b/core/src/fxge/agg/agg23/agg_conv_adaptor_vcgen.h @@ -18,7 +18,7 @@ #include "agg_basics.h" namespace agg { -struct null_markers : public CFX_Object { +struct null_markers { void remove_all() {} void add_vertex(FX_FLOAT, FX_FLOAT, unsigned) {} void prepare_src() {} @@ -30,7 +30,7 @@ struct null_markers : public CFX_Object { }; template<class VertexSource, class Generator, - class Markers = null_markers> class conv_adaptor_vcgen : public CFX_Object + class Markers = null_markers> class conv_adaptor_vcgen { enum status { initial, diff --git a/core/src/fxge/agg/agg23/agg_curves.h b/core/src/fxge/agg/agg23/agg_curves.h index 61270e64a5..495f7a6a8f 100644 --- a/core/src/fxge/agg/agg23/agg_curves.h +++ b/core/src/fxge/agg/agg23/agg_curves.h @@ -19,7 +19,7 @@ #include "agg_array.h" namespace agg { -struct curve4_points : public CFX_Object { +struct curve4_points { FX_FLOAT cp[8]; curve4_points() {} curve4_points(FX_FLOAT x1, FX_FLOAT y1, @@ -59,7 +59,7 @@ struct curve4_points : public CFX_Object { return cp[i]; } }; -class curve4_div : public CFX_Object +class curve4_div { public: curve4_div() : @@ -135,7 +135,7 @@ private: unsigned m_count; pod_deque<point_type> m_points; }; -class curve4 : public CFX_Object +class curve4 { public: curve4() {} diff --git a/core/src/fxge/agg/agg23/agg_path_storage.h b/core/src/fxge/agg/agg23/agg_path_storage.h index 64ea0b4753..dc13851d09 100644 --- a/core/src/fxge/agg/agg23/agg_path_storage.h +++ b/core/src/fxge/agg/agg23/agg_path_storage.h @@ -18,7 +18,7 @@ #include "agg_basics.h" namespace agg { -class path_storage : public CFX_Object +class path_storage { enum block_scale_e { block_shift = 8, @@ -27,7 +27,7 @@ class path_storage : public CFX_Object block_pool = 256 }; public: - class vertex_source : public CFX_Object + class vertex_source { public: vertex_source() {} diff --git a/core/src/fxge/agg/agg23/agg_pixfmt_gray.h b/core/src/fxge/agg/agg23/agg_pixfmt_gray.h index 052a2e35d8..5a80935479 100644 --- a/core/src/fxge/agg/agg23/agg_pixfmt_gray.h +++ b/core/src/fxge/agg/agg23/agg_pixfmt_gray.h @@ -28,7 +28,7 @@ #include "agg_rendering_buffer.h" namespace agg { -template<class ColorT> struct blender_gray : public CFX_Object { +template<class ColorT> struct blender_gray { typedef ColorT color_type; typedef typename color_type::value_type value_type; typedef typename color_type::calc_type calc_type; @@ -40,7 +40,7 @@ template<class ColorT> struct blender_gray : public CFX_Object { } }; template<class Blender, unsigned Step = 1, unsigned Offset = 0> -class pixel_formats_gray : public CFX_Object +class pixel_formats_gray { public: typedef rendering_buffer::row_data row_data; diff --git a/core/src/fxge/agg/agg23/agg_rasterizer_scanline_aa.h b/core/src/fxge/agg/agg23/agg_rasterizer_scanline_aa.h index e9f0defbe8..e06322c24d 100644 --- a/core/src/fxge/agg/agg23/agg_rasterizer_scanline_aa.h +++ b/core/src/fxge/agg/agg23/agg_rasterizer_scanline_aa.h @@ -46,7 +46,7 @@ inline int poly_coord(FX_FLOAT c) { return int(c * poly_base_size); } -struct cell_aa : public CFX_Object { +struct cell_aa { int x; int y; int cover; @@ -56,7 +56,7 @@ struct cell_aa : public CFX_Object { void set_cover(int c, int a); void add_cover(int c, int a); }; -class outline_aa : public CFX_Object +class outline_aa { enum cell_block_scale_e { cell_block_shift = 12, @@ -65,7 +65,7 @@ class outline_aa : public CFX_Object cell_block_pool = 256, cell_block_limit = 1024 }; - struct sorted_y : public CFX_Object { + struct sorted_y { unsigned start; unsigned num; }; @@ -134,7 +134,7 @@ private: int m_max_y; bool m_sorted; }; -class scanline_hit_test : public CFX_Object +class scanline_hit_test { public: scanline_hit_test(int x) : m_x(x), m_hit(false) {} @@ -168,7 +168,7 @@ enum filling_rule_e { fill_non_zero, fill_even_odd }; -class rasterizer_scanline_aa : public CFX_Object +class rasterizer_scanline_aa { enum status { status_initial, diff --git a/core/src/fxge/agg/agg23/agg_renderer_base.h b/core/src/fxge/agg/agg23/agg_renderer_base.h index 3e20a6d408..bd1b203b9a 100644 --- a/core/src/fxge/agg/agg23/agg_renderer_base.h +++ b/core/src/fxge/agg/agg23/agg_renderer_base.h @@ -23,7 +23,7 @@ #include "agg_rendering_buffer.h" namespace agg { -template<class PixelFormat> class renderer_base : public CFX_Object +template<class PixelFormat> class renderer_base { public: typedef PixelFormat pixfmt_type; diff --git a/core/src/fxge/agg/agg23/agg_renderer_scanline.h b/core/src/fxge/agg/agg23/agg_renderer_scanline.h index b02b6b5f66..62d104f7f2 100644 --- a/core/src/fxge/agg/agg23/agg_renderer_scanline.h +++ b/core/src/fxge/agg/agg23/agg_renderer_scanline.h @@ -20,7 +20,7 @@ #include "agg_render_scanlines.h" namespace agg { -template<class BaseRenderer, class SpanGenerator> class renderer_scanline_aa : public CFX_Object +template<class BaseRenderer, class SpanGenerator> class renderer_scanline_aa { public: typedef BaseRenderer base_ren_type; diff --git a/core/src/fxge/agg/agg23/agg_rendering_buffer.h b/core/src/fxge/agg/agg23/agg_rendering_buffer.h index 5a8681b537..9c1c0c6899 100644 --- a/core/src/fxge/agg/agg23/agg_rendering_buffer.h +++ b/core/src/fxge/agg/agg23/agg_rendering_buffer.h @@ -22,17 +22,17 @@ #include "agg_basics.h" namespace agg { -class rendering_buffer : public CFX_Object +class rendering_buffer { public: - struct row_data : public CFX_Object { + struct row_data { int x1, x2; const int8u* ptr; row_data() {} row_data(int x1_, int x2_, const int8u* ptr_) : x1(x1_), x2(x2_), ptr(ptr_) {} }; - struct span_data : public CFX_Object { + struct span_data { int x; unsigned len; int8u* ptr; diff --git a/core/src/fxge/agg/agg23/agg_scanline_u.h b/core/src/fxge/agg/agg23/agg_scanline_u.h index f99feef91c..5b132907fd 100644 --- a/core/src/fxge/agg/agg23/agg_scanline_u.h +++ b/core/src/fxge/agg/agg23/agg_scanline_u.h @@ -26,13 +26,13 @@ #include "agg_array.h" namespace agg { -template<class CoverT> class scanline_u : public CFX_Object +template<class CoverT> class scanline_u { public: typedef scanline_u<CoverT> self_type; typedef CoverT cover_type; typedef int16 coord_type; - struct span : public CFX_Object { + struct span { coord_type x; coord_type len; cover_type* covers; diff --git a/core/src/fxge/agg/agg23/agg_vcgen_dash.h b/core/src/fxge/agg/agg23/agg_vcgen_dash.h index 961da2d718..9c3aa630c2 100644 --- a/core/src/fxge/agg/agg23/agg_vcgen_dash.h +++ b/core/src/fxge/agg/agg23/agg_vcgen_dash.h @@ -23,7 +23,7 @@ #include "agg_vertex_sequence.h" namespace agg { -class vcgen_dash : public CFX_Object +class vcgen_dash { enum max_dashes_e { max_dashes = 32 diff --git a/core/src/fxge/agg/agg23/agg_vcgen_stroke.h b/core/src/fxge/agg/agg23/agg_vcgen_stroke.h index 38fe1fc25d..84fadd6ed8 100644 --- a/core/src/fxge/agg/agg23/agg_vcgen_stroke.h +++ b/core/src/fxge/agg/agg23/agg_vcgen_stroke.h @@ -18,7 +18,7 @@ #include "agg_math_stroke.h" namespace agg { -class vcgen_stroke : public CFX_Object +class vcgen_stroke { enum status_e { initial, diff --git a/core/src/fxge/agg/agg23/agg_vertex_sequence.h b/core/src/fxge/agg/agg23/agg_vertex_sequence.h index 29486d4787..6600bf2085 100644 --- a/core/src/fxge/agg/agg23/agg_vertex_sequence.h +++ b/core/src/fxge/agg/agg23/agg_vertex_sequence.h @@ -70,7 +70,7 @@ void vertex_sequence<T, S>::close(bool closed) } } const FX_FLOAT vertex_dist_epsilon = 1e-14f; -struct vertex_dist : public CFX_Object { +struct vertex_dist { FX_FLOAT x; FX_FLOAT y; FX_FLOAT dist; diff --git a/core/src/fxge/agg/agg23/fx_agg_driver.cpp b/core/src/fxge/agg/agg23/fx_agg_driver.cpp index 8cea42d661..5944332fd8 100644 --- a/core/src/fxge/agg/agg23/fx_agg_driver.cpp +++ b/core/src/fxge/agg/agg23/fx_agg_driver.cpp @@ -369,7 +369,7 @@ FX_BOOL CFX_AggDeviceDriver::SetClip_PathStroke(const CFX_PathData* pPathData, SetClipMask(rasterizer); return TRUE; } -class CFX_Renderer : public CFX_Object +class CFX_Renderer { private: int m_Alpha, diff --git a/core/src/fxge/agg/include/fx_agg_driver.h b/core/src/fxge/agg/include/fx_agg_driver.h index c3411905b9..c87fc246be 100644 --- a/core/src/fxge/agg/include/fx_agg_driver.h +++ b/core/src/fxge/agg/include/fx_agg_driver.h @@ -8,7 +8,7 @@ #define _FX_AGG_DEVICE_DRIVER_ #include "fxfx_agg_path_storage.h" #include "fxfx_agg_rasterizer_scanline_aa.h" -class CAgg_PathData : public CFX_Object +class CAgg_PathData { public: CAgg_PathData() {} diff --git a/core/src/fxge/android/fpf_skiafont.h b/core/src/fxge/android/fpf_skiafont.h index 1d1073c1fe..4285e13554 100644 --- a/core/src/fxge/android/fpf_skiafont.h +++ b/core/src/fxge/android/fpf_skiafont.h @@ -10,7 +10,7 @@ class CFPF_SkiaFontDescriptor; class CFPF_SkiaFontMgr; class SkTypeface; -class CFPF_SkiaFont : public IFPF_Font, public CFX_Object +class CFPF_SkiaFont : public IFPF_Font { public: CFPF_SkiaFont(); diff --git a/core/src/fxge/android/fpf_skiafontmgr.h b/core/src/fxge/android/fpf_skiafontmgr.h index 472fbbd416..1ec4a1d678 100644 --- a/core/src/fxge/android/fpf_skiafontmgr.h +++ b/core/src/fxge/android/fpf_skiafontmgr.h @@ -11,7 +11,7 @@ #define FPF_SKIAFONTTYPE_Path 1 #define FPF_SKIAFONTTYPE_File 2 #define FPF_SKIAFONTTYPE_Buffer 3 -class CFPF_SkiaFontDescriptor : public CFX_Object +class CFPF_SkiaFontDescriptor { public: CFPF_SkiaFontDescriptor() : m_pFamily(NULL), m_dwStyle(0), m_iFaceIndex(0), m_dwCharsets(0), m_iGlyphNum(0) {} @@ -88,7 +88,7 @@ public: FX_LPVOID m_pBuffer; size_t m_szBuffer; }; -class CFPF_SkiaFontMgr : public IFPF_FontMgr, public CFX_Object +class CFPF_SkiaFontMgr : public IFPF_FontMgr { public: CFPF_SkiaFontMgr(); diff --git a/core/src/fxge/android/fpf_skiamodule.h b/core/src/fxge/android/fpf_skiamodule.h index c3a78bf658..7f5375172a 100644 --- a/core/src/fxge/android/fpf_skiamodule.h +++ b/core/src/fxge/android/fpf_skiamodule.h @@ -8,7 +8,7 @@ #define _FPF_MODULE_H_ #if _FX_OS_ == _FX_ANDROID_ class CFPF_SkiaFontMgr; -class CFPF_SkiaDeviceModule : public IFPF_DeviceModule, public CFX_Object +class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { public: CFPF_SkiaDeviceModule() : m_pFontMgr(NULL) {} diff --git a/core/src/fxge/apple/apple_int.h b/core/src/fxge/apple/apple_int.h index e3794159b8..6d8260c60f 100644 --- a/core/src/fxge/apple/apple_int.h +++ b/core/src/fxge/apple/apple_int.h @@ -61,7 +61,7 @@ public: void saveGraphicsState(void* graphics); void restoreGraphicsState(void* graphics); }; -class CApplePlatform : public CFX_Object +class CApplePlatform { public: CApplePlatform() diff --git a/core/src/fxge/dib/dib_int.h b/core/src/fxge/dib/dib_int.h index 19dc358133..844c3566ce 100644 --- a/core/src/fxge/dib/dib_int.h +++ b/core/src/fxge/dib/dib_int.h @@ -7,7 +7,7 @@ #ifndef _DIB_INT_H_ #define _DIB_INT_H_ -class CPDF_FixedMatrix : public CFX_Object +class CPDF_FixedMatrix { public: CPDF_FixedMatrix(const CFX_AffineMatrix& src, int bits) @@ -34,7 +34,7 @@ struct PixelWeight { int m_SrcEnd; int m_Weights[1]; }; -class CWeightTable : public CFX_Object +class CWeightTable { public: CWeightTable() @@ -56,7 +56,7 @@ public: int m_DestMin, m_ItemSize; FX_LPBYTE m_pWeightTables; }; -class CStretchEngine : public CFX_Object +class CStretchEngine { public: CStretchEngine(IFX_ScanlineComposer* pDestBitmap, FXDIB_Format dest_format, diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp index ddc24cc4ad..cfcbc707cd 100644 --- a/core/src/fxge/dib/fx_dib_convert.cpp +++ b/core/src/fxge/dib/fx_dib_convert.cpp @@ -97,7 +97,7 @@ const FX_DWORD g_dwMacPalette[256] = { 0xffEEEEEE, 0xffDDDDDD, 0xffBBBBBB, 0xffAAAAAA, 0xff888888, 0xff777777, 0xff555555, 0xff444444, 0xff222222, 0xff111111, 0xff000000 }; -class CFX_Palette : public CFX_Object +class CFX_Palette { public: CFX_Palette(); diff --git a/core/src/fxge/ge/fx_ge_ps.cpp b/core/src/fxge/ge/fx_ge_ps.cpp index d664b706b0..9da224602e 100644 --- a/core/src/fxge/ge/fx_ge_ps.cpp +++ b/core/src/fxge/ge/fx_ge_ps.cpp @@ -13,7 +13,7 @@ struct PSGlyph { FX_BOOL m_bGlyphAdjust; FX_FLOAT m_AdjustMatrix[4]; }; -class CPSFont : public CFX_Object +class CPSFont { public: PSGlyph m_Glyphs[256]; diff --git a/core/src/fxge/ge/text_int.h b/core/src/fxge/ge/text_int.h index c8d55965e3..d6b794a800 100644 --- a/core/src/fxge/ge/text_int.h +++ b/core/src/fxge/ge/text_int.h @@ -12,7 +12,7 @@ struct _CFX_UniqueKeyGen { FX_CHAR m_Key[128]; int m_KeyLen; }; -class CFX_SizeGlyphCache : public CFX_Object +class CFX_SizeGlyphCache { public: CFX_SizeGlyphCache() @@ -22,7 +22,7 @@ public: ~CFX_SizeGlyphCache(); CFX_MapPtrToPtr m_GlyphMap; }; -class CTTFontDesc : public CFX_Object +class CTTFontDesc { public: CTTFontDesc() @@ -74,7 +74,7 @@ private: #define CHARSET_FLAG_BIG5 8 #define CHARSET_FLAG_GB 16 #define CHARSET_FLAG_KOREAN 32 -class CFontFaceInfo : public CFX_Object +class CFontFaceInfo { public: CFX_ByteString m_FilePath; @@ -85,7 +85,7 @@ public: FX_DWORD m_FileSize; CFX_ByteString m_FontTables; }; -class CFontFileFaceInfo : public CFX_Object +class CFontFileFaceInfo { public: CFontFileFaceInfo(); diff --git a/core/src/fxge/skia/fx_skia_blitter_new.h b/core/src/fxge/skia/fx_skia_blitter_new.h index 6482832fe9..84fe89dce6 100644 --- a/core/src/fxge/skia/fx_skia_blitter_new.h +++ b/core/src/fxge/skia/fx_skia_blitter_new.h @@ -6,7 +6,7 @@ #define _FX_SKIABLITTER_H_ //#define _SKIA_SUPPORT_ #if defined(_SKIA_SUPPORT_) -class CFX_SkiaRenderer : public SkBlitter, public CFX_Object +class CFX_SkiaRenderer : public SkBlitter { protected: int m_Alpha, @@ -208,7 +208,7 @@ public: FX_BOOL Init(CFX_DIBitmap* pDevice, CFX_DIBitmap* pOriDevice, const CFX_ClipRgn* pClipRgn, FX_DWORD color, FX_BOOL bFullCover, FX_BOOL bRgbByteOrder, int alpha_flag = 0, void* pIccTransform = NULL); //The alpha flag must be fill_flag if exist. }; -class CFX_SkiaA8Renderer : public SkBlitter, public CFX_Object +class CFX_SkiaA8Renderer : public SkBlitter { public: //-------------------------------------------------------------------- @@ -226,4 +226,4 @@ public: int m_dstHeight; }; #endif -#endif
\ No newline at end of file +#endif diff --git a/core/src/fxge/skia/fx_skia_device.cpp b/core/src/fxge/skia/fx_skia_device.cpp index 00fe228476..6c329eee4e 100644 --- a/core/src/fxge/skia/fx_skia_device.cpp +++ b/core/src/fxge/skia/fx_skia_device.cpp @@ -117,7 +117,7 @@ void SuperBlitter_skia::DrawPath(const SkPath& srcPath, SkBlitter* blitter, cons proc(*devPathPtr, rect, blitter); } -class CSkia_PathData : public CFX_Object +class CSkia_PathData { public: CSkia_PathData() {} diff --git a/core/src/fxge/win32/fx_win32_dwrite.cpp b/core/src/fxge/win32/fx_win32_dwrite.cpp index 2b32d572b5..1ad4f8c457 100644 --- a/core/src/fxge/win32/fx_win32_dwrite.cpp +++ b/core/src/fxge/win32/fx_win32_dwrite.cpp @@ -26,7 +26,7 @@ inline InterfaceType* SafeAcquire(InterfaceType* newObject) } return newObject; } -class CDwFontFileStream FX_FINAL : public IDWriteFontFileStream, public CFX_Object +class CDwFontFileStream FX_FINAL : public IDWriteFontFileStream { public: explicit CDwFontFileStream(void const* fontFileReferenceKey, UINT32 fontFileReferenceKeySize); @@ -46,7 +46,7 @@ private: void const* resourcePtr_; DWORD resourceSize_; }; -class CDwFontFileLoader FX_FINAL : public IDWriteFontFileLoader, public CFX_Object +class CDwFontFileLoader FX_FINAL : public IDWriteFontFileLoader { public: virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void** ppvObject); @@ -71,7 +71,7 @@ private: ULONG refCount_; static IDWriteFontFileLoader* instance_; }; -class CDwFontContext : public CFX_Object +class CDwFontContext { public: CDwFontContext(IDWriteFactory* dwriteFactory); @@ -83,7 +83,7 @@ private: HRESULT hr_; IDWriteFactory* dwriteFactory_; }; -class CDwGdiTextRenderer : public CFX_Object +class CDwGdiTextRenderer { public: CDwGdiTextRenderer( diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp index 0f13721c70..e668b49200 100644 --- a/core/src/fxge/win32/fx_win32_gdipext.cpp +++ b/core/src/fxge/win32/fx_win32_gdipext.cpp @@ -1008,7 +1008,7 @@ BOOL CGdiplusExt::DrawPath(HDC hDC, const CFX_PathData* pPathData, CallFunc(GdipDeleteGraphics)(pGraphics); return TRUE; } -class GpStream FX_FINAL : public IStream, public CFX_Object +class GpStream FX_FINAL : public IStream { LONG m_RefCount; int m_ReadPos; diff --git a/core/src/fxge/win32/win32_int.h b/core/src/fxge/win32/win32_int.h index 83595cbf8d..bc3eb878d9 100644 --- a/core/src/fxge/win32/win32_int.h +++ b/core/src/fxge/win32/win32_int.h @@ -58,7 +58,7 @@ protected: HMODULE m_GdiModule; }; #include "dwrite_int.h" -class CWin32Platform : public CFX_Object +class CWin32Platform { public: FX_BOOL m_bHalfTone; @@ -164,7 +164,7 @@ protected: int m_HorzSize, m_VertSize; FX_BOOL m_bSupportROP; }; -class CPSOutput : public IFX_PSOutput, public CFX_Object +class CPSOutput : public IFX_PSOutput { public: CPSOutput(HDC hDC); |