screenshot.h
author tron
Wed, 21 Jun 2006 19:39:23 +0000
branch0.4
changeset 10042 9a5166f890ee
parent 9959 984493ab6fff
permissions -rw-r--r--
(svn r5330) -Backport: r5292, r5293, r5295, r5297
-Fix: When using SIOCGIFCONF to detect network interfaces accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations
-Fix: Not all network interfaces are capable of broadcasting. Don't record those which aren't
-Fix: Not all networks are /24. Generate proper broadcast addresses for non-/24 nets
9959
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     1
/* $Id$ */
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     2
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     3
#ifndef SCREENSHOT_H
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     4
#define SCREENSHOT_H
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     5
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     6
void InitializeScreenshotFormats(void);
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     7
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     8
const char *GetScreenshotFormatDesc(int i);
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
     9
void SetScreenshotFormat(int i);
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    10
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    11
bool MakeScreenshot(void);
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    12
bool MakeWorldScreenshot(int left, int top, int width, int height, int zoom);
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    13
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    14
extern char _screenshot_format_name[8];
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    15
extern uint _num_screenshot_formats;
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    16
extern uint _cur_screenshot_format;
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    17
984493ab6fff (svn r4044) Rename 0.4.5 branch to 0.4. Further minor releases will be in the 0.4 range, to prevent enormously long version numbers.
matthijs
parents: -1
diff changeset
    18
#endif /* SCREENSHOT_H */