Further work on animated GIF export: XDG Pictures
Using XDG's user dir settings to determine where pictures are stored for a user (e.g., "~/Pictures" -- used as a fallback). May be overridden using "--exportdir". Also, while I was updating some docs, replace references to "Mac OS X" with "macOS", the new name of that OS these days.
This commit is contained in:
parent
683bbf5f19
commit
f8cce36435
13 changed files with 329 additions and 68 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
get_fname.h
|
||||
|
||||
Copyright (c) 2009
|
||||
Copyright (c) 2009 - July 25, 2020
|
||||
http://www.tuxpaint.org/
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -27,11 +27,14 @@
|
|||
|
||||
extern const char *savedir;
|
||||
extern const char *datadir;
|
||||
extern const char *exportdir;
|
||||
|
||||
enum
|
||||
{
|
||||
/* (See get_fname.c for details) */
|
||||
DIR_SAVE,
|
||||
DIR_DATA
|
||||
DIR_DATA,
|
||||
DIR_EXPORT
|
||||
};
|
||||
|
||||
char *get_fname(const char *const name, int kind);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue