Kroni's Classes API

Information

 * Kroni's Classes is a class library for VisualAge C++ that provides a host of PM functions. It was specifically written to go alongside IBM's Open Class, it does not rely on Open Class, but makes sure that it does not clash with, nor duplicate features from the latter library.

Download

 * Kroni's Classes 0.12
 * Source code Github

License

 * Open source software released under the Three Clause BSD License

Classes by Name

 * KrAntiFrame
 * KrAsyncMain
 * KrAlignment
 * KrBitfield
 * KrBitfieldData
 * KrChoice
 * KrChoiceData
 * KrCommonTextOutput
 * KrCoordSystemTranslator
 * KrDrawingCanvas
 * KrFrame
 * KrGBox
 * KrGLine
 * KrGString
 * KrGraphicList
 * KrMemoryBitmap
 * KrMenuBar
 * KrPoint
 * KrPrinter
 * KrProfile
 * KrRectangle
 * KrTrace
 * KrUserDataField
 * KrWinComm

CareFree Main Functions
By inheriting from the KrAsyncMain class, you get a new main function which offers convenient features.
 * KrAsyncMain

Menu Support
Use KrMenuBar to add a menu bar (possibly with drop-down menus) to your application.
 * KrMenuBar

Screen Text Output
The class KrCommonTextOutput allows you to easily output text to the screen.
 * KrCommonTextOutput

Easy user Input
The class KrWinComm provides you with the ability to easily query the user for input for some basic variable types, using the common >> operator.

In addition, the following classes let you ask the user for input of more complicated data structures and even of arbitrary types.
 * KrBitfield
 * KrBitfieldData
 * KrChoice
 * KrChoiceData
 * KrUserDataField
 * KrWinComm

Printing
To easily print your graphics on any printer, use the KrPrinter class.
 * KrPrinter

INI File Access
To easily access data in OS/2 system ini files or in your own ini files, use the KrProfile class.
 * KrProfile

Error Handling
The IBM open class library extensively uses exceptions both to inform the programmer about the success of actions performed by classes of the library and to provide comprehensive debugging information.

Unfortunately, however, the user of an application will not see any error messages when the program is aborted due to an uncatched exception. Instead, the program will just terminate. The KrTraceclass take care of this and other error handling related issues.
 * KrTrace