application/browser.c

changeset 4
d8e8f34e65ee
parent 3
c04433993fbb
equal deleted inserted replaced
3:c04433993fbb 4:d8e8f34e65ee
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stdlib.h> 10 #include <stdlib.h>
11 11
12 UIWIDGET document_browser_create(UiObject *obj) { 12 UIWIDGET document_browser_create(UiObject *obj) {
13 ui_layout_width(obj, 250); 13 ui_layout_width(obj, 220);
14 UIWIDGET browser = ui_drawingarea(obj, browser_draw, NULL); 14 UIWIDGET browser = ui_drawingarea(obj, browser_draw, NULL);
15 return browser; 15 return browser;
16 } 16 }
17 17
18 void browser_draw(UiEvent *event, UiGraphics *g, void *udata) { 18 void browser_draw(UiEvent *event, UiGraphics *g, void *udata) {

mercurial