Example #1
0
Ihandle* IupMatrix(const char* action)
{
  void *params[2];
  params[0] = (void*)action;
  params[1] = NULL;
  return IupCreatev("matrix", params);
}
Example #2
0
Ihandle* IupRadio(Ihandle* child)
{
  void *params[2];
  params[0] = (void*)child;
  params[1] = NULL;
  return IupCreatev("radio", params);
}
Example #3
0
Ihandle* IupGLFrame(Ihandle* child)
{
    void *children[2];
    children[0] = (void*)child;
    children[1] = NULL;
    return IupCreatev("glframe", children);
}
Example #4
0
Ihandle* IupFrame(Ihandle* child)
{
  void *params[2];
  params[0] = (void*)child;
  params[1] = NULL;
  return IupCreatev("frame", params);
}
Example #5
0
Ihandle* IupMultiLine(const char* action)
{
  void *params[2];
  params[0] = (void*)action;
  params[1] = NULL;
  return IupCreatev("multiline", params);
}
Example #6
0
Ihandle* IupList(const char* action)
{
  void *params[2];
  params[0] = (void*)action;
  params[1] = NULL;
  return IupCreatev("list", params);
}
Example #7
0
Ihandle* IupScrollBox(Ihandle* child)
{
  void *children[2];
  children[0] = (void*)child;
  children[1] = NULL;
  return IupCreatev("scrollbox", children);
}
Example #8
0
Ihandle* IupDialog(Ihandle* child)
{
  void *children[2];
  children[0] = child;
  children[1] = NULL;
  return IupCreatev("dialog", children);
}
Example #9
0
Ihandle* IupGLExpander(Ihandle* child)
{
  void *children[2];
  children[0] = (void*)child;
  children[1] = NULL;
  return IupCreatev("glexpander", children);
}
Example #10
0
Ihandle* IupGLButton(const char* title)
{
  void *params[2];
  params[0] = (void*)title;
  params[1] = NULL;
  return IupCreatev("glbutton", params);
}
Example #11
0
Ihandle *IupVal(const char *type)
{
  void *params[2];
  params[0] = (void*)type;
  params[1] = NULL;
  return IupCreatev("val", params);
}
Ihandle* IupDetachBox(Ihandle* child)
{
  void *children[2];
  children[0] = (void*)child;
  children[1] = NULL;
  return IupCreatev("detachbox", children);
}
Example #13
0
Ihandle* IupSpinbox(Ihandle* ctrl)
{
  void *children[2];
  children[0] = (void*)ctrl;
  children[1] = NULL;
  return IupCreatev("spinbox", children);
}
Ihandle *IupOleControl(const char *ProgID)
{
    void *params[2];
    params[0] = (void*)ProgID;
    params[1] = NULL;
    return IupCreatev("olecontrol", params);
}
Example #15
0
Ihandle* IupCanvas(const char* action)
{
  void *params[2];
  params[0] = (void*)action;
  params[1] = NULL;
  return IupCreatev("canvas", params);
}
Example #16
0
Ihandle* IupLabel(const char* title)
{
  void *params[2];
  params[0] = (void*)title;
  params[1] = NULL;
  return IupCreatev("label", params);
}
Example #17
0
Ihandle* IupDialog(Ihandle* child)
{
  void *params[2];
  params[0] = child;
  params[1] = NULL;
  return IupCreatev("dialog", params);
}
Example #18
0
Ihandle* IupDial(const char* orientation)
{
  void *params[2];
  params[0] = (void*)orientation;
  params[1] = NULL;
  return IupCreatev("dial", params);
}
Example #19
0
Ihandle* IupSubmenu(const char* title, Ihandle* child)
{
  void *params[2];
  params[0] = (void*)title;
  params[1] = (void*)child;
  return IupCreatev("submenu", params);
}
Example #20
0
Ihandle* IupItem(const char* title, const char* action)
{
  void *params[2];
  params[0] = (void*)title;
  params[1] = (void*)action;
  return IupCreatev("item", params);
}
Example #21
0
Ihandle *IupLink(const char *url, const char * title)
{
  void *params[3];
  params[0] = (void*)url;
  params[1] = (void*)title;
  params[2] = NULL;
  return IupCreatev("link", params);
}
Example #22
0
Ihandle* IupToggle(const char* title, const char* action)
{
    void *params[3];
    params[0] = (void*)title;
    params[1] = (void*)action;
    params[2] = NULL;
    return IupCreatev("toggle", params);
}
Example #23
0
Ihandle* IupButton(const char* title, const char* action)
{
  void *params[3];
  params[0] = (void*)title;
  params[1] = (void*)action;
  params[2] = NULL;
  return IupCreatev("button", params);
}
Example #24
0
Ihandle* IupSplit(Ihandle* child1, Ihandle* child2)
{
  void *params[3];
  params[0] = (void*)child1;
  params[1] = (void*)child2;
  params[2] = NULL;
  return IupCreatev("split", params);
}
Example #25
0
Ihandle* IupImageRGBA(int width, int height, const unsigned char *imgdata)
{
  void *params[4];
  params[0] = (void*)width;
  params[1] = (void*)height;
  params[2] = imgdata? (void*)imgdata: (void*)-1;
  params[3] = (void*)-1;
  return IupCreatev("imagergba", params);
}
Example #26
0
Ihandle *IupCbox (Ihandle * first,...)
{
  Ihandle **params = NULL;
  Ihandle *elem = NULL;

  va_list arglist;
  va_start(arglist, first);
  params = iupGetParamList(first, arglist);
  va_end(arglist);

  elem = IupCreatev("cbox", (void**)params);
  free(params);
  return elem;
}
Example #27
0
Ihandle* IupTabs(Ihandle* first,...)
{
  Ihandle **params;
  Ihandle *ih;

  va_list arglist;
  va_start(arglist, first);
  params = (Ihandle**)iupObjectGetParamList(first, arglist);
  va_end(arglist);

  ih = IupCreatev("tabs", (void**)params);
  free(params);

  return ih;
}
Example #28
0
Ihandle *IupVbox(Ihandle* child, ...)
{
  Ihandle **children;
  Ihandle *ih;

  va_list arglist;
  va_start(arglist, child);
  children = (Ihandle **)iupObjectGetParamList(child, arglist);
  va_end(arglist);

  ih = IupCreatev("vbox", (void**)children);
  free(children);

  return ih;
}
Example #29
0
Ihandle* IupTabs(Ihandle* first,...)
{
  Ihandle **children;
  Ihandle *ih;

  va_list arglist;
  va_start(arglist, first);
  children = (Ihandle**)iupObjectGetParamList(first, arglist);
  va_end(arglist);

  ih = IupCreatev("tabs", (void**)children);
  free(children);

  return ih;
}
Example #30
0
Ihandle *IupNormalizer(Ihandle* ih_first, ...)
{
  Ihandle **ih_list;
  Ihandle *ih;

  va_list arglist;
  va_start(arglist, ih_first);
  ih_list = (Ihandle **)iupObjectGetParamList(ih_first, arglist);
  va_end(arglist);

  ih = IupCreatev("normalizer", (void**)ih_list);
  free(ih_list);

  return ih;
}