2393831_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2393831_en-US

2393831_en-US

Version 2 issues: C code generation, preview

Hi!

I started testing GUI Guider version 2, and I found a couple of issues (starting with an empty template, Windows simulator).

I started defining the content of the top layer putting an image button, creating an event handler to switch state when the button is long pressed.

The generated the code has some errors, like:

gg_event_layer_top.c:
  static void lv_layer_top()_event_handler(lv_event_t * e) {
    ...
  }

void gg_event_init_layer_top(gg_ui_t * ui
  lv_obj_add_event_cb(ui->layer_top.lv_layer_top(),  lv_layer_top()_event_handler, LV_EVENT_ALL, ui);

(parenthesis create a parsing error)

Manually removing the parenthesis, the error below is generated:


.../generated/events/gg_event_layer_top.c:59:38: error: 'gg_layer_top_t' has no member named 'lv_layer_top'

(gg_layer_top_t definition doesn't include that member)

Am I missing some definition to make a correct generation of those functions?


タグ(1)
評価なし
バージョン履歴
最終更新日:
昨日
更新者: