mirror of https://github.com/encounter/SDL.git
Remove redundant dependency to bitdraw.h, minor cleanup
This commit is contained in:
parent
d09edcbcac
commit
afbafc2aef
|
@ -30,7 +30,16 @@
|
||||||
#include <e32svr.h>
|
#include <e32svr.h>
|
||||||
#include <bitdev.h>
|
#include <bitdev.h>
|
||||||
#include <w32std.h>
|
#include <w32std.h>
|
||||||
#include <bitdraw.h> // CFbsDrawDevice
|
|
||||||
|
class CFbsDrawDevice : public CBase
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
public:
|
||||||
|
IMPORT_C static CFbsDrawDevice* NewScreenDeviceL(TScreenInfoV01 aInfo,TDisplayMode aDispMode);
|
||||||
|
public:
|
||||||
|
virtual void Update() {}
|
||||||
|
virtual void UpdateRegion(const TRect&) {}
|
||||||
|
};
|
||||||
|
|
||||||
#define _THIS SDL_VideoDevice *_this
|
#define _THIS SDL_VideoDevice *_this
|
||||||
|
|
||||||
|
@ -46,10 +55,7 @@ typedef struct SDL_VideoData
|
||||||
TRequestStatus NGAGE_WsEventStatus;
|
TRequestStatus NGAGE_WsEventStatus;
|
||||||
TRequestStatus NGAGE_RedrawEventStatus;
|
TRequestStatus NGAGE_RedrawEventStatus;
|
||||||
TWsEvent NGAGE_WsEvent;
|
TWsEvent NGAGE_WsEvent;
|
||||||
//TWsRedrawEvent NGAGE_RedrawEvent;
|
|
||||||
|
|
||||||
CFbsDrawDevice* NGAGE_DrawDevice;
|
CFbsDrawDevice* NGAGE_DrawDevice;
|
||||||
|
|
||||||
TBool NGAGE_IsWindowFocused; /* Not used yet */
|
TBool NGAGE_IsWindowFocused; /* Not used yet */
|
||||||
|
|
||||||
/* Screen hardware frame buffer info */
|
/* Screen hardware frame buffer info */
|
||||||
|
@ -64,10 +70,6 @@ typedef struct SDL_VideoData
|
||||||
|
|
||||||
CFbsBitGc::TGraphicsOrientation NGAGE_ScreenOrientation;
|
CFbsBitGc::TGraphicsOrientation NGAGE_ScreenOrientation;
|
||||||
|
|
||||||
/* Simulate double screen height */
|
|
||||||
//TInt NGAGE_ScreenXScaleValue;
|
|
||||||
//TInt NGAGE_ScreenYScaleValue;
|
|
||||||
|
|
||||||
} SDL_VideoData;
|
} SDL_VideoData;
|
||||||
|
|
||||||
#endif /* _SDL_ngagevideo_h */
|
#endif /* _SDL_ngagevideo_h */
|
||||||
|
|
Loading…
Reference in New Issue