🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1537

(none)

#1537
From: Ted Larson
Date: Wed, 26 Jun 1991 22:59
37 lines
1606 bytes
     In just trying to get a small test program to work, I ran
into an interesting problem.  Why is it that the following program
gives a syntax error when using the 3.0 glue header file and not
the 2.6 glue header file?  I have noticed this problem also exists
when using Boxes as well.  I think it is because the class heirarchy
is different due to the 3.0 using Glyphs and 2.6 using Interactors
as the superclass.  Can anyone enlighten me on how to make this
work and why?

                - Ted   larson@lanl.gov
----------------------------------------------------------------------

#include <InterViews/world.h>
#include <InterViews/2.6/InterViews/message.h>
#include <IV-look/2.6/InterViews/frame.h>
#include <InterViews/glue.h>

static PropertyData properties[] = {
   {nil}
};

static OptionDesc options[] = {
   { nil }
};

void main(int argc, char** argv) {

 World* world = new World("****", argc, argv, options, properties);

  Message* foxmessage = new Message("The quick brown fox...", Center, 20, 50, 50);
  
  VGlue* vg = new VGlue( 3,0,0); 
  ShadowFrame* sf = new ShadowFrame(foxmessage); 
  world->Insert(sf);
  world->Run();
}
Technical Details
Message-ID: <9106262259.AA11621@tahiti.lanl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!stanford.edu!TAHITI.LANL.GOV!larson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!stanford.edu!TAHITI.LANL.GOV!larson
From: larson@TAHITI.LANL.GOV (Ted Larson)
Newsgroups: comp.windows.interviews
Subject: (none)
Message-ID: <9106262259.AA11621@tahiti.lanl.gov>
Date: 26 Jun 91 22:59:59 GMT
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Lines: 37