mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
commented out some declared but never defined functions and global vars
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
Or a delegate to be called when the list selection change.
|
Or a delegate to be called when the list selection change.
|
||||||
- add some way to modify speed when scrolling WMList, depending on how
|
- add some way to modify speed when scrolling WMList, depending on how
|
||||||
far the mouse is moved outside of the list.
|
far the mouse is moved outside of the list.
|
||||||
|
- clean up header files of declared but not implemented anywhere functions
|
||||||
|
- implement a generic WMChangeFontAttribute(WMFont *font, enum attributes)
|
||||||
|
function
|
||||||
|
|
||||||
|
|
||||||
- optimize color allocation for repeated colors
|
- optimize color allocation for repeated colors
|
||||||
|
|||||||
@@ -1003,7 +1003,7 @@ void WMSetButtonBordered(WMButton *bPtr, int isBordered);
|
|||||||
|
|
||||||
void WMSetButtonEnabled(WMButton *bPtr, Bool flag);
|
void WMSetButtonEnabled(WMButton *bPtr, Bool flag);
|
||||||
|
|
||||||
void WMSetButtonImageDimsWhenDisabled(WMButton *bPtr, Bool flag);
|
//void WMSetButtonImageDimsWhenDisabled(WMButton *bPtr, Bool flag);
|
||||||
|
|
||||||
void WMSetButtonTag(WMButton *bPtr, int tag);
|
void WMSetButtonTag(WMButton *bPtr, int tag);
|
||||||
|
|
||||||
@@ -1430,8 +1430,6 @@ void WMSetScrollViewContentView(WMScrollView *sPtr, WMView *view);
|
|||||||
|
|
||||||
void WMSetScrollViewRelief(WMScrollView *sPtr, WMReliefType type);
|
void WMSetScrollViewRelief(WMScrollView *sPtr, WMReliefType type);
|
||||||
|
|
||||||
void WMSetScrollViewContentView(WMScrollView *sPtr, WMView *view);
|
|
||||||
|
|
||||||
WMRect WMGetScrollViewVisibleRect(WMScrollView *sPtr);
|
WMRect WMGetScrollViewVisibleRect(WMScrollView *sPtr);
|
||||||
|
|
||||||
WMScroller* WMGetScrollViewHorizontalScroller(WMScrollView *sPtr);
|
WMScroller* WMGetScrollViewHorizontalScroller(WMScrollView *sPtr);
|
||||||
@@ -1646,13 +1644,13 @@ void WMGetTextBlockProperties(WMText *tPtr, void *vtb, unsigned int *first,
|
|||||||
|
|
||||||
int WMGetTextInsertType(WMText *tPtr);
|
int WMGetTextInsertType(WMText *tPtr);
|
||||||
|
|
||||||
int WMGetTextBlocks(WMText *tPtr);
|
//int WMGetTextBlocks(WMText *tPtr);
|
||||||
|
|
||||||
void WMSetCurrentTextBlock(WMText *tPtr, int current);
|
//void WMSetCurrentTextBlock(WMText *tPtr, int current);
|
||||||
|
|
||||||
int WMGetCurrentTextBlock(WMText *tPtr);
|
//int WMGetCurrentTextBlock(WMText *tPtr);
|
||||||
|
|
||||||
void WMPrependTextBlock(WMText *tPtr, void *vtb);
|
//void WMPrependTextBlock(WMText *tPtr, void *vtb);
|
||||||
|
|
||||||
void WMAppendTextBlock(WMText *tPtr, void *vtb);
|
void WMAppendTextBlock(WMText *tPtr, void *vtb);
|
||||||
|
|
||||||
|
|||||||
@@ -205,9 +205,9 @@ typedef void WMNotificationObserverAction(void *observerData,
|
|||||||
|
|
||||||
/*......................................................................*/
|
/*......................................................................*/
|
||||||
|
|
||||||
typedef void (waborthandler)(int);
|
typedef void waborthandler(int);
|
||||||
|
|
||||||
waborthandler* wsetabort(waborthandler*);
|
waborthandler* wsetabort(waborthandler* handler);
|
||||||
|
|
||||||
|
|
||||||
/* don't free the returned string */
|
/* don't free the returned string */
|
||||||
@@ -680,7 +680,7 @@ void WMSortTree(WMTreeNode *aNode, WMCompareDataProc *comparer);
|
|||||||
WMTreeNode* WMFindInTree(WMTreeNode *aTree, WMMatchDataProc *match, void *cdata);
|
WMTreeNode* WMFindInTree(WMTreeNode *aTree, WMMatchDataProc *match, void *cdata);
|
||||||
|
|
||||||
/* Returns first tree node that has data == cdata */
|
/* Returns first tree node that has data == cdata */
|
||||||
#define WMGetFirstInTree(aTree, cdata) WMFindInTree(atree, NULL, cdata)
|
#define WMGetFirstInTree(aTree, cdata) WMFindInTree(aTree, NULL, cdata)
|
||||||
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user