Lines 30-36
struct TScreenFont256
Link Here
|
30 |
|
30 |
|
31 |
struct TScreenResolution |
31 |
struct TScreenResolution |
32 |
{ |
32 |
{ |
33 |
unsigned x,y; |
33 |
int x,y; |
34 |
}; |
34 |
}; |
35 |
|
35 |
|
36 |
// Type for the callback called when the driver needs a new font. |
36 |
// Type for the callback called when the driver needs a new font. |
Lines 152-158
public:
Link Here
|
152 |
static Boolean setDontMoveHiddenCursor(Boolean value); |
152 |
static Boolean setDontMoveHiddenCursor(Boolean value); |
153 |
static Boolean getDontMoveHiddenCursor() { return opts1 & DontMoveHiddenCursor ? True : False; }; |
153 |
static Boolean getDontMoveHiddenCursor() { return opts1 & DontMoveHiddenCursor ? True : False; }; |
154 |
// Helper to look for the closest resolution from a list |
154 |
// Helper to look for the closest resolution from a list |
155 |
static Boolean searchClosestRes(TScreenResolution *res, unsigned x, unsigned y, |
155 |
static Boolean searchClosestRes(TScreenResolution *res, int x, int y, |
156 |
unsigned cant, unsigned &pos); |
156 |
unsigned cant, unsigned &pos); |
157 |
// Returns the default palette |
157 |
// Returns the default palette |
158 |
static const TScreenColor *getDefaultPalette() { return PC_BIOSPalette; } |
158 |
static const TScreenColor *getDefaultPalette() { return PC_BIOSPalette; } |