「App:Library:FabGL:Class:BitmappedDisplayController」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動17行目: | 17行目: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | |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. | ||
+ | |- | ||
+ | |void setSprites (T *sprites, int count) | ||
+ | :Sets the list of active sprites. | ||
+ | |- | ||
+ | |virtual void suspendBackgroundPrimitiveExecution ()=0 | ||
+ | :Suspends drawings. | ||
|} | |} | ||
2022年3月22日 (火) 22:09時点における版
class BitmappedDisplayController
ビットマップ表示コントローラーの基本抽象クラスを表します。
#include <displaycontroller.h> |
BitmappedDisplayController の継承図。
BaseDisplayController
↑ BitmappedDisplayController |
Public Member Functions
virtual int colorsCount ()=0
|
DisplayControllerType controllerType ()
|
void enableBackgroundPrimitiveExecution (bool value)
|
void enableBackgroundPrimitiveTimeout (bool value)
|
int getScreenHeight ()
|
int getScreenWidth ()
|
virtual int getViewPortHeight ()=0
|
virtual int getViewPortWidth ()=0
|
bool isDoubleBuffered ()
|
virtual NativePixelFormat nativePixelFormat ()=0
|
void processPrimitives ()
|
void refreshSprites ()
|
void removeSprites ()
|
virtual void resumeBackgroundPrimitiveExecution ()=0
|
void setMouseCursor (Cursor *cursor)
|
void setMouseCursor (CursorName cursorName)
|
void setMouseCursorPos (int X, int Y)
|
void setSprites (T *sprites, int count)
|
virtual void suspendBackgroundPrimitiveExecution ()=0
|
Static Public Attributes
Detailed Description
Represents the base abstract class for bitmapped display controllers.
- Examples:
- VGA/AnsiTerminal/AnsiTerminal.ino.
Definition at line 737 of file displaycontroller.h.
このクラスのドキュメントは、次のファイルから生成されました。
- displaycontroller.h
- displaycontroller.cpp