「App:Library:FabGL:Class:BitmappedDisplayController」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動(同じ利用者による、間の5版が非表示) | |||
2行目: | 2行目: | ||
ビットマップ表示コントローラーの基本抽象クラスを表します。 | ビットマップ表示コントローラーの基本抽象クラスを表します。 | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |#include <[http://www.fabglib.org/displaycontroller_8h_source.html | + | |#include <[http://www.fabglib.org/displaycontroller_8h_source.html displaycontroller.h]> |
|} | |} | ||
17行目: | 17行目: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | |virtual int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a332051b311781945a020928d50825adc.html#a332051b311781945a020928d50825adc | + | |virtual int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a332051b311781945a020928d50825adc.html#a332051b311781945a020928d50825adc colorsCount] ()=0 |
:Determines number of colors this display can provide. | :Determines number of colors this display can provide. | ||
|- | |- | ||
− | |[http://www.fabglib.org/group___enumerations_gadb8147abda8588ce7306a700532148e1.html#gadb8147abda8588ce7306a700532148e1 | + | |[http://www.fabglib.org/group___enumerations_gadb8147abda8588ce7306a700532148e1.html#gadb8147abda8588ce7306a700532148e1 DisplayControllerType] [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a2337a67770ebd18e0ced22ba40d79d24.html#a2337a67770ebd18e0ced22ba40d79d24 controllerType] () |
:Determines the display controller type. | :Determines the display controller type. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_abd0898e61591117a7b8dce2fa4b4c4d4.html#abd0898e61591117a7b8dce2fa4b4c4d4 | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_abd0898e61591117a7b8dce2fa4b4c4d4.html#abd0898e61591117a7b8dce2fa4b4c4d4 enableBackgroundPrimitiveExecution] (bool value) |
:Enables or disables drawings inside vertical retracing time. | :Enables or disables drawings inside vertical retracing time. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a1a03e74ed2fb8e2af22e7fd0454ae828.html#a1a03e74ed2fb8e2af22e7fd0454ae828 | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a1a03e74ed2fb8e2af22e7fd0454ae828.html#a1a03e74ed2fb8e2af22e7fd0454ae828 enableBackgroundPrimitiveTimeout] (bool value) |
:Enables or disables execution time limitation inside vertical retracing interrupt. | :Enables or disables execution time limitation inside vertical retracing interrupt. | ||
|- | |- | ||
− | |int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a0872427e4a351bb3590e8d00096e9cba.html#a0872427e4a351bb3590e8d00096e9cba | + | |int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a0872427e4a351bb3590e8d00096e9cba.html#a0872427e4a351bb3590e8d00096e9cba getScreenHeight] () |
:Determines the screen height in pixels. | :Determines the screen height in pixels. | ||
|- | |- | ||
− | |int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a749df909b39fd096bf6e2813f2f5324c.html#a749df909b39fd096bf6e2813f2f5324c | + | |int [http://www.fabglib.org/classfabgl_1_1_base_display_controller_a749df909b39fd096bf6e2813f2f5324c.html#a749df909b39fd096bf6e2813f2f5324c getScreenWidth] () |
:Determines the screen width in pixels. | :Determines the screen width in pixels. | ||
|- | |- | ||
− | |virtual int [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ada5f99a696a06cbd96b2b86d1e78878a.html#ada5f99a696a06cbd96b2b86d1e78878a | + | |virtual int [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ada5f99a696a06cbd96b2b86d1e78878a.html#ada5f99a696a06cbd96b2b86d1e78878a getViewPortHeight] ()=0 |
:Determines vertical size of the viewport. | :Determines vertical size of the viewport. | ||
|- | |- | ||
− | |virtual int [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a9274060e33708f97a1d77ca37f7bf0a8.html#a9274060e33708f97a1d77ca37f7bf0a8 | + | |virtual int [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a9274060e33708f97a1d77ca37f7bf0a8.html#a9274060e33708f97a1d77ca37f7bf0a8 getViewPortWidth] ()=0 |
:Determines horizontal size of the viewport. | :Determines horizontal size of the viewport. | ||
|- | |- | ||
− | |bool [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a37da1545d5037b279fbb10c622121427.html#a37da1545d5037b279fbb10c622121427 | + | |bool [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a37da1545d5037b279fbb10c622121427.html#a37da1545d5037b279fbb10c622121427 isDoubleBuffered] () |
− | :Determines whether [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller.html | + | :Determines whether [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller.html BitmappedDisplayController] is on double buffered mode. |
|- | |- | ||
− | |virtual [http://www.fabglib.org/group___enumerations_ga03403b592cc00776d70bc5ad6c177276.html#ga03403b592cc00776d70bc5ad6c177276 | + | |virtual [http://www.fabglib.org/group___enumerations_ga03403b592cc00776d70bc5ad6c177276.html#ga03403b592cc00776d70bc5ad6c177276 NativePixelFormat] [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_adc1527381cd987281396cd3d894b73b1.html#adc1527381cd987281396cd3d894b73b1 nativePixelFormat] ()=0 |
:Represents the native pixel format used by this display. | :Represents the native pixel format used by this display. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a94887c6019244300620e71d52e61a554.html#a94887c6019244300620e71d52e61a554 | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a94887c6019244300620e71d52e61a554.html#a94887c6019244300620e71d52e61a554 processPrimitives] () |
:Draws immediately all primitives in the queue. | :Draws immediately all primitives in the queue. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_aeb689cfc2364a4d66e3ac3368146c70d.html#aeb689cfc2364a4d66e3ac3368146c70d | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_aeb689cfc2364a4d66e3ac3368146c70d.html#aeb689cfc2364a4d66e3ac3368146c70d refreshSprites] () |
:Forces the sprites to be updated. | :Forces the sprites to be updated. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ad968eec19f2e3663a5431b96894636df.html#ad968eec19f2e3663a5431b96894636df | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ad968eec19f2e3663a5431b96894636df.html#ad968eec19f2e3663a5431b96894636df removeSprites] () |
:Empties the list of active sprites. | :Empties the list of active sprites. | ||
|- | |- | ||
− | |virtual void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5e5288dfa4b4cdcb9380711da9fa1e65.html#a5e5288dfa4b4cdcb9380711da9fa1e65 | + | |virtual void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5e5288dfa4b4cdcb9380711da9fa1e65.html#a5e5288dfa4b4cdcb9380711da9fa1e65 resumeBackgroundPrimitiveExecution] ()=0 |
− | :Resumes drawings after [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5ccd64740850569f8c59d7c83c7590c4.html#a5ccd64740850569f8c59d7c83c7590c4 | + | :Resumes drawings after [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5ccd64740850569f8c59d7c83c7590c4.html#a5ccd64740850569f8c59d7c83c7590c4 suspendBackgroundPrimitiveExecution()]. |
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a94fd39f8c9245ed51545f9dd6ce7f6ee.html#a94fd39f8c9245ed51545f9dd6ce7f6ee | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a94fd39f8c9245ed51545f9dd6ce7f6ee.html#a94fd39f8c9245ed51545f9dd6ce7f6ee setMouseCursor] ([http://www.fabglib.org/structfabgl_1_1_cursor.html Cursor] *cursor) |
:Sets mouse cursor and make it visible. | :Sets mouse cursor and make it visible. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a43a95ed39cce3e065407d1e7a30b2f4f.html#a43a95ed39cce3e065407d1e7a30b2f4f setMouseCursor] ([http://www.fabglib.org/group___enumerations_gab91da6221ce0fc3b24f077fb4b775b2c.html#gab91da6221ce0fc3b24f077fb4b775b2c | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a43a95ed39cce3e065407d1e7a30b2f4f.html#a43a95ed39cce3e065407d1e7a30b2f4f setMouseCursor] ([http://www.fabglib.org/group___enumerations_gab91da6221ce0fc3b24f077fb4b775b2c.html#gab91da6221ce0fc3b24f077fb4b775b2c CursorName] cursorName) |
:Sets mouse cursor from a set of predefined cursors. | :Sets mouse cursor from a set of predefined cursors. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ae0897f2355f7462b5ab003083418e3b4.html#ae0897f2355f7462b5ab003083418e3b4 | + | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_ae0897f2355f7462b5ab003083418e3b4.html#ae0897f2355f7462b5ab003083418e3b4 setMouseCursorPos] (int [http://www.fabglib.org/fabutils_8h_aa6aba27bc1a89db9e350b50bbf881f57.html#aa6aba27bc1a89db9e350b50bbf881f57 X], int [http://www.fabglib.org/fabutils_8h_abe4637362df8e341470401813999dd17.html#abe4637362df8e341470401813999dd17 Y]) |
:Sets mouse cursor position. | :Sets mouse cursor position. | ||
|- | |- | ||
− | |void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a75ba732cc6ae90f53757b588f6c75d7e.html#a75ba732cc6ae90f53757b588f6c75d7e | + | |<small>template<typename T ></small> |
+ | void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a75ba732cc6ae90f53757b588f6c75d7e.html#a75ba732cc6ae90f53757b588f6c75d7e setSprites] (T *sprites, int count) | ||
:Sets the list of active sprites. | :Sets the list of active sprites. | ||
|- | |- | ||
− | |virtual void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5ccd64740850569f8c59d7c83c7590c4.html#a5ccd64740850569f8c59d7c83c7590c4 | + | |virtual void [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a5ccd64740850569f8c59d7c83c7590c4.html#a5ccd64740850569f8c59d7c83c7590c4 suspendBackgroundPrimitiveExecution] ()=0 |
:Suspends drawings. | :Suspends drawings. | ||
|} | |} | ||
== Static Public Attributes == | == Static Public Attributes == | ||
+ | {| class="wikitable" | ||
+ | |static int [http://www.fabglib.org/classfabgl_1_1_bitmapped_display_controller_a6b94fdf3692083a41291eec4920c62d2.html#a6b94fdf3692083a41291eec4920c62d2 queueSize] = 1024 | ||
+ | :[http://www.fabglib.org/structfabgl_1_1_size.html Size] of display controller primitives queue. | ||
+ | |} | ||
== Detailed Description == | == Detailed Description == | ||
− | + | ビットマップ表示コントローラーの基本抽象クラスを表します。 | |
; '''Examples:''' | ; '''Examples:''' | ||
− | : [http://www.fabglib.org/_v_g_a_2_ansi_terminal_2_ansi_terminal_8ino-example.html#_a0 | + | : [http://www.fabglib.org/_v_g_a_2_ansi_terminal_2_ansi_terminal_8ino-example.html#_a0 VGA/AnsiTerminal/AnsiTerminal.ino]. |
: | : | ||
− | [http://www.fabglib.org/displaycontroller_8h_source.html#l00737 | + | [http://www.fabglib.org/displaycontroller_8h_source.html#l00737 Definition at line 737 of file displaycontroller.h]. |
----このクラスのドキュメントは、次のファイルから生成されました。 | ----このクラスのドキュメントは、次のファイルから生成されました。 | ||
− | * displaycontroller.h | + | * [http://www.fabglib.org/displaycontroller_8h_source.html displaycontroller.h] |
− | * displaycontroller.cpp | + | * [http://www.fabglib.org/displaycontroller_8cpp_source.html displaycontroller.cpp] |
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Class_List 戻る] | ----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Class_List 戻る] |
2022年3月23日 (水) 10:52時点における最新版
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)
|
template<typename T >
void setSprites (T *sprites, int count)
|
virtual void suspendBackgroundPrimitiveExecution ()=0
|
Static Public Attributes
static int queueSize = 1024
|
Detailed Description
ビットマップ表示コントローラーの基本抽象クラスを表します。
- Examples:
- VGA/AnsiTerminal/AnsiTerminal.ino.
Definition at line 737 of file displaycontroller.h.
このクラスのドキュメントは、次のファイルから生成されました。