IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:23:01 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa, unify RotFont, bDraw functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/event/Resize.c

    r2473 r5852  
    11# include "Ximage.h"
    2 # define SCAN \
    3   status = read (sock, buffer, 16); \
    4   buffer[16] = 0; \
    5   sscanf (buffer, "%*s %d", &Nbytes); \
    6   status = read (sock, buffer, Nbytes); \
    7   buffer[status] = 0; /* make the string easy to parse */ \
    8   (DEBUG) && fprintf (stderr, "buffer: <%s>\n", buffer); \
    9 
    102
    113int Resize () {
    124 
    13   int i, status, Nbytes;
     5  int i;
    146  unsigned int NX, NY;
    15   char buffer[128];
    167
    17   SCAN;
    18   sscanf (buffer, "%d %d", &NX, &NY);
     8  KiiScanMessage (sock, "%d %d", &NX, &NY);
    199
    2010  if ((graphic.dx == NX) && (graphic.dy == NY))
Note: See TracChangeset for help on using the changeset viewer.