Code Search for Developers
 
 
  

ZZBLine.h from gzz at Krugle


Show ZZBLine.h syntax highlighted

/*
 * ZZBLine.h
 * Vesa Parkkinen
 * Fri Nov 26 17:02:01 GMT 1999
 */
#include "ZZBMarker.h"
#include <gtk/gtk.h>

class ZZBLine
{
  
  char *txt;
  
  ZZBMarker *mark;
  
  //int size;
  
  int dirty; 

 public:
  
  ZZBLine( char *t, ZZBMarker *m) { 
    txt = g_strdup(t);
    //txt = t;
    mark = m; 
    //size = s;
    dirty = 1;
  }
  
  ~ZZBLine(){ }
  
  
  //char *getString(ZZBMarker *m);
  char *getString(ZZBMarker *m){
  // support for markers later.
  return txt;
}


  
  //int getSize() { return size; }
  //void setSize(int s ) { 
  //  if  ( s < 0 ) s = 0;
  // //if( size == s ) return;  
  //  size = s; 
  //  dirty = 1;
    //g_print ("setSize: %d\n",size);
  //} 
  void clean()  { dirty = 0;    }
  int  isDirty(){ return dirty; }
  void setDirty(){ dirty = 1; }
};








See more files for this project here

gzz

An implementation of Ted Nelson's ZZstructure. ZZstructure is a new type of programming platform for structured data.

Project homepage: http://savannah.nongnu.org/projects/gzz
Programming language(s): C++,Java,Python
License: lgpl21

  BillowSizes.h
  Lines.h
  Makefile
  ZZBBulge.cc
  ZZBBulge.h
  ZZBBulge2.h
  ZZBLine.cc
  ZZBLine.h
  ZZBLines.cc
  ZZBLines.h
  ZZBMarker.cc
  ZZBMarker.h
  ZZBRenderer.cc
  ZZBRenderer.h
  ZZBSize.cc
  ZZBSize.h
  ZZBSizes.cc
  ZZBSizes.h
  main.c
  main2.cc
  suckfont.c
  suckfont.h
  test