~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/Xm/tw_space.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 #include <tina/sys.h>
  4 #include <tina/math.h>
  5 #include <tina/tv.h>
  6 #include  <tina/mtw.h>
  7 #include  <tina/tv_screen.h>
  8 #include <tina/Xmfuncs.h>
  9 
 10 void    tw_space(double width, double height)
 11 {
 12     Widget  panel, tw_get_panel(void);
 13     Widget  space;
 14     XmString xmstring;
 15     int     nargs;
 16     Arg     wargs[1];
 17     int     w, h;
 18 
 19     panel = tw_get_panel();
 20 
 21     xmstring = XmStringCreate("", XmSTRING_DEFAULT_CHARSET);
 22     nargs = 0;
 23     XtSetArg(wargs[nargs], XmNlabelString, xmstring);
 24     nargs++;
 25     space = XtCreateManagedWidget("twspace", xmLabelWidgetClass,
 26                                   panel, wargs, nargs);
 27     XmStringFree(xmstring);
 28 
 29     w = tw_charwidth(width);
 30     h = tw_charheight(height);
 31     tw_set_entry(space, w, h);
 32 }
 33 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.