「App:Library:LVGL:docs:Widgets:Base object」の版間の差分
1行目: | 1行目: | ||
+ | https://docs.lvgl.io/latest/en/html/widgets/obj.html | ||
+ | |||
https://docs.lvgl.io/8.2/widgets/index.html | https://docs.lvgl.io/8.2/widgets/index.html | ||
+ | |||
__NOTOC__ | __NOTOC__ | ||
= Base object (lv_obj) = | = Base object (lv_obj) = | ||
17行目: | 20行目: | ||
− | |||
− | + | In object-oriented thinking, it is the base class from which all other objects in LVGL are inherited. | |
+ | This, among another things, helps reduce code duplication. | ||
− | The Base object can be | + | The functions and functionalities of Base object can be used with other widgets too. For example <code>lv_obj_set_width(slider, 100)</code> |
+ | |||
+ | |||
+ | The Base object can be directly used as a simple widgets. It nothing else then a rectangle. | ||
|ベースオブジェクト」は、画面上のウィジェットの基本的なプロパティを実装したもので、次のようなものです。 | |ベースオブジェクト」は、画面上のウィジェットの基本的なプロパティを実装したもので、次のようなものです。 | ||
29行目: | 35行目: | ||
* 子供 | * 子供 | ||
* スタイルが含まれています | * スタイルが含まれています | ||
− | * | + | *''Clickable''、''Scrollable''などの属性。 |
− | |||
− | + | オブジェクト指向の考え方では、LVGL の他のすべてのオブジェクトが継承される基本クラスです。 | |
+ | これはコードの重複を減らすのに役立ちます。 | ||
− | |||
− | + | Base オブジェクトの関数と機能は、他のウィジェットでも使用できます。 例えば lv_obj_set_width(slider, 100) | |
+ | |||
+ | |||
+ | Base オブジェクトは、単純なウィジェットとして直接使用できます。 長方形に他なりません。 | ||
|} | |} | ||
:[[App:Library:LVGL#Widgets|戻る : Previous]] | :[[App:Library:LVGL#Widgets|戻る : Previous]] | ||
45行目: | 53行目: | ||
=== Coordinates === | === Coordinates === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Size ==== | ==== Size ==== | ||
63行目: | 61行目: | ||
| | | | ||
The object size can be modified on individual axes with <code style="color: #bb0000;">lv_obj_set_width(obj, new_width)</code> and <code style="color: #bb0000;">lv_obj_set_height(obj, new_height)</code>, or both axes can be modified at the same time with <code style="color: #bb0000;">lv_obj_set_size(obj, new_width, new_height)</code>. | The object size can be modified on individual axes with <code style="color: #bb0000;">lv_obj_set_width(obj, new_width)</code> and <code style="color: #bb0000;">lv_obj_set_height(obj, new_height)</code>, or both axes can be modified at the same time with <code style="color: #bb0000;">lv_obj_set_size(obj, new_width, new_height)</code>. | ||
+ | |||
+ | |||
+ | Styles can add Margin to the objects. Margin tells that "I want this space around me". To set width or height reduced by the margin <code>lv_obj_set_width_margin(obj, new_width)</code> or <code>lv_obj_set_height_margin(obj, new_height)</code>. In more exact way: <code>new_width = left_margin + object_width + right_margin</code>. | ||
+ | |||
+ | |||
+ | To get the width or height which includes the margins use <code>lv_obj_get_width/height_margin(obj)</code>. | ||
+ | |||
+ | |||
+ | Styles can add Padding to the object as well. Padding means "I don't want my children too close to my sides, so keep this space". To set width or height reduced by the padding <code>lv_obj_set_width_fit(obj, new_width)</code> or <code>lv_obj_set_height_fit(obj, new_height)</code>. | ||
+ | |||
+ | In a more exact way: <code>new_width = left_pad + object_width + right_pad</code> To get the width or height which is REDUCED by padding use <code>lv_obj_get_width/height_fit(obj)</code>. It can be considered the "useful size of the object". | ||
+ | |||
+ | |||
+ | Margin and padding gets important when Layout or Auto-fit is used by other widgets. | ||
|オブジェクトのサイズは、<code style="color: #bb0000;">lv_obj_set_width(obj, new_width)</code>および<code style="color: #bb0000;">lv_obj_set_height(obj, new_height)</code>を使用して個々の軸上で変更することも、<code style="color: #bb0000;">lv_obj_set_size(obj, new_width, new_height)</code>を使用して両方の軸を同時に変更することもできます。 | |オブジェクトのサイズは、<code style="color: #bb0000;">lv_obj_set_width(obj, new_width)</code>および<code style="color: #bb0000;">lv_obj_set_height(obj, new_height)</code>を使用して個々の軸上で変更することも、<code style="color: #bb0000;">lv_obj_set_size(obj, new_width, new_height)</code>を使用して両方の軸を同時に変更することもできます。 | ||
+ | |||
+ | |||
+ | スタイルは、オブジェクトに余白を追加できます。 マージンは「自分の周りにこのスペースが欲しい」と語っています。 マージン lv_obj_set_width_margin(obj, new_width) または lv_obj_set_height_margin(obj, new_height) だけ縮小された幅または高さを設定します。 より正確には、new_width = left_margin + object_width + right_margin です。 | ||
+ | |||
+ | |||
+ | マージンを含む幅または高さを取得するには、lv_obj_get_width/height_margin(obj) を使用します。 | ||
+ | |||
+ | |||
+ | スタイルは、オブジェクトにパディングを追加することもできます。 パディングとは、「子供たちを脇に近づけたくないので、このスペースを確保してください」という意味です。 パディング lv_obj_set_width_fit(obj, new_width) または lv_obj_set_height_fit(obj, new_height) によって縮小された幅または高さを設定します。 | ||
+ | |||
+ | より正確な方法: new_width = left_pad + object_width + right_pad パディングによって削減された幅または高さを取得するには、lv_obj_get_width/height_fit(obj) を使用します。 これは「オブジェクトの有用なサイズ」と見なすことができます。 | ||
+ | |||
+ | |||
+ | レイアウトまたは自動調整が他のウィジェットで使用されている場合、マージンとパディングが重要になります。 | ||
|} | |} | ||
:[[App:Library:LVGL#Widgets|戻る : Previous]] | :[[App:Library:LVGL#Widgets|戻る : Previous]] | ||
84行目: | 110行目: | ||
!英文 | !英文 | ||
!自動翻訳 | !自動翻訳 | ||
+ | |- | ||
+ | |You can align the object to another with <code>lv_obj_align(obj, obj_ref, LV_ALIGN_..., x_ofs, y_ofs)</code>. | ||
+ | |||
+ | * <code>obj</code> is the object to align. | ||
+ | * <code>obj_ref</code> is a reference object. <code>obj</code> will be aligned to it. If <code>obj_ref = NULL</code>, then the parent of <code>obj</code> will be used. | ||
+ | * The third argument is the ''type'' of alignment. These are the possible options: | ||
+ | |lv_obj_align(obj, obj_ref, LV_ALIGN_..., x_ofs, y_ofs) を使用して、オブジェクトを別のオブジェクトに位置合わせできます。 | ||
+ | |||
+ | * obj は整列するオブジェクトです。 | ||
+ | * obj_ref は参照オブジェクトです。 obj がそれに合わせられます。 obj_ref = NULL の場合、obj の親が使用されます。 | ||
+ | * 3 番目の引数は、配置のタイプです。 可能なオプションは次のとおりです。 | ||
+ | |- | ||
+ | | colspan="2" |[[ファイル:LVGL Lib docs obj.png|サムネイル]] | ||
|- | |- | ||
| | | | ||
− | + | * The alignment types build like <code>LV_ALIGN_OUT_TOP_MID</code>. | |
+ | * The last two arguments allow you to shift the object by a specified number of pixels after aligning it. | ||
+ | | | ||
+ | * 配置タイプは LV_ALIGN_OUT_TOP_MID のように構築されます。 | ||
+ | * 最後の 2 つの引数を使用すると、位置合わせ後に、指定したピクセル数だけオブジェクトをシフトできます。 | ||
+ | |- | ||
+ | |For example, to align a text below an image: <code>lv_obj_align(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)</code>. | ||
+ | Or to align a text in the middle of its parent: <code>lv_obj_align(text, NULL, LV_ALIGN_CENTER, 0, 0)</code>. | ||
− | |||
− | + | <code>lv_obj_align_origo</code> works similarly to <code>lv_obj_align</code> but it aligns the center of the object. | |
− | < | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
+ | For example, <code>lv_obj_align_origo(btn, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 0)</code> will align the center of the button the bottom of the image. | ||
− | |||
− | The | + | The parameters of the alignment will be saved in the object if <code>LV_USE_OBJ_REALIGN</code> is enabled in ''lv_conf.h''. |
− | |||
− | |||
− | |||
− | + | You can then realign the objects simply by calling <code>lv_obj_realign(obj)</code>. | |
− | |||
− | |||
− | |||
+ | It's equivalent to calling <code>lv_obj_align</code> again with the same parameters. | ||
+ | |たとえば、画像の下にテキストを配置するには: lv_obj_align(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)。 | ||
+ | または、テキストをその親の中央に配置するには: lv_obj_align(text, NULL, LV_ALIGN_CENTER, 0, 0)。 | ||
− | |||
− | + | lv_obj_align_origo は lv_obj_align と同様に機能しますが、オブジェクトの中心を揃えます。 | |
− | |||
− | |||
− | |||
+ | たとえば、lv_obj_align_origo(btn, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 0) は、ボタンの中心を画像の下に揃えます。 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | LV_USE_OBJ_REALIGN が lv_conf.h で有効になっている場合、アラインメントのパラメーターはオブジェクトに保存されます。 | |
+ | その後、lv_obj_realign(obj) を呼び出すだけでオブジェクトを再配置できます。 | ||
− | + | 同じパラメーターで lv_obj_align を再度呼び出すことと同じです。 | |
+ | |- | ||
+ | |If the alignment happened with <code>lv_obj_align_origo</code>, then it will be used when the object is realigned. | ||
− | |||
− | + | The <code>lv_obj_align_x/y</code> and <code>lv_obj_align_origo_x/y</code> function can be used t align only on one axis. | |
− | |||
− | |||
− | + | If <code>lv_obj_set_auto_realign(obj, true)</code> is used the object will be realigned automatically, if its size changes in <code>lv_obj_set_width/height/size()</code> functions. It's very useful when size animations are applied to the object and the original position needs to be kept. | |
− | < | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | <code | ||
+ | '''Note that the coordinates of screens can't be changed. Attempting to use these functions on screens will result in undefined behavior.''' | ||
+ | |アライメントが lv_obj_align_origo で発生した場合、オブジェクトが再アライメントされるときに使用されます。 | ||
− | |||
− | + | lv_obj_align_x/y および lv_obj_align_origo_x/y 関数は、1 つの軸でのみ整列するために使用できます。 | |
− | + | lv_obj_set_auto_realign(obj, true) が使用されている場合、そのサイズが lv_obj_set_width/height/size() 関数で変更された場合、オブジェクトは自動的に再配置されます。 オブジェクトにサイズ アニメーションを適用し、元の位置を維持する必要がある場合に非常に便利です。 | |
− | |||
− | |||
− | + | '''画面の座標は変更できないことに注意してください。 これらの関数を画面で使用しようとすると、未定義の動作が発生します。''' | |
+ | |} | ||
+ | :[[App:Library:LVGL#Widgets|戻る : Previous]] | ||
− | |||
− | + | === Parents and children === | |
− | + | {| class="wikitable" | |
− | + | !英文 | |
+ | !自動翻訳 | ||
+ | |- | ||
+ | |You can set a new parent for an object with <code style="color: #bb0000;">lv_obj_set_parent(obj, new_parent)</code>. | ||
+ | To get the current parent, use <code style="color: #bb0000;">lv_obj_get_parent(obj)</code>. | ||
+ | To get the children of an object, use <code>lv_obj_get_child(obj, child_prev)</code> (from last to first) or <code>lv_obj_get_child_back(obj, child_prev)</code> (from first to last). To get the first child, pass <code>NULL</code> as the second parameter and use the return value to iterate through the children. The function will return <code>NULL</code> if there are no more children. For example: | ||
+ | |lv_obj_set_parent(obj, new_parent) を使用して、オブジェクトの新しい親を設定できます。 | ||
+ | 現在の親を取得するには、lv_obj_get_parent(obj) を使用します。 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | オブジェクトの子を取得するには、lv_obj_get_child(obj, child_prev) (最後から最初へ) または lv_obj_get_child_back(obj, child_prev) (最初から最後へ) を使用します。 最初の子を取得するには、2 番目のパラメーターとして NULL を渡し、戻り値を使用して子を反復処理します。 子がそれ以上ない場合、関数は NULL を返します。 例えば: | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | <syntaxhighlight lang="c++" style="border: 1px dashed gray;"> | ||
+ | lv_obj_t * child = lv_obj_get_child(parent, NULL); | ||
+ | while(child) { | ||
+ | /*Do something with "child" */ | ||
+ | child = lv_obj_get_child(parent, child); | ||
+ | } | ||
+ | </syntaxhighlight> | ||
+ | |- | ||
+ | |<code style="color: #bb0000;">lv_obj_get_index(obj)</code> tells the number of children on an object. | ||
+ | It is equivalent to the number of younger children in the parent. | ||
− | |||
− | <code | + | <code>lv_obj_count_children_recursive(obj)</code> also tells the number of children but counts children of children recursively. |
+ | |lv_obj_get_index(obj) は、オブジェクトの子の数を示します。 | ||
+ | これは、親の年少の子供の数に相当します。 | ||
− | + | lv_obj_count_children_recursive(obj) も子の数を示しますが、子の子を再帰的にカウントします。 | |
|} | |} | ||
:[[App:Library:LVGL#Widgets|戻る : Previous]] | :[[App:Library:LVGL#Widgets|戻る : Previous]] | ||
− | === | + | === Screens === |
{| class="wikitable" | {| class="wikitable" | ||
!英文 | !英文 | ||
198行目: | 230行目: | ||
|- | |- | ||
| | | | ||
− | + | When you have created a screen like <code>lv_obj_t * screen = lv_obj_create(NULL, NULL)</code>, you can load it with <code>lv_scr_load(screen)</code>. The <code>lv_scr_act()</code> function gives you a pointer to the current screen. | |
− | |||
− | |||
− | When you have created a screen like <code | ||
− | |||
− | The <code | ||
− | |||
+ | If you have more display then it's important to know that these functions operate on the lastly created or the explicitly selected (with <code>lv_disp_set_default</code>) display. | ||
− | |||
− | |||
+ | To get an object's screen use the <code>lv_obj_get_screen(obj)</code> function. | ||
+ | |lv_obj_t * screen = lv_obj_create(NULL, NULL) のように画面を作成したら、lv_scr_load(screen) で読み込むことができます。 lv_scr_act() 関数は、現在の画面へのポインターを提供します。 | ||
− | |||
− | + | より多くのディスプレイがある場合、これらの関数は最後に作成されたディスプレイまたは明示的に選択された (lv_disp_set_default を使用して) ディスプレイで動作することを知っておくことが重要です。 | |
− | + | オブジェクトの画面を取得するには、lv_obj_get_screen(obj) 関数を使用します。 | |
|} | |} |
2022年8月31日 (水) 20:46時点における版
https://docs.lvgl.io/latest/en/html/widgets/obj.html
https://docs.lvgl.io/8.2/widgets/index.html
Base object (lv_obj)
Overview
英文 | 自動翻訳 |
---|---|
The 'Base Object' implements the basic properties of widgets on a screen, such as:
In object-oriented thinking, it is the base class from which all other objects in LVGL are inherited. This, among another things, helps reduce code duplication. The functions and functionalities of Base object can be used with other widgets too. For example
|
ベースオブジェクト」は、画面上のウィジェットの基本的なプロパティを実装したもので、次のようなものです。
オブジェクト指向の考え方では、LVGL の他のすべてのオブジェクトが継承される基本クラスです。 これはコードの重複を減らすのに役立ちます。
|
Coordinates
Size
英文 | 自動翻訳 |
---|---|
The object size can be modified on individual axes with
In a more exact way:
|
オブジェクトのサイズは、lv_obj_set_width(obj, new_width) およびlv_obj_set_height(obj, new_height) を使用して個々の軸上で変更することも、lv_obj_set_size(obj, new_width, new_height) を使用して両方の軸を同時に変更することもできます。
より正確な方法: new_width = left_pad + object_width + right_pad パディングによって削減された幅または高さを取得するには、lv_obj_get_width/height_fit(obj) を使用します。 これは「オブジェクトの有用なサイズ」と見なすことができます。
|
Position
英文 | 自動翻訳 |
---|---|
You can set the position relative to the parent with |
親からの相対位置は、lv_obj_set_x(obj, new_x) とlv_obj_set_y(obj, new_y) 、またはlv_obj_set_pos(obj, new_x, new_y) を使用して同時に設定できます。
|
Alignment
英文 | 自動翻訳 |
---|---|
You can align the object to another with lv_obj_align(obj, obj_ref, LV_ALIGN_..., x_ofs, y_ofs) .
|
lv_obj_align(obj, obj_ref, LV_ALIGN_..., x_ofs, y_ofs) を使用して、オブジェクトを別のオブジェクトに位置合わせできます。
|
|
|
For example, to align a text below an image: lv_obj_align(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10) .
Or to align a text in the middle of its parent:
You can then realign the objects simply by calling It's equivalent to calling |
たとえば、画像の下にテキストを配置するには: lv_obj_align(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)。
または、テキストをその親の中央に配置するには: lv_obj_align(text, NULL, LV_ALIGN_CENTER, 0, 0)。
その後、lv_obj_realign(obj) を呼び出すだけでオブジェクトを再配置できます。 同じパラメーターで lv_obj_align を再度呼び出すことと同じです。 |
If the alignment happened with lv_obj_align_origo , then it will be used when the object is realigned.
|
アライメントが lv_obj_align_origo で発生した場合、オブジェクトが再アライメントされるときに使用されます。
|
Parents and children
英文 | 自動翻訳 |
---|---|
You can set a new parent for an object with lv_obj_set_parent(obj, new_parent) .
To get the current parent, use To get the children of an object, use |
lv_obj_set_parent(obj, new_parent) を使用して、オブジェクトの新しい親を設定できます。
現在の親を取得するには、lv_obj_get_parent(obj) を使用します。
|
lv_obj_t * child = lv_obj_get_child(parent, NULL);
while(child) {
/*Do something with "child" */
child = lv_obj_get_child(parent, child);
}
| |
lv_obj_get_index(obj) tells the number of children on an object.
It is equivalent to the number of younger children in the parent.
|
lv_obj_get_index(obj) は、オブジェクトの子の数を示します。
これは、親の年少の子供の数に相当します。
|
Screens
英文 | 自動翻訳 |
---|---|
When you have created a screen like
|
lv_obj_t * screen = lv_obj_create(NULL, NULL) のように画面を作成したら、lv_scr_load(screen) で読み込むことができます。 lv_scr_act() 関数は、現在の画面へのポインターを提供します。
|
Events
英文 | 自動翻訳 |
---|---|
To set an event callback for an object, use
Read the Event overview to learn more about events. |
オブジェクトにイベントコールバックを設定するには、lv_obj_add_event_cb(obj, event_cb, LV_EVENT_..., user_data) を使い、
イベントを手動でオブジェクトに送信するには、 イベントの詳細については、 「イベントの概要」 を参照してください。 |
Styles
英文 | 自動翻訳 |
---|---|
Be sure to read the Style overview. Here only the most essential functions are described.
The base objects use |
必ず「スタイルの概要」をお読みください。ここでは、最も重要な機能についてのみ説明します。
ベースオブジェクトは |
Flags
英文 | 自動翻訳 |
---|---|
/*Hide on object*/
lv_obj_add_flag(obj, LV_OBJ_FLAG_HIDDEN);
/*Make an object non-clickable*/
lv_obj_clear_flag(obj, LV_OBJ_FLAG_CLICKABLE);
/*Hide on object*/
lv_obj_add_flag(obj, LV_OBJ_FLAG_HIDDEN);
/*Make an object non-clickable*/
lv_obj_clear_flag(obj, LV_OBJ_FLAG_CLICKABLE);
|
/*オブジェクトを非表示にする*/
lv_obj_add_flag (obj 、 LV_OBJ_FLAG_HIDDEN );
/*オブジェクトをクリック不可にする*/
lv_obj_clear_flag (obj 、 LV_OBJ_FLAG_CLICKABLE );
いくつかの例: /*オブジェクトを非表示にする*/
lv_obj_add_flag (obj 、 LV_OBJ_FLAG_HIDDEN );
/*オブジェクトをクリック不可にする*/
lv_obj_clear_flag (obj 、 LV_OBJ_FLAG_CLICKABLE );
|
Groups
英文 | 自動翻訳 |
---|---|
Read the Input devices overview to learn more about Groups.
|
グループについての詳細は、入力デバイスの概要を参照してください。
オブジェクトは
|
Extended click area
英文 | 自動翻訳 |
---|---|
By default, the objects can be clicked only within their bounding area. However, this can be extended with |
デフォルトでは、オブジェクトは境界領域内でのみクリックできます。ただし、これは。lv_obj_set_ext_click_area(obj, size) で拡張できます。
|
Events
英文 | 自動翻訳 |
---|---|
Learn more about Events. |
|
Keys
英文 | 自動翻訳 |
---|---|
If
Learn more about Keys. |
LV_OBJ_FLAG_CHECKABLE が有効な場合、LV_KEY_RIGHT と LV_KEY_UP はオブジェクトをチェック状態にし、LV_KEY_LEFT と LV_KEY_DOWN は非チェック状態にする。
|
Example
Base objects with custom styles
英文 | 自動翻訳 |
---|---|
Make an object draggable |
API
英文 | 自動翻訳 |
---|---|
Typedefs typedef uint16_t lv_state_t typedef uint32_t lv_part_t typedef uint32_t lv_obj_flag_t typedef struct _lv_obj_t lv_obj_t Enums enum [anonymous]
enum [anonymous]
enum [anonymous]
enum lv_obj_draw_part_type_t
Functions void lv_init(void)
void lv_deinit(void)
bool lv_is_initialized(void)
lv_obj_t *lv_obj_create(lv_obj_t *parent)
void lv_obj_add_flag(lv_obj_t *obj, lv_obj_flag_t f)
void lv_obj_clear_flag(lv_obj_t *obj, lv_obj_flag_t f)
void lv_obj_add_state(lv_obj_t *obj, lv_state_t state)
void lv_obj_clear_state(lv_obj_t *obj, lv_state_t state)
static inline void lv_obj_set_user_data(lv_obj_t *obj, void *user_data)
bool lv_obj_has_flag(const lv_obj_t *obj, lv_obj_flag_t f)
bool lv_obj_has_flag_any(const lv_obj_t *obj, lv_obj_flag_t f)
lv_state_t lv_obj_get_state(const lv_obj_t *obj)
bool lv_obj_has_state(const lv_obj_t *obj, lv_state_t state)
void *lv_obj_get_group(const lv_obj_t *obj)
static inline void *lv_obj_get_user_data(lv_obj_t *obj)
void lv_obj_allocate_spec_attr(lv_obj_t *obj)
bool lv_obj_check_type(const lv_obj_t *obj, const lv_obj_class_t *class_p)
bool lv_obj_has_class(const lv_obj_t *obj, const lv_obj_class_t *class_p)
const lv_obj_class_t *lv_obj_get_class(const lv_obj_t *obj)
bool lv_obj_is_valid(const lv_obj_t *obj)
static inline lv_coord_t lv_obj_dpx(const lv_obj_t *obj, lv_coord_t n)
Variables const lv_obj_class_t lv_obj_class
struct _lv_obj_spec_attr_t
|
Typedef typedef uint16_t lv_state_t typedef uint32_t lv_part_t typedef uint32_t lv_obj_flag_t typedef struct _lv_obj_t lv_obj_t 列挙型 列挙型[匿名]
列挙型[匿名]
列挙型[匿名]
列挙型lv_obj_draw_part_type_t
機能 void lv_init(void)
void lv_deinit(void)
bool lv_is_initialized(void)
lv_obj_t * lv_obj_create(lv_obj_t * parent)
void lv_obj_add_flag(lv_obj_t * obj、lv_obj_flag_t f)
void lv_obj_clear_flag(lv_obj_t * obj、lv_obj_flag_t f)
void lv_obj_add_state(lv_obj_t * obj、lv_state_t state)
void lv_obj_clear_state(lv_obj_t * obj、lv_state_t state)
static inline void lv_obj_set_user_data(lv_obj_t * obj、void * user_data)
bool lv_obj_has_flag(const lv_obj_t * obj、lv_obj_flag_t f)
bool lv_obj_has_flag_any(const lv_obj_t * obj、lv_obj_flag_t f)
lv_state_t lv_obj_get_state(const lv_obj_t * obj)
bool lv_obj_has_state(const lv_obj_t * obj、lv_state_t state)
void * lv_obj_get_group(const lv_obj_t * obj)
static inline void * lv_obj_get_user_data(lv_obj_t * obj)
void lv_obj_allocate_spec_attr(lv_obj_t * obj)
bool lv_obj_check_type(const lv_obj_t * obj、const lv_obj_class_t * class_p)
bool lv_obj_has_class(const lv_obj_t * obj、const lv_obj_class_t * class_p)
const lv_obj_class_t * lv_obj_get_class(const lv_obj_t * obj)
bool lv_obj_is_valid(const lv_obj_t * obj)
静的インラインlv_coord_tlv_obj_dpx(const lv_obj_t * obj、lv_coord_t n)
変数 const lv_obj_class_t lv_obj_class
struct _lv_obj_spec_attr_t
struct _lv_obj_t
|