mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
WindowMaker: Header files clean code
Changes:
- Spaces replaced by tabs in the structs
- Removed unused variables:
- has_titlebar, never used
- Functions sort by return type
This commit is contained in:
committed by
Carlos R. Mafra
parent
0db76b822d
commit
1b0ed30b9b
@@ -22,42 +22,32 @@
|
||||
#define WMDEFAULTS_H_
|
||||
|
||||
typedef struct WDDomain {
|
||||
char *domain_name;
|
||||
WMPropList *dictionary;
|
||||
char *path;
|
||||
time_t timestamp;
|
||||
char *domain_name;
|
||||
WMPropList *dictionary;
|
||||
char *path;
|
||||
time_t timestamp;
|
||||
} WDDomain;
|
||||
|
||||
#if 0
|
||||
WMPropList* wDefaultsInit(int screen_number);
|
||||
#endif
|
||||
|
||||
|
||||
WDDomain* wDefaultsInitDomain(char *domain, Bool requireDictionary);
|
||||
WDDomain * wDefaultsInitDomain(char *domain, Bool requireDictionary);
|
||||
|
||||
void wDefaultsMergeGlobalMenus(WDDomain *menuDomain);
|
||||
|
||||
void wReadDefaults(WScreen *scr, WMPropList *new_dict);
|
||||
|
||||
void wDefaultUpdateIcons(WScreen *scr);
|
||||
|
||||
void wReadStaticDefaults(WMPropList *dict);
|
||||
|
||||
void wDefaultsCheckDomains(void *arg);
|
||||
|
||||
void wSaveDefaults(WScreen *scr);
|
||||
|
||||
char *wDefaultGetIconFile(WScreen *scr, char *instance, char *class,
|
||||
Bool noDefault);
|
||||
|
||||
RImage *wDefaultGetImage(WScreen *scr, char *winstance, char *wclass, int max_size);
|
||||
|
||||
void wDefaultFillAttributes(WScreen *scr, char *instance, char *class,
|
||||
WWindowAttributes *attr, WWindowAttributes *mask,
|
||||
Bool useGlobalDefault);
|
||||
|
||||
|
||||
char * wDefaultGetIconFile(WScreen *scr, char *instance, char *class,
|
||||
Bool noDefault);
|
||||
|
||||
RImage * wDefaultGetImage(WScreen *scr, char *winstance, char *wclass, int max_size);
|
||||
|
||||
|
||||
int wDefaultGetStartWorkspace(WScreen *scr, char *instance, char *class);
|
||||
|
||||
void wDefaultChangeIcon(WScreen *scr, char *instance, char* class, char *file);
|
||||
|
||||
#endif /* WMDEFAULTS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user