Browse Source

fixed a type signature error

pull/1/head
Leonard Ritter 10 years ago
parent
commit
89c53ac58c
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      example.cpp
  2. +1
    -1
      oui.h

+ 1
- 0
example.cpp View File

@@ -703,6 +703,7 @@ void draw(NVGcontext *vg, float w, float h) {
uiSetLayout(0,UI_LEFT|UI_TOP);
uiSetMargins(0,600,10,0,0);
uiSetSize(0,250,400);
uiSetSelfHandle(root);
uiSetHandler(root, roothandler, UI_SCROLL|UI_BUTTON0_DOWN);
int col = column(root);


+ 1
- 1
oui.h View File

@@ -750,7 +750,7 @@ struct UIcontext {
int extend_item;
int last_timestamp;
int last_click_timestamp;
int last_click_handle;
UIhandle last_click_handle;
int clicks;
int count;


Loading…
Cancel
Save