mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-30 12:15:50 +01:00
WINGs: Reorg headers to mark items' locations in source files
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
b4cb488241
commit
843dc889f4
@@ -575,7 +575,7 @@ typedef struct W_DragDestinationProcs {
|
|||||||
} WMDragDestinationProcs;
|
} WMDragDestinationProcs;
|
||||||
|
|
||||||
|
|
||||||
/* ...................................................................... */
|
/* ---[ WINGs/wmisc.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
WMPoint wmkpoint(int x, int y);
|
WMPoint wmkpoint(int x, int y);
|
||||||
@@ -589,7 +589,7 @@ WMRect wmkrect(int x, int y, unsigned int width, unsigned int height);
|
|||||||
#define wmkpoint(x, y) (WMPoint){(x), (y)}
|
#define wmkpoint(x, y) (WMPoint){(x), (y)}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wapplication.c ]-------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -603,6 +603,7 @@ char* WMGetApplicationName(void);
|
|||||||
/* Try to locate resource file. ext may be NULL */
|
/* Try to locate resource file. ext may be NULL */
|
||||||
char* WMPathForResourceOfType(char *resource, char *ext);
|
char* WMPathForResourceOfType(char *resource, char *ext);
|
||||||
|
|
||||||
|
/* ---[ WINGs/widgets.c ]------------------------------------------------- */
|
||||||
|
|
||||||
WMScreen* WMOpenScreen(const char *display);
|
WMScreen* WMOpenScreen(const char *display);
|
||||||
|
|
||||||
@@ -625,7 +626,9 @@ Display* WMScreenDisplay(WMScreen *scr);
|
|||||||
|
|
||||||
int WMScreenDepth(WMScreen *scr);
|
int WMScreenDepth(WMScreen *scr);
|
||||||
|
|
||||||
|
void WMSetFocusToWidget(WMWidget *widget);
|
||||||
|
|
||||||
|
/* ---[ WINGs/wappresource.c ]-------------------------------------------- */
|
||||||
|
|
||||||
void WMSetApplicationIconImage(WMScreen *app, RImage *image);
|
void WMSetApplicationIconImage(WMScreen *app, RImage *image);
|
||||||
|
|
||||||
@@ -640,7 +643,7 @@ WMPixmap* WMCreateApplicationIconBlendedPixmap(WMScreen *scr, RColor *color);
|
|||||||
|
|
||||||
void WMSetApplicationIconWindow(WMScreen *scr, Window window);
|
void WMSetApplicationIconWindow(WMScreen *scr, Window window);
|
||||||
|
|
||||||
void WMSetFocusToWidget(WMWidget *widget);
|
/* ---[ WINGs/wevent.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
WMEventHook* WMHookEventHandler(WMEventHook *handler);
|
WMEventHook* WMHookEventHandler(WMEventHook *handler);
|
||||||
|
|
||||||
@@ -662,8 +665,12 @@ void WMNextEvent(Display *dpy, XEvent *event);
|
|||||||
|
|
||||||
void WMMaskEvent(Display *dpy, long mask, XEvent *event);
|
void WMMaskEvent(Display *dpy, long mask, XEvent *event);
|
||||||
|
|
||||||
|
void WMSetViewNextResponder(WMView *view, WMView *responder);
|
||||||
|
|
||||||
/* ....................................................................... */
|
void WMRelayToNextResponder(WMView *view, XEvent *event);
|
||||||
|
|
||||||
|
|
||||||
|
/* ---[ WINGs/selection.c ]----------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
Bool WMCreateSelectionHandler(WMView *view, Atom selection, Time timestamp,
|
Bool WMCreateSelectionHandler(WMView *view, Atom selection, Time timestamp,
|
||||||
@@ -678,7 +685,7 @@ Bool WMRequestSelection(WMView *view, Atom selection, Atom target,
|
|||||||
|
|
||||||
extern char *WMSelectionOwnerDidChangeNotification;
|
extern char *WMSelectionOwnerDidChangeNotification;
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/dragcommon.c ]---------------------------------------------- */
|
||||||
|
|
||||||
WMArray* WMCreateDragOperationArray(int initialSize);
|
WMArray* WMCreateDragOperationArray(int initialSize);
|
||||||
|
|
||||||
@@ -689,6 +696,8 @@ WMDragOperationType WMGetDragOperationItemType(WMDragOperationItem* item);
|
|||||||
|
|
||||||
char* WMGetDragOperationItemText(WMDragOperationItem* item);
|
char* WMGetDragOperationItemText(WMDragOperationItem* item);
|
||||||
|
|
||||||
|
/* ---[ WINGs/dragsource.c ]---------------------------------------------- */
|
||||||
|
|
||||||
void WMSetViewDragImage(WMView* view, WMPixmap *dragImage);
|
void WMSetViewDragImage(WMView* view, WMPixmap *dragImage);
|
||||||
|
|
||||||
void WMReleaseViewDragImage(WMView* view);
|
void WMReleaseViewDragImage(WMView* view);
|
||||||
@@ -709,18 +718,18 @@ void WMSetViewDraggable(WMView *view, WMDragSourceProcs *procs, WMPixmap *dragIm
|
|||||||
|
|
||||||
void WMUnsetViewDraggable(WMView *view);
|
void WMUnsetViewDraggable(WMView *view);
|
||||||
|
|
||||||
|
/* ---[ WINGs/dragdestination.c ]----------------------------------------- */
|
||||||
|
|
||||||
void WMRegisterViewForDraggedTypes(WMView *view, WMArray *acceptedTypes);
|
void WMRegisterViewForDraggedTypes(WMView *view, WMArray *acceptedTypes);
|
||||||
|
|
||||||
void WMUnregisterViewDraggedTypes(WMView *view);
|
void WMUnregisterViewDraggedTypes(WMView *view);
|
||||||
|
|
||||||
void WMSetViewDragDestinationProcs(WMView *view, WMDragDestinationProcs *procs);
|
void WMSetViewDragDestinationProcs(WMView *view, WMDragDestinationProcs *procs);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wfont.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
Bool WMIsAntialiasingEnabled(WMScreen *scrPtr);
|
Bool WMIsAntialiasingEnabled(WMScreen *scrPtr);
|
||||||
|
|
||||||
/* ....................................................................... */
|
|
||||||
|
|
||||||
WMFont* WMCreateFont(WMScreen *scrPtr, char *fontName);
|
WMFont* WMCreateFont(WMScreen *scrPtr, char *fontName);
|
||||||
|
|
||||||
WMFont* WMCopyFontWithStyle(WMScreen *scrPtr, WMFont *font, WMFontStyle style);
|
WMFont* WMCopyFontWithStyle(WMScreen *scrPtr, WMFont *font, WMFontStyle style);
|
||||||
@@ -745,7 +754,16 @@ WMFont* WMSystemFontOfSize(WMScreen *scrPtr, int size);
|
|||||||
|
|
||||||
WMFont* WMBoldSystemFontOfSize(WMScreen *scrPtr, int size);
|
WMFont* WMBoldSystemFontOfSize(WMScreen *scrPtr, int size);
|
||||||
|
|
||||||
/* ....................................................................... */
|
void WMDrawString(WMScreen *scr, Drawable d, WMColor *color, WMFont *font,
|
||||||
|
int x, int y, char *text, int length);
|
||||||
|
|
||||||
|
void WMDrawImageString(WMScreen *scr, Drawable d, WMColor *color,
|
||||||
|
WMColor *background, WMFont *font, int x, int y,
|
||||||
|
char *text, int length);
|
||||||
|
|
||||||
|
int WMWidthOfString(WMFont *font, char *text, int length);
|
||||||
|
|
||||||
|
/* ---[ WINGs/wpixmap.c ]------------------------------------------------- */
|
||||||
|
|
||||||
WMPixmap* WMRetainPixmap(WMPixmap *pixmap);
|
WMPixmap* WMRetainPixmap(WMPixmap *pixmap);
|
||||||
|
|
||||||
@@ -781,7 +799,7 @@ Pixmap WMGetPixmapMaskXID(WMPixmap *pixmap);
|
|||||||
|
|
||||||
WMPixmap* WMGetSystemPixmap(WMScreen *scr, int image);
|
WMPixmap* WMGetSystemPixmap(WMScreen *scr, int image);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wcolor.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
WMColor* WMDarkGrayColor(WMScreen *scr);
|
WMColor* WMDarkGrayColor(WMScreen *scr);
|
||||||
@@ -829,21 +847,7 @@ unsigned short WMGetColorAlpha(WMColor *color);
|
|||||||
|
|
||||||
char* WMGetColorRGBDescription(WMColor *color);
|
char* WMGetColorRGBDescription(WMColor *color);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/widgets.c ]------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
void WMDrawString(WMScreen *scr, Drawable d, WMColor *color, WMFont *font,
|
|
||||||
int x, int y, char *text, int length);
|
|
||||||
|
|
||||||
void WMDrawImageString(WMScreen *scr, Drawable d, WMColor *color,
|
|
||||||
WMColor *background, WMFont *font, int x, int y,
|
|
||||||
char *text, int length);
|
|
||||||
|
|
||||||
int WMWidthOfString(WMFont *font, char *text, int length);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ....................................................................... */
|
|
||||||
|
|
||||||
WMScreen* WMWidgetScreen(WMWidget *w);
|
WMScreen* WMWidgetScreen(WMWidget *w);
|
||||||
|
|
||||||
@@ -889,10 +893,12 @@ unsigned int WMWidgetHeight(WMWidget *w);
|
|||||||
|
|
||||||
Window WMWidgetXID(WMWidget *w);
|
Window WMWidgetXID(WMWidget *w);
|
||||||
|
|
||||||
Window WMViewXID(WMView *view);
|
|
||||||
|
|
||||||
void WMRedisplayWidget(WMWidget *w);
|
void WMRedisplayWidget(WMWidget *w);
|
||||||
|
|
||||||
|
/* ---[ WINGs/wview.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
|
Window WMViewXID(WMView *view);
|
||||||
|
|
||||||
void WMSetViewNotifySizeChanges(WMView *view, Bool flag);
|
void WMSetViewNotifySizeChanges(WMView *view, Bool flag);
|
||||||
|
|
||||||
void WMSetViewExpandsToParent(WMView *view, int topOffs, int leftOffs,
|
void WMSetViewExpandsToParent(WMView *view, int topOffs, int leftOffs,
|
||||||
@@ -906,10 +912,6 @@ WMPoint WMGetViewScreenPosition(WMView *view);
|
|||||||
|
|
||||||
WMWidget* WMWidgetOfView(WMView *view);
|
WMWidget* WMWidgetOfView(WMView *view);
|
||||||
|
|
||||||
void WMSetViewNextResponder(WMView *view, WMView *responder);
|
|
||||||
|
|
||||||
void WMRelayToNextResponder(WMView *view, XEvent *event);
|
|
||||||
|
|
||||||
/* notifications */
|
/* notifications */
|
||||||
extern char *WMViewSizeDidChangeNotification;
|
extern char *WMViewSizeDidChangeNotification;
|
||||||
|
|
||||||
@@ -917,8 +919,7 @@ extern char *WMViewFocusDidChangeNotification;
|
|||||||
|
|
||||||
extern char *WMViewRealizedNotification;
|
extern char *WMViewRealizedNotification;
|
||||||
|
|
||||||
|
/* ---[ WINGs/wballoon.c ]------------------------------------------------ */
|
||||||
/* ....................................................................... */
|
|
||||||
|
|
||||||
void WMSetBalloonTextForView(char *text, WMView *view);
|
void WMSetBalloonTextForView(char *text, WMView *view);
|
||||||
|
|
||||||
@@ -933,7 +934,7 @@ void WMSetBalloonDelay(WMScreen *scr, int delay);
|
|||||||
void WMSetBalloonEnabled(WMScreen *scr, Bool flag);
|
void WMSetBalloonEnabled(WMScreen *scr, Bool flag);
|
||||||
|
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wwindow.c ]------------------------------------------------- */
|
||||||
|
|
||||||
WMWindow* WMCreateWindow(WMScreen *screen, char *name);
|
WMWindow* WMCreateWindow(WMScreen *screen, char *name);
|
||||||
|
|
||||||
@@ -977,7 +978,7 @@ void WMSetWindowDocumentEdited(WMWindow *win, Bool flag);
|
|||||||
|
|
||||||
void WMCloseWindow(WMWindow *win);
|
void WMCloseWindow(WMWindow *win);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wbutton.c ]------------------------------------------------- */
|
||||||
|
|
||||||
void WMSetButtonAction(WMButton *bPtr, WMAction *action, void *clientData);
|
void WMSetButtonAction(WMButton *bPtr, WMAction *action, void *clientData);
|
||||||
|
|
||||||
@@ -1041,7 +1042,7 @@ void WMSetButtonContinuous(WMButton *bPtr, Bool flag);
|
|||||||
|
|
||||||
void WMSetButtonPeriodicDelay(WMButton *bPtr, float delay, float interval);
|
void WMSetButtonPeriodicDelay(WMButton *bPtr, float delay, float interval);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wlabel.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
WMLabel* WMCreateLabel(WMWidget *parent);
|
WMLabel* WMCreateLabel(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1067,7 +1068,7 @@ void WMSetLabelFont(WMLabel *lPtr, WMFont *font);
|
|||||||
|
|
||||||
void WMSetLabelTextColor(WMLabel *lPtr, WMColor *color);
|
void WMSetLabelTextColor(WMLabel *lPtr, WMColor *color);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wframe.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
WMFrame* WMCreateFrame(WMWidget *parent);
|
WMFrame* WMCreateFrame(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1077,7 +1078,7 @@ void WMSetFrameRelief(WMFrame *fPtr, WMReliefType relief);
|
|||||||
|
|
||||||
void WMSetFrameTitle(WMFrame *fPtr, char *title);
|
void WMSetFrameTitle(WMFrame *fPtr, char *title);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wtextfield.c ]---------------------------------------------- */
|
||||||
|
|
||||||
WMTextField* WMCreateTextField(WMWidget *parent);
|
WMTextField* WMCreateTextField(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1124,7 +1125,7 @@ extern char *WMTextDidChangeNotification;
|
|||||||
extern char *WMTextDidBeginEditingNotification;
|
extern char *WMTextDidBeginEditingNotification;
|
||||||
extern char *WMTextDidEndEditingNotification;
|
extern char *WMTextDidEndEditingNotification;
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wscroller.c ]----------------------------------------------- */
|
||||||
|
|
||||||
WMScroller* WMCreateScroller(WMWidget *parent);
|
WMScroller* WMCreateScroller(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1144,7 +1145,7 @@ void WMSetScrollerArrowsPosition(WMScroller *sPtr,
|
|||||||
|
|
||||||
extern char *WMScrollerDidScrollNotification;
|
extern char *WMScrollerDidScrollNotification;
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wlist.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
WMList* WMCreateList(WMWidget *parent);
|
WMList* WMCreateList(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1224,7 +1225,7 @@ Bool WMListAllowsEmptySelection(WMList *lPtr);
|
|||||||
extern char *WMListDidScrollNotification;
|
extern char *WMListDidScrollNotification;
|
||||||
extern char *WMListSelectionDidChangeNotification;
|
extern char *WMListSelectionDidChangeNotification;
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wbrowser.c ]------------------------------------------------ */
|
||||||
|
|
||||||
WMBrowser* WMCreateBrowser(WMWidget *parent);
|
WMBrowser* WMCreateBrowser(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1292,7 +1293,7 @@ Bool WMBrowserAllowsEmptySelection(WMBrowser *bPtr);
|
|||||||
|
|
||||||
void WMSetBrowserHasScroller(WMBrowser *bPtr, int hasScroller);
|
void WMSetBrowserHasScroller(WMBrowser *bPtr, int hasScroller);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wmenuitem.c ]----------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
Bool WMMenuItemIsSeparator(WMMenuItem *item);
|
Bool WMMenuItemIsSeparator(WMMenuItem *item);
|
||||||
@@ -1355,7 +1356,7 @@ WMMenu* WMGetMenuItemSubmenu(WMMenuItem *item);
|
|||||||
Bool WMGetMenuItemHasSubmenu(WMMenuItem *item);
|
Bool WMGetMenuItemHasSubmenu(WMMenuItem *item);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wpopupbutton.c ]-------------------------------------------- */
|
||||||
|
|
||||||
WMPopUpButton* WMCreatePopUpButton(WMWidget *parent);
|
WMPopUpButton* WMCreatePopUpButton(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1392,7 +1393,7 @@ void WMSetPopUpButtonEnabled(WMPopUpButton *bPtr, Bool flag);
|
|||||||
|
|
||||||
Bool WMGetPopUpButtonEnabled(WMPopUpButton *bPtr);
|
Bool WMGetPopUpButtonEnabled(WMPopUpButton *bPtr);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wcolorpanel.c ]--------------------------------------------- */
|
||||||
|
|
||||||
WMColorPanel* WMGetColorPanel(WMScreen *scrPtr);
|
WMColorPanel* WMGetColorPanel(WMScreen *scrPtr);
|
||||||
|
|
||||||
@@ -1412,7 +1413,7 @@ void WMSetColorPanelAction(WMColorPanel *panel, WMAction2 *action, void *data);
|
|||||||
|
|
||||||
extern char *WMColorPanelColorChangedNotification;
|
extern char *WMColorPanelColorChangedNotification;
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wcolorwell.c ]---------------------------------------------- */
|
||||||
|
|
||||||
WMColorWell* WMCreateColorWell(WMWidget *parent);
|
WMColorWell* WMCreateColorWell(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1426,7 +1427,7 @@ void WSetColorWellBordered(WMColorWell *cPtr, Bool flag);
|
|||||||
extern char *WMColorWellDidChangeNotification;
|
extern char *WMColorWellDidChangeNotification;
|
||||||
|
|
||||||
|
|
||||||
/* ...................................................................... */
|
/* ---[ WINGs/wscrollview.c ]--------------------------------------------- */
|
||||||
|
|
||||||
WMScrollView* WMCreateScrollView(WMWidget *parent);
|
WMScrollView* WMCreateScrollView(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1451,7 +1452,7 @@ void WMSetScrollViewLineScroll(WMScrollView *sPtr, int amount);
|
|||||||
|
|
||||||
void WMSetScrollViewPageScroll(WMScrollView *sPtr, int amount);
|
void WMSetScrollViewPageScroll(WMScrollView *sPtr, int amount);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wslider.c ]------------------------------------------------- */
|
||||||
|
|
||||||
WMSlider* WMCreateSlider(WMWidget *parent);
|
WMSlider* WMCreateSlider(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1475,7 +1476,7 @@ void WMSetSliderKnobThickness(WMSlider *sPtr, int thickness);
|
|||||||
|
|
||||||
void WMSetSliderImage(WMSlider *sPtr, WMPixmap *pixmap);
|
void WMSetSliderImage(WMSlider *sPtr, WMPixmap *pixmap);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wsplitview.c ]---------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
WMSplitView* WMCreateSplitView(WMWidget *parent);
|
WMSplitView* WMCreateSplitView(WMWidget *parent);
|
||||||
@@ -1508,7 +1509,7 @@ void WMSetSplitViewResizeSubviewsProc(WMSplitView *sPtr,
|
|||||||
|
|
||||||
int WMGetSplitViewDividerThickness(WMSplitView *sPtr);
|
int WMGetSplitViewDividerThickness(WMSplitView *sPtr);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wtabview.c ]------------------------------------------------ */
|
||||||
|
|
||||||
|
|
||||||
WMTabView* WMCreateTabView(WMWidget *parent);
|
WMTabView* WMCreateTabView(WMWidget *parent);
|
||||||
@@ -1564,7 +1565,7 @@ WMView* WMGetTabViewItemView(WMTabViewItem *item);
|
|||||||
void WMDestroyTabViewItem(WMTabViewItem *item);
|
void WMDestroyTabViewItem(WMTabViewItem *item);
|
||||||
|
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wbox.c ]---------------------------------------------------- */
|
||||||
|
|
||||||
WMBox* WMCreateBox(WMWidget *parent);
|
WMBox* WMCreateBox(WMWidget *parent);
|
||||||
|
|
||||||
@@ -1580,7 +1581,7 @@ void WMRemoveBoxSubview(WMBox *bPtr, WMView *view);
|
|||||||
|
|
||||||
void WMSetBoxHorizontal(WMBox *box, Bool flag);
|
void WMSetBoxHorizontal(WMBox *box, Bool flag);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wpanel.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
int WMRunAlertPanel(WMScreen *app, WMWindow *owner, char *title, char *msg,
|
int WMRunAlertPanel(WMScreen *app, WMWindow *owner, char *title, char *msg,
|
||||||
char *defaultButton, char *alternateButton,
|
char *defaultButton, char *alternateButton,
|
||||||
@@ -1609,7 +1610,7 @@ void WMDestroyInputPanel(WMInputPanel *panel);
|
|||||||
|
|
||||||
void WMDestroyGenericPanel(WMGenericPanel *panel);
|
void WMDestroyGenericPanel(WMGenericPanel *panel);
|
||||||
|
|
||||||
/* ....................................................................... */
|
/* ---[ WINGs/wfilepanel.c ]---------------------------------------------- */
|
||||||
|
|
||||||
/* only 1 instance per WMScreen */
|
/* only 1 instance per WMScreen */
|
||||||
WMOpenPanel* WMGetOpenPanel(WMScreen *scrPtr);
|
WMOpenPanel* WMGetOpenPanel(WMScreen *scrPtr);
|
||||||
@@ -1637,7 +1638,7 @@ void WMSetFilePanelAccessoryView(WMFilePanel *panel, WMView *view);
|
|||||||
WMView* WMGetFilePanelAccessoryView(WMFilePanel *panel);
|
WMView* WMGetFilePanelAccessoryView(WMFilePanel *panel);
|
||||||
|
|
||||||
|
|
||||||
/* ...................................................................... */
|
/* ---[ WINGs/wfontpanel.c ]---------------------------------------------- */
|
||||||
|
|
||||||
/* only 1 instance per WMScreen */
|
/* only 1 instance per WMScreen */
|
||||||
WMFontPanel* WMGetFontPanel(WMScreen *scr);
|
WMFontPanel* WMGetFontPanel(WMScreen *scr);
|
||||||
|
|||||||
@@ -160,12 +160,21 @@ typedef void WMNotificationObserverAction(void *observerData,
|
|||||||
WMNotification *notification);
|
WMNotification *notification);
|
||||||
|
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/memory.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
|
void* wmalloc(size_t size);
|
||||||
|
void* wrealloc(void *ptr, size_t newsize);
|
||||||
|
void wfree(void *ptr);
|
||||||
|
|
||||||
|
void wrelease(void *ptr);
|
||||||
|
void* wretain(void *ptr);
|
||||||
|
|
||||||
typedef void waborthandler(int);
|
typedef void waborthandler(int);
|
||||||
|
|
||||||
waborthandler* wsetabort(waborthandler* handler);
|
waborthandler* wsetabort(waborthandler* handler);
|
||||||
|
|
||||||
|
/* ---[ WINGs/error.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
WMESSAGE_TYPE_MESSAGE,
|
WMESSAGE_TYPE_MESSAGE,
|
||||||
WMESSAGE_TYPE_WARNING,
|
WMESSAGE_TYPE_WARNING,
|
||||||
@@ -181,6 +190,8 @@ enum {
|
|||||||
void __wmessage(const char *func, const char *file, int line, int type, const char *msg, ...)
|
void __wmessage(const char *func, const char *file, int line, int type, const char *msg, ...)
|
||||||
__attribute__((__format__(printf,5,6)));
|
__attribute__((__format__(printf,5,6)));
|
||||||
|
|
||||||
|
/* ---[ WINGs/findfile.c ]------------------------------------------------ */
|
||||||
|
|
||||||
char* wfindfile(char *paths, char *file);
|
char* wfindfile(char *paths, char *file);
|
||||||
|
|
||||||
char* wfindfileinlist(char **path_list, char *file);
|
char* wfindfileinlist(char **path_list, char *file);
|
||||||
@@ -189,18 +200,15 @@ char* wfindfileinarray(WMPropList* array, char *file);
|
|||||||
|
|
||||||
char* wexpandpath(char *path);
|
char* wexpandpath(char *path);
|
||||||
|
|
||||||
int wmkdirhier(const char *path);
|
|
||||||
int wrmdirhier(const char *path);
|
|
||||||
|
|
||||||
/* don't free the returned string */
|
/* don't free the returned string */
|
||||||
char* wgethomedir(void);
|
char* wgethomedir(void);
|
||||||
|
|
||||||
void* wmalloc(size_t size);
|
/* ---[ WINGs/proplist.c ]------------------------------------------------ */
|
||||||
void* wrealloc(void *ptr, size_t newsize);
|
|
||||||
void wfree(void *ptr);
|
|
||||||
|
|
||||||
void wrelease(void *ptr);
|
int wmkdirhier(const char *path);
|
||||||
void* wretain(void *ptr);
|
int wrmdirhier(const char *path);
|
||||||
|
|
||||||
|
/* ---[ WINGs/string.c ]-------------------------------------------------- */
|
||||||
|
|
||||||
char *wstrdup(const char *str);
|
char *wstrdup(const char *str);
|
||||||
char* wstrndup(const char *str, size_t len);
|
char* wstrndup(const char *str, size_t len);
|
||||||
@@ -234,18 +242,15 @@ void wtokenfree(char **tokens, int count);
|
|||||||
|
|
||||||
char* wtrimspace(const char *s);
|
char* wtrimspace(const char *s);
|
||||||
|
|
||||||
|
/* ---[ WINGs/wmisc.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
WMRange wmkrange(int start, int count);
|
WMRange wmkrange(int start, int count);
|
||||||
|
|
||||||
|
/* ---[ WINGs/usleep.c ]-------------------------------------------------- */
|
||||||
char* wusergnusteppath(void);
|
|
||||||
|
|
||||||
char* wdefaultspathfordomain(char *domain);
|
|
||||||
char* wglobaldefaultspathfordomain(const char *domain);
|
|
||||||
|
|
||||||
void wusleep(unsigned int microsec);
|
void wusleep(unsigned int microsec);
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/handlers.c ]------------------------------------------------ */
|
||||||
|
|
||||||
/* Event handlers: timer, idle, input */
|
/* Event handlers: timer, idle, input */
|
||||||
|
|
||||||
@@ -276,7 +281,7 @@ void WMDeleteInputHandler(WMHandlerID handlerID);
|
|||||||
|
|
||||||
void WHandleEvents(void);
|
void WHandleEvents(void);
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/hashtable.c ]----------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
WMHashTable* WMCreateHashTable(WMHashTableCallbacks callbacks);
|
WMHashTable* WMCreateHashTable(WMHashTableCallbacks callbacks);
|
||||||
@@ -337,7 +342,7 @@ extern const WMHashTableCallbacks WMStringPointerHashCallbacks;
|
|||||||
/* keys are strings, but they are not copied */
|
/* keys are strings, but they are not copied */
|
||||||
|
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/array.c ]--------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* WMArray use an array to store the elements.
|
* WMArray use an array to store the elements.
|
||||||
@@ -437,7 +442,7 @@ void* WMArrayPrevious(WMArray *array, WMArrayIterator *iter);
|
|||||||
for (var = WMArrayLast(array, &(i)); (i) != WANotFound; \
|
for (var = WMArrayLast(array, &(i)); (i) != WANotFound; \
|
||||||
var = WMArrayPrevious(array, &(i)))
|
var = WMArrayPrevious(array, &(i)))
|
||||||
|
|
||||||
/*..........................................................................*/
|
/* ---[ WINGs/bagtree.c ]------------------------------------------------- */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tree bags use a red-black tree for storage.
|
* Tree bags use a red-black tree for storage.
|
||||||
@@ -529,7 +534,7 @@ int WMBagIndexForIterator(WMBag *bag, WMBagIterator ptr);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*/
|
/* ---[ WINGs/data.c ]---------------------------------------------------- */
|
||||||
|
|
||||||
/* WMData handling */
|
/* WMData handling */
|
||||||
|
|
||||||
@@ -599,7 +604,7 @@ unsigned WMGetDataFormat(WMData *aData);
|
|||||||
/* Storing data */
|
/* Storing data */
|
||||||
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/* ---[ WINGs/data.c ]---------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
WMNotification* WMCreateNotification(const char *name, void *object, void *clientData);
|
WMNotification* WMCreateNotification(const char *name, void *object, void *clientData);
|
||||||
@@ -645,7 +650,7 @@ void WMEnqueueCoalesceNotification(WMNotificationQueue *queue,
|
|||||||
unsigned coalesceMask);
|
unsigned coalesceMask);
|
||||||
|
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/proplist.c ]------------------------------------------------ */
|
||||||
|
|
||||||
/* Property Lists handling */
|
/* Property Lists handling */
|
||||||
|
|
||||||
@@ -747,7 +752,13 @@ WMPropList* WMReadPropListFromFile(char *file);
|
|||||||
|
|
||||||
Bool WMWritePropListToFile(WMPropList *plist, char *path);
|
Bool WMWritePropListToFile(WMPropList *plist, char *path);
|
||||||
|
|
||||||
/*......................................................................*/
|
/* ---[ WINGs/userdefaults.c ]-------------------------------------------- */
|
||||||
|
|
||||||
|
char* wusergnusteppath(void);
|
||||||
|
|
||||||
|
char* wdefaultspathfordomain(char *domain);
|
||||||
|
|
||||||
|
char* wglobaldefaultspathfordomain(const char *domain);
|
||||||
|
|
||||||
WMUserDefaults* WMGetStandardUserDefaults(void);
|
WMUserDefaults* WMGetStandardUserDefaults(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user