Commit 93a6d408 authored by frtabu's avatar frtabu

Initial web server implementation

parent 21b3484e
......@@ -37,6 +37,7 @@
#include "common/utils/websrv/websrv_noforms.h"
#include <common/utils/assertions.h>
#define MAX_LAYER 8
/* replacement for xforms function used in xforms softscope */
......@@ -53,6 +54,7 @@ typedef struct {
FL_OBJECT *websrv_fl_add_xyplot(int t, FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h, const char *label)
{
FL_OBJECT *obj;
obj = (FL_OBJECT *)calloc(1, sizeof(FL_OBJECT));
AssertFatal((obj != NULL), "Cannot allocate scope object for %s\n", (label!=NULL)?label:"??");
if (obj) {
......
......@@ -1726,7 +1726,6 @@ FL_EXPORT int fl_get_drawmode(void)
#define fl_set_linestyle fl_linestyle
#define fl_set_drawmode fl_drawmode
/*
* Interfaces
*/
......@@ -2260,6 +2259,7 @@ FL_EXPORT FL_HANDLE_CANVAS fl_add_canvas_handler(FL_OBJECT *ob, int ev, FL_HANDL
return NULL;
};
FL_EXPORT Window fl_get_canvas_id(FL_OBJECT *ob)
{
return NULL;
......@@ -2430,6 +2430,7 @@ FL_EXPORT FL_XYPLOT_SYMBOL fl_set_xyplot_symbol(FL_OBJECT *ob, int id, FL_XYPLOT
};
#endif /* FL_XYPLOT_H */
/*----------------------------------------------------------------------*/
/* new functions for interfacing with webserver */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment