Kroni's Classes: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
|WWW=[http://hobbes.nmsu.edu/download/pub/os2/dev/cplusplus/krcls012.zip krcls012.zip] | |WWW=[http://hobbes.nmsu.edu/download/pub/os2/dev/cplusplus/krcls012.zip krcls012.zip] | ||
}} | }} | ||
'''Kroni's Classes''' is a C++ 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. Development discontinued. | |||
==Documentation== | ==Documentation== | ||
* [[Kroni's Classes User's Guide]] | * [[Kroni's Classes User's Guide]] | ||
==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]] | |||
==Classes By Category== | |||
===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]] | |||
[[Category:C++ Class Libraries]][[Category:Software written in C++]][[Category:Open Source Software]] | [[Category:C++ Class Libraries]][[Category:Software written in C++]][[Category:Open Source Software]] |
Revision as of 02:03, 5 October 2023
Kroni's Classes | |
---|---|
![]() | |
Name | Kroni's Classes |
Version | 0.12 |
Vendor | |
Author | Wolfgang Kronberg |
Licence | Postcardware Three Clause BSD License |
WWW | krcls012.zip |
Kroni's Classes is a C++ 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. Development discontinued.
Documentation
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
Classes By Category
CareFree Main() Functions
By inheriting from the KrAsyncMain class, you get a new main() function which offers convenient features.
Menu Support
Use KrMenuBar to add a menu bar (possibly with drop-down menus) to your application.
Screen Text Output
The class KrCommonTextOutput allows you to easily output text to the screen.
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.
Printing
To easily print your graphics on any printer, use the KrPrinter class.
INI File Access
To easily access data in OS/2 system ini files or in your own ini files, use the KrProfile class.
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.