mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
Don't force inline on big funcs if you don't have to (in this case, it added 24k to the binary size for no good reason)
svn-id: r34783
This commit is contained in:
parent
7cc871b84f
commit
1b3952fbab
@ -649,15 +649,15 @@ protected:
|
||||
*
|
||||
* This function is called from all the Widget Drawing methods.
|
||||
*/
|
||||
inline void queueDD(DrawData type, const Common::Rect &r, uint32 dynamic = 0);
|
||||
inline void queueDDText(TextData type, const Common::Rect &r, const Common::String &text, bool restoreBg,
|
||||
void queueDD(DrawData type, const Common::Rect &r, uint32 dynamic = 0);
|
||||
void queueDDText(TextData type, const Common::Rect &r, const Common::String &text, bool restoreBg,
|
||||
bool elipsis, TextAlign alignH = kTextAlignLeft, TextAlignVertical alignV = kTextAlignVTop, int deltax = 0);
|
||||
inline void queueBitmap(const Graphics::Surface *bitmap, const Common::Rect &r, bool alpha);
|
||||
void queueBitmap(const Graphics::Surface *bitmap, const Common::Rect &r, bool alpha);
|
||||
|
||||
/**
|
||||
* DEBUG: Draws a white square around the given position and writes the given next to it.
|
||||
*/
|
||||
inline void debugWidgetPosition(const char *name, const Common::Rect &r);
|
||||
void debugWidgetPosition(const char *name, const Common::Rect &r);
|
||||
|
||||
|
||||
/**
|
||||
@ -728,7 +728,7 @@ protected:
|
||||
bool _useCursor;
|
||||
int _cursorHotspotX, _cursorHotspotY;
|
||||
int _cursorTargetScale;
|
||||
#define MAX_CURS_COLORS 255
|
||||
enum { MAX_CURS_COLORS = 255 };
|
||||
byte *_cursor;
|
||||
bool _needPaletteUpdates;
|
||||
uint _cursorWidth, _cursorHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user