Closed yurivict closed 2 years ago
Don't know what goes wrong here, please ensure that libxputty is updated (normally the make file will take care of it).
maybe you need to run
git submodule update
DONT_PROPAGATE is defined here:
https://github.com/brummer10/libxputty/blob/master/xputty/header/xwidget.h#L278
combobox_set_menu_size() is here:
https://github.com/brummer10/libxputty/blob/master/xputty/widgets/xcombobox.c#L45
but, for warning : implicit declaration of function 'widget_draw' is invalid in C99 I've no idea why? Maybe that resolve when you get a up to date out-check of libxputty. (Still wonder why the implemented status check not work for you)
Yes, it was an outdated submodule. Sorry for the disturbance!
Oops.... I closed it too soon.
There are still some errors:
./src/XUiDesigner.c:507:13: error: expected expression
int v = fabs(xmotion->x_root-designer->pos_x) > fabs(xmotion->y_root-designer->pos_y) ?
^
./src/XUiDesigner.c:510:87: error: use of undeclared identifier 'v'
resize_all_for_type(designer, w, designer->controls[w->data].is_type, v, v);
^
./src/XUiDesigner.c:510:90: error: use of undeclared identifier 'v'
resize_all_for_type(designer, w, designer->controls[w->data].is_type, v, v);
^
./src/XUiDesigner.c:512:73: error: use of undeclared identifier 'v'
XResizeWindow(w->app->dpy, w->widget, max(10,w->width + v), max(10,w->height + v));
^
./src/XUiDesigner.c:512:73: error: use of undeclared identifier 'v'
./src/XUiDesigner.c:512:96: error: use of undeclared identifier 'v'
XResizeWindow(w->app->dpy, w->widget, max(10,w->width + v), max(10,w->height + v));
^
./src/XUiDesigner.c:512:96: error: use of undeclared identifier 'v'
./src/XUiDesigner.c:518:83: error: use of undeclared identifier 'v'
XResizeWindow(w->app->dpy, wi->widget, max(10,wi->width + v),
^
./src/XUiDesigner.c:518:83: error: use of undeclared identifier 'v'
./src/XUiDesigner.c:519:84: error: use of undeclared identifier 'v'
max(10,wi->height + v));
^
./src/XUiDesigner.c:519:84: error: use of undeclared identifier 'v'
./src/XUiDesigner.c:525:61: error: use of undeclared identifier 'v'
adj_set_value(designer->w_axis->adj, w->width + v);
^
./src/XUiDesigner.c:529:62: error: use of undeclared identifier 'v'
adj_set_value(designer->h_axis->adj, w->height + v);
^
13 errors generated.
clang-14 FreeBSD-13.1
clang is really picky. :) I see, it's fixed now. regards hermann
Thanks!