TBSystem is porting interface for the underlaying OS.
More...
#include <tb_system.h>
TBSystem is porting interface for the underlaying OS.
static int tb::TBSystem::GetDPI |
( |
| ) |
|
|
static |
Get Dots Per Inch for the main screen.
static int tb::TBSystem::GetLongClickDelayMS |
( |
| ) |
|
|
static |
Get how many milliseconds it should take after a touch down event should generate a long click event.
static int tb::TBSystem::GetPanThreshold |
( |
| ) |
|
|
static |
Get how many pixels of dragging should start panning scrollable widgets.
static int tb::TBSystem::GetPixelsPerLine |
( |
| ) |
|
|
static |
Get how many pixels a typical line is: The length that should be scrolled when turning a mouse wheel one notch.
static double tb::TBSystem::GetTimeMS |
( |
| ) |
|
|
static |
Get the system time in milliseconds since some undefined epoch.
static void tb::TBSystem::RescheduleTimer |
( |
double |
fire_time | ) |
|
|
static |
Called when the need to call TBMessageHandler::ProcessMessages has changed due to changes in the message queue.
fire_time is the new time is needs to be called. It may be 0 which means that ProcessMessages should be called asap (but NOT from this call!) It may also be TB_NOT_SOON which means that ProcessMessages doesn't need to be called.
static void tb::TBSystem::SetDPI |
( |
int |
dpi | ) |
|
|
static |
Set Dots Per Inch for the main screen.
The documentation for this class was generated from the following file:
- /ms/mdata2/tesch/home/src/turbobadger/src/tb/tb_system.h