2010-10-23 06:33:08 +04:00
|
|
|
/*
|
2013-02-07 06:05:00 +04:00
|
|
|
* Copyright 2010 Haiku, Inc. All rights reserved.
|
2010-10-23 06:33:08 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
2013-02-07 06:05:00 +04:00
|
|
|
* Authors:
|
|
|
|
* Alex Wilson, yourpalal2@gmail.com
|
2010-10-23 06:33:08 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*!
|
2015-01-28 03:15:11 +03:00
|
|
|
\page interface_intro Introduction to the Interface Kit
|
2013-02-07 06:05:00 +04:00
|
|
|
|
2010-10-23 06:33:08 +04:00
|
|
|
The Interface Kit holds all the classes you'll need to develop a GUI.
|
|
|
|
Building on the messaging facilities provided by the Application Kit,
|
2013-02-07 06:05:00 +04:00
|
|
|
the Interface Kit can be used to create a responsive and attractive
|
|
|
|
graphical user interface.
|
2010-10-23 06:33:08 +04:00
|
|
|
|
2013-02-07 06:05:00 +04:00
|
|
|
The most important class in the Interface Kit is the BView class, which
|
2010-10-23 06:33:08 +04:00
|
|
|
handles drawing and user interaction. Pointer and keyboard events are
|
|
|
|
processed in this class.
|
|
|
|
|
|
|
|
Another important class is the BWindow class, which holds BViews and makes
|
2013-02-07 06:05:00 +04:00
|
|
|
them visible to the user. The BWindow class also handles BView focusing
|
2010-10-23 06:33:08 +04:00
|
|
|
and BMessage dispatching, among other things.
|
|
|
|
|
|
|
|
A new addition Haiku has added over the BeOS API is the Layout API, which
|
|
|
|
is based around the BLayoutItem and BLayout classes. These classes will
|
|
|
|
take care of making sure all your GUI widgets end up where you want them,
|
|
|
|
with enough space to be useful. You can start learning the Layout API
|
|
|
|
by reading the \link layout_intro introduction \endlink.
|
|
|
|
*/
|