RECORD problem (SOLVED)
Sept 17, 2020 3:53:27 GMT 1
Post by alexfish on Sept 17, 2020 3:53:27 GMT 1
Here have Record
used to compile , but not in latest Fossil
*. ents fails to compile if ents [*]
IE
/rec.bac:31:1: error: '__b2c_array_origin' undeclared (first use in this function)
change the positions
Alex
used to compile , but not in latest Fossil
*. ents fails to compile if ents [*]
IE
/rec.bac:31:1: error: '__b2c_array_origin' undeclared (first use in this function)
OPTION PARSE FALSE
PRAGMA LDFLAGS `pkg-config --libs xcb cairo pango`
PRAGMA OPTIONS `pkg-config --cflags xcb cairo pango`
PRAGMA INCLUDE <xcb/xcb.h>
PRAGMA INCLUDE <stdint.h>
PRAGMA INCLUDE <pango/pangocairo.h>
PRAGMA INCLUDE <cairo/cairo-xcb.h>
PRAGMA INCLUDE <cairo/cairo.h>
RECORD WINDOW
LOCAL mouse_seq TYPE int
LOCAL sequence TYPE int
LOCAL width, height TYPE int
LOCAL scrno TYPE int
LOCAL scr TYPE xcb_screen_t *
LOCAL connection TYPE xcb_connection_t *
LOCAL win TYPE xcb_drawable_t
LOCAL white TYPE unsigned int
LOCAL visual_type TYPE xcb_visualtype_t *
LOCAL surface TYPE cairo_surface_t *
LOCAL CANVAS TYPE cairo_surface_t *
LOCAL CANVAS_CR TYPE cairo_t *
LOCAL cr TYPE cairo_t *
LOCAL ticks TYPE int
LOCAL canX, canY TYPE int
LOCAL can_relX, can_relY TYPE int
LOCAL origin[2] TYPE int
LOCAL offset[5] TYPE int
LOCAL drag_state TYPE int
LOCAL config TYPE int
END RECORD
WINDOW.offset[0]=3
WINDOW.origin[0]=3
change the positions
OPTION PARSE FALSE
PRAGMA LDFLAGS `pkg-config --libs xcb cairo pango`
PRAGMA OPTIONS `pkg-config --cflags xcb cairo pango`
PRAGMA INCLUDE <xcb/xcb.h>
PRAGMA INCLUDE <stdint.h>
PRAGMA INCLUDE <pango/pangocairo.h>
PRAGMA INCLUDE <cairo/cairo-xcb.h>
PRAGMA INCLUDE <cairo/cairo.h>
RECORD WINDOW
LOCAL mouse_seq TYPE int
LOCAL sequence TYPE int
LOCAL width, height TYPE int
LOCAL scrno TYPE int
LOCAL scr TYPE xcb_screen_t *
LOCAL origin[2] TYPE int
LOCAL connection TYPE xcb_connection_t *
LOCAL win TYPE xcb_drawable_t
LOCAL white TYPE unsigned int
LOCAL visual_type TYPE xcb_visualtype_t *
LOCAL surface TYPE cairo_surface_t *
LOCAL CANVAS TYPE cairo_surface_t *
LOCAL CANVAS_CR TYPE cairo_t *
LOCAL cr TYPE cairo_t *
LOCAL ticks TYPE int
LOCAL canX, canY TYPE int
LOCAL can_relX, can_relY TYPE int
LOCAL offset[5] TYPE int
LOCAL drag_state TYPE int
LOCAL config TYPE int
END RECORD
WINDOW.offset[0]=3
WINDOW.origin[0]=3
Alex