fix look, add actual event
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@764 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
8ed8e51ba7
commit
c97f1722fc
9 changed files with 106 additions and 29 deletions
|
|
@ -23,6 +23,16 @@ MWDECL const char* MwDefaultBackground;
|
|||
*/
|
||||
MWDECL const char* MwDefaultForeground;
|
||||
|
||||
/*!
|
||||
* @brief Default sub background color
|
||||
*/
|
||||
MWDECL const char* MwDefaultSubBackground;
|
||||
|
||||
/*!
|
||||
* @brief Default sub foreground color
|
||||
*/
|
||||
MWDECL const char* MwDefaultSubForeground;
|
||||
|
||||
/*!
|
||||
* @brief Default dark theme background color
|
||||
*/
|
||||
|
|
@ -33,6 +43,16 @@ MWDECL const char* MwDefaultDarkBackground;
|
|||
*/
|
||||
MWDECL const char* MwDefaultDarkForeground;
|
||||
|
||||
/*!
|
||||
* @brief Default dark theme sub background color
|
||||
*/
|
||||
MWDECL const char* MwDefaultDarkSubBackground;
|
||||
|
||||
/*!
|
||||
* @brief Default dark theme sub foreground color
|
||||
*/
|
||||
MWDECL const char* MwDefaultDarkSubForeground;
|
||||
|
||||
/*!
|
||||
* @brief Gets default border width
|
||||
* @param handle Widget
|
||||
|
|
|
|||
|
|
@ -33,7 +33,9 @@
|
|||
#define MwNtitle "Stitle"
|
||||
#define MwNtext "Stext"
|
||||
#define MwNbackground "Sbackground"
|
||||
#define MwNsubBackground "SsubBackground"
|
||||
#define MwNforeground "Sforeground"
|
||||
#define MwNsubForeground "SsubForeground"
|
||||
|
||||
#define MwNpixmap "Vpixmap"
|
||||
#define MwNiconPixmap "ViconPixmap"
|
||||
|
|
@ -41,7 +43,7 @@
|
|||
#define MwNfont "Vfont"
|
||||
#define MwNboldFont "VboldFont"
|
||||
|
||||
#define MwNactivateHandler "Cactivate" /* NULL/int* (MwListBox) */
|
||||
#define MwNactivateHandler "Cactivate" /* NULL/int* (MwListBox)/void* (MwTreeView) */
|
||||
#define MwNresizeHandler "Cresize" /* NULL */
|
||||
#define MwNtickHandler "Ctick" /* NULL */
|
||||
#define MwNmenuHandler "Cmenu" /* MwMenu */
|
||||
|
|
|
|||
|
|
@ -49,6 +49,18 @@ MwInline void MwTreeViewReset(MwWidget handle) {
|
|||
MwVaWidgetExecute(handle, "mwTreeViewReset", NULL);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets item from the treeview
|
||||
* @param handle Widget
|
||||
* @param item Item
|
||||
* @return Item
|
||||
*/
|
||||
MwInline const char* MwTreeViewGet(MwWidget handle, void* item) {
|
||||
const char* out;
|
||||
MwVaWidgetExecute(handle, "mwTreeViewGet", (void*)&out, item);
|
||||
return out;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue