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

Linux Cross Reference
Tina4/src/covira/view.c

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

  1 #include <tina/all_tina.h>
  2 #include <tina/brain.h>
  3 #include <tina/brainfuncs.h>
  4 
  5 /*
  6 redraw all windows in current state
  7 */
  8 void redraw_all(void)
  9 {
 10     if (trans_changed())
 11     {
 12         tv_free_background(work_tv_get());
 13         tv_free_background(trans_tv_get());
 14     }
 15     tv_repaint(work_tv_get());
 16     tv_repaint(trans_tv_get());
 17 
 18     if (sagit_changed())
 19         tv_free_background(sagit_tv_get());
 20     tv_repaint(sagit_tv_get());
 21 
 22     if (front_changed())
 23         tv_free_background(front_tv_get());
 24     tv_repaint(front_tv_get());
 25 
 26     tv_repaint(vis3d_tv_get());
 27 }
 28 
 29 /*
 30 draw full screen crosshair at screen position
 31 */
 32 void tv_crosshair(Tv * tv, Ipos pos)
 33 {
 34     int x, y;
 35     int w = tv->width;
 36     int h = tv->height;
 37 
 38     x = ipos_x(pos);
 39     y = ipos_y(pos);
 40     tv_linexy(tv, 0, y, w, y);
 41     tv_linexy(tv, x, 0, x, h);
 42 }
 43 

~ [ 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.