mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
remove old document
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@499 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/Widget/ListBox.h
|
||||
* %brief ListBox widget
|
||||
* @file Mw/Widget/ListBox.h
|
||||
* @brief ListBox widget
|
||||
*/
|
||||
#ifndef __MW_WIDGET_LISTBOX_H__
|
||||
#define __MW_WIDGET_LISTBOX_H__
|
||||
@@ -15,71 +15,71 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* %brief ListBox widget class
|
||||
* @brief ListBox widget class
|
||||
*/
|
||||
MWDECL MwClass MwListBoxClass;
|
||||
|
||||
/*!
|
||||
* %brief Creates a listbox packet
|
||||
* %return Packet
|
||||
* @brief Creates a listbox packet
|
||||
* @return Packet
|
||||
*/
|
||||
MWDECL MwListBoxPacket* MwListBoxCreatePacket(void);
|
||||
|
||||
/*!
|
||||
* %brief Destroys a listbox packet
|
||||
* %param packet Packet
|
||||
* @brief Destroys a listbox packet
|
||||
* @param packet Packet
|
||||
*/
|
||||
MWDECL void MwListBoxDestroyPacket(MwListBoxPacket* packet);
|
||||
|
||||
/*!
|
||||
* %brief Inserts a new item to a packet
|
||||
* %param packet Packet
|
||||
* %param index Index
|
||||
* %return Index
|
||||
* @brief Inserts a new item to a packet
|
||||
* @param packet Packet
|
||||
* @param index Index
|
||||
* @return Index
|
||||
*/
|
||||
MWDECL int MwListBoxPacketInsert(MwListBoxPacket* packet, int index);
|
||||
|
||||
/*!
|
||||
* %brief Sets a column of item in a packet
|
||||
* %param packet Packet
|
||||
* %param index Index
|
||||
* %param col Column
|
||||
* %param text Text
|
||||
* @brief Sets a column of item in a packet
|
||||
* @param packet Packet
|
||||
* @param index Index
|
||||
* @param col Column
|
||||
* @param text Text
|
||||
*/
|
||||
MWDECL void MwListBoxPacketSet(MwListBoxPacket* packet, int index, int col, const char* text);
|
||||
|
||||
/*!
|
||||
* %brief Sets an icon of item in a packet
|
||||
* %param packet Packet
|
||||
* %param index Index
|
||||
* %param icon Icon
|
||||
* @brief Sets an icon of item in a packet
|
||||
* @param packet Packet
|
||||
* @param index Index
|
||||
* @param icon Icon
|
||||
*/
|
||||
MWDECL void MwListBoxPacketSetIcon(MwListBoxPacket* packet, int index, MwLLPixmap icon);
|
||||
|
||||
/*!
|
||||
* %brief Inserts item on the listbox
|
||||
* %param handle Widget
|
||||
* %param index Index
|
||||
* %param packet Packet
|
||||
* @brief Inserts item on the listbox
|
||||
* @param handle Widget
|
||||
* @param index Index
|
||||
* @param packet Packet
|
||||
*/
|
||||
MwInline void MwListBoxInsert(MwWidget handle, int index, void* packet) {
|
||||
MwVaWidgetExecute(handle, "mwListBoxInsert", NULL, index, packet);
|
||||
}
|
||||
|
||||
/*!
|
||||
* %brief Deletes item from the listbox
|
||||
* %param handle Widget
|
||||
* %param index Index
|
||||
* @brief Deletes item from the listbox
|
||||
* @param handle Widget
|
||||
* @param index Index
|
||||
*/
|
||||
MwInline void MwListBoxDelete(MwWidget handle, int index) {
|
||||
MwVaWidgetExecute(handle, "mwListboxDelete", NULL, index);
|
||||
};
|
||||
|
||||
/*!
|
||||
* %brief Gets item from the listbox
|
||||
* %param handle Widget
|
||||
* %param index Index
|
||||
* %return Item
|
||||
* @brief Gets item from the listbox
|
||||
* @param handle Widget
|
||||
* @param index Index
|
||||
* @return Item
|
||||
*/
|
||||
MwInline const char* MwListBoxGet(MwWidget handle, int index) {
|
||||
const char* out;
|
||||
@@ -88,18 +88,18 @@ MwInline const char* MwListBoxGet(MwWidget handle, int index) {
|
||||
};
|
||||
|
||||
/*!
|
||||
* %brief Sets an item width of the listbox
|
||||
* %param handle Widget
|
||||
* %param index Column index
|
||||
* %param width Width
|
||||
* @brief Sets an item width of the listbox
|
||||
* @param handle Widget
|
||||
* @param index Column index
|
||||
* @param width Width
|
||||
*/
|
||||
MwInline void MwListBoxSetWidth(MwWidget handle, int index, int width) {
|
||||
MwVaWidgetExecute(handle, "mwListBoxSetWidth", NULL, index, width);
|
||||
};
|
||||
|
||||
/*!
|
||||
* %brief Resets the listbox
|
||||
* %param handle Widget
|
||||
* @brief Resets the listbox
|
||||
* @param handle Widget
|
||||
*/
|
||||
MwInline void MwListBoxReset(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwListBoxReset", NULL);
|
||||
|
||||
Reference in New Issue
Block a user