ftp.nice.ch/pub/next/developer/resources/classes/MOKit.1.0.0.s.tar.gz#/MOKit_1.0.0/Examples/MOMatrix

English.lproj/
 
MOMatrixTest.iconheader
 
MOMatrixTest_main.m
[View MOMatrixTest_main.m] 
Makefile
 
Makefile.postamble
 
Makefile.preamble
 
PB.gdbinit
 
PB.project
 
README.rtf
[View README.rtf] 
TestControl.h
[View TestControl.h] 
TestControl.m
[View TestControl.m] 

README.rtf

MOKit docs,  Copyright ©1992, 1993, 1994 by Mike Ferris.  All Rights Reserved.
By Mike Ferris  --  October 23rd, 1993

MOMatrixTest


NOTE:  Before building this, the MOKit library should already be built and present in the MOKit/Source directory or /LocalDeveloper/Libraries.  If the library has been installed in another location, you will have to edit the OTHER_LDFLAGS variable in the Makefile.preamble.

This example demonstrates the use of MOMatrix.  MOMatrix is a subclass of Matrix that allows independantly sizable rows and columns.

The example app puts up a window with a regular Matrix and a MOMatrix.  Then it allows the user to resize individual rows and columns in the MOMatrix and change the cell spacing for both.

There is also a small panel with three button-matrix's in it.  These matrix's are configured with the three main behaviors of matrix's.  They are provided for reference so the user can tell what a Matrix is supposed to act like in its various modes.

In the TestControl class's -appDidInit: there is a section where there are four interchangable pieces of setup code.  All but one should be commented out.  You can pick what kind of matrix's to create in the main window by selecting among these code snippets.  As distributed, the text-field matrix section is selected.


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.