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/graph/LoadBox.c

    r5612 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;
    82
    93int LoadBox () {
    104 
    11   int i, status, Nbytes;
    12   char buffer[128], Axis[16], Labels[16], Ticks[16];
     5  int i, status;
     6  char Axis[16], Labels[16], Ticks[16];
    137  Layout *layout;
    148 
    159  layout = &section[TheSection];
    1610
    17   SCAN;
    18   sscanf (buffer, "%lf %lf %lf %lf",
    19           &layout[0].axis[0].min, &layout[0].axis[0].max,
    20           &layout[0].axis[1].min, &layout[0].axis[1].max);
     11  KiiScanMessage (sock, "%lf %lf %lf %lf",
     12                  &layout[0].axis[0].min, &layout[0].axis[0].max,
     13                  &layout[0].axis[1].min, &layout[0].axis[1].max);
    2114
    2215  layout[0].axis[3].min = layout[0].axis[1].min;
     
    2518  layout[0].axis[2].max = layout[0].axis[0].max;
    2619 
    27   SCAN;
    28   sscanf (buffer, "%s %s %s", Axis, Labels, Ticks);
     20  KiiScanMessage (sock, "%s %s %s", Axis, Labels, Ticks);
    2921
    3022  for (i = 0; i < 4; i++) {
     
    8375  layout[0].X = 0;
    8476  layout[0].Y = 0;
    85    layout[0].expand = 1;
     77  layout[0].expand = 1;
    8678*/
    8779 
Note: See TracChangeset for help on using the changeset viewer.