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

Linux Cross Reference
Tina4/src/PCwin/picture.cpp

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

  1 /*
  2 tv_screen_picture:
  3 A Tv_picture contains the pixmap of a tv_screen plus enough information
  4 to display it. A list of pictures makes a movie.
  5 */
  6 
  7 #include <signal.h>
  8 
  9 #include <dibapi.h>
 10 
 11 #ifdef __cplusplus
 12 extern "C" {
 13 #endif  /* __cplusplus */
 14 #include <tina/sys.h>
 15 #include <tina/sysfuncs.h>
 16 #include <tina/math.h>
 17 #include <tina/tv.h>
 18 #include <tina/tv_screen.h>
 19 #ifdef __cplusplus
 20 }
 21 #endif  /* __cplusplus */
 22 
 23 extern void (*screen_text) (char *);
 24 #define Print(x)  if(screen_text!=NULL) screen_text(x)
 25 
 26 
 27 extern "C" Tv_picture *tv_screen_get_picture(Tv_screen * tv_screen)
 28 {
 29     Tv_picture *picture = ts_ralloc(Tv_picture);
 30 
 31     Print("tv_screen_get_picture?");
 32     return (picture);
 33 }
 34 
 35 extern "C" void picture_free(void *s)
 36 {
 37     Tv_picture *picture = (Tv_picture *) s;
 38 
 39     Print("picture_free?");
 40     if (picture != NULL)
 41     {
 42     }
 43 }
 44 
 45 extern "C" void picture_write(FILE * fp, Tv_picture * picture)
 46 {
 47     Print("picture_write?");
 48 
 49     if (fp == NULL || picture == NULL)
 50         return;
 51 }
 52 
 53 extern "C" Tv_picture *tv_screen_picture_read(Tv_screen * tv_screen, FILE 
 54 * fp)
 55 {
 56     Tv_picture *picture;
 57 
 58     Print("tv_screen_picture_read?");
 59     if (tv_screen == NULL || fp == NULL || feof(fp))
 60         return (NULL);
 61 
 62     return (picture);
 63 }
 64 

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