App:Library:FabGL:Class:BitmappedDisplayController

提供: robot-jp wiki
ナビゲーションに移動検索に移動

class BitmappedDisplayController

ビットマップ表示コントローラーの基本抽象クラスを表します。

#include <displaycontroller.h>

BitmappedDisplayController の継承図。

   BaseDisplayController     

        ↑

   BitmappedDisplayController

Public Member Functions

virtual int colorsCount ()=0
Determines number of colors this display can provide.
DisplayControllerType controllerType ()
Determines the display controller type.
void enableBackgroundPrimitiveExecution (bool value)
Enables or disables drawings inside vertical retracing time.
void enableBackgroundPrimitiveTimeout (bool value)
Enables or disables execution time limitation inside vertical retracing interrupt.
int getScreenHeight ()
Determines the screen height in pixels.
int getScreenWidth ()
Determines the screen width in pixels.
virtual int getViewPortHeight ()=0
Determines vertical size of the viewport.
virtual int getViewPortWidth ()=0
Determines horizontal size of the viewport.
bool isDoubleBuffered ()
Determines whether BitmappedDisplayController is on double buffered mode.
virtual NativePixelFormat nativePixelFormat ()=0
Represents the native pixel format used by this display.
void processPrimitives ()
Draws immediately all primitives in the queue.
void refreshSprites ()
Forces the sprites to be updated.
void removeSprites ()
Empties the list of active sprites.
virtual void resumeBackgroundPrimitiveExecution ()=0
Resumes drawings after suspendBackgroundPrimitiveExecution().
void setMouseCursor (Cursor *cursor)
Sets mouse cursor and make it visible.
void setMouseCursor (CursorName cursorName)
Sets mouse cursor from a set of predefined cursors.
void setMouseCursorPos (int X, int Y)
Sets mouse cursor position.
template<typename T >

void setSprites (T *sprites, int count)

Sets the list of active sprites.
virtual void suspendBackgroundPrimitiveExecution ()=0
Suspends drawings.

Static Public Attributes

static int queueSize = 1024
Size of display controller primitives queue.

Detailed Description

ビットマップ表示コントローラーの基本抽象クラスを表します。

Examples:
VGA/AnsiTerminal/AnsiTerminal.ino.

Definition at line 737 of file displaycontroller.h.


このクラスのドキュメントは、次のファイルから生成されました。



戻る