mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Rename File & Name specification
This commit is contained in:
parent
f91459ed9f
commit
d440db9d33
@ -1,7 +1,7 @@
|
|||||||
#include "io.h"
|
#include "io.h"
|
||||||
// #include "os.h"
|
// #include "os.h"
|
||||||
// #include "bmp_io_init.h"
|
// #include "bmp_io_c.h"
|
||||||
#include "png_io_init.h"
|
#include "png_io_c.h"
|
||||||
#include <stdio.h> /* For fputs() */
|
#include <stdio.h> /* For fputs() */
|
||||||
#include <string.h> /* For strcmp() */
|
#include <string.h> /* For strcmp() */
|
||||||
#include <ctype.h> /* For tolower() */
|
#include <ctype.h> /* For tolower() */
|
@ -2,8 +2,8 @@
|
|||||||
#ifndef PNG_IO_H
|
#ifndef PNG_IO_H
|
||||||
#define PNG_IO_H
|
#define PNG_IO_H
|
||||||
|
|
||||||
// #include "MMBitmap_init.h"
|
// #include "MMBitmap_c.h"
|
||||||
// #include "io_init.h"
|
// #include "io_c.h"
|
||||||
|
|
||||||
enum _PNGReadError {
|
enum _PNGReadError {
|
||||||
kPNGGenericError = 0,
|
kPNGGenericError = 0,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "str_io.h"
|
#include "str_io.h"
|
||||||
#include "zlib_util_init.h"
|
#include "zlib_util_c.h"
|
||||||
#include "base64_init.h"
|
#include "base64_c.h"
|
||||||
#include "snprintf_init.h" /* snprintf() */
|
#include "snprintf_c.h" /* snprintf() */
|
||||||
#include <stdio.h> /* fputs() */
|
#include <stdio.h> /* fputs() */
|
||||||
#include <ctype.h> /* isdigit() */
|
#include <ctype.h> /* isdigit() */
|
||||||
#include <stdlib.h> /* atoi() */
|
#include <stdlib.h> /* atoi() */
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// #include "../base/types.h"
|
// #include "../base/types.h"
|
||||||
#include "../base/MMBitmap.h"
|
#include "../base/MMBitmap.h"
|
||||||
#include "../base/MMPointArray_init.h"
|
#include "../base/MMPointArray_c.h"
|
||||||
|
|
||||||
/* Convenience wrapper around findBitmapInRect(), where |rect| is the bounds
|
/* Convenience wrapper around findBitmapInRect(), where |rect| is the bounds
|
||||||
* of |haystack|. */
|
* of |haystack|. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "bitmap_find.h"
|
#include "bitmap_find.h"
|
||||||
#include "../base/UTHashTable_init.h"
|
#include "../base/UTHashTable_c.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
/* Node to be used in hash table. */
|
/* Node to be used in hash table. */
|
||||||
|
@ -20,11 +20,11 @@
|
|||||||
// };
|
// };
|
||||||
#include "bitmap_class.h"
|
#include "bitmap_class.h"
|
||||||
#include "bitmap_find_c.h"
|
#include "bitmap_find_c.h"
|
||||||
#include "../base/color_find_init.h"
|
#include "../base/color_find_c.h"
|
||||||
// #include "../screen/screen_c.h"
|
// #include "../screen/screen_c.h"
|
||||||
#include "../base/io_init.h"
|
#include "../base/io_c.h"
|
||||||
#include "../base/pasteboard_init.h"
|
#include "../base/pasteboard_c.h"
|
||||||
#include "../base/str_io_init.h"
|
#include "../base/str_io_c.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "keypress.h"
|
#include "keypress.h"
|
||||||
// #include "../base/deadbeef_rand_init.h"
|
// #include "../base/deadbeef_rand_c.h"
|
||||||
#include "../base/microsleep.h"
|
#include "../base/microsleep.h"
|
||||||
|
|
||||||
#include <ctype.h> /* For isupper() */
|
#include <ctype.h> /* For isupper() */
|
||||||
@ -10,7 +10,7 @@
|
|||||||
#import <IOKit/hidsystem/ev_keymap.h>
|
#import <IOKit/hidsystem/ev_keymap.h>
|
||||||
#elif defined(USE_X11)
|
#elif defined(USE_X11)
|
||||||
#include <X11/extensions/XTest.h>
|
#include <X11/extensions/XTest.h>
|
||||||
// #include "../base/xdisplay_init.h"
|
// #include "../base/xdisplay_c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Convenience wrappers around ugly APIs. */
|
/* Convenience wrappers around ugly APIs. */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "mouse.h"
|
#include "mouse.h"
|
||||||
// #include "../screen/screen.h"
|
// #include "../screen/screen.h"
|
||||||
// #include "../screen/screen_init.h"
|
// #include "../screen/screen_c.h"
|
||||||
#include "../base/deadbeef_rand_init.h"
|
#include "../base/deadbeef_rand_c.h"
|
||||||
// #include "../deadbeef_rand.h"
|
// #include "../deadbeef_rand.h"
|
||||||
#include "../base/microsleep.h"
|
#include "../base/microsleep.h"
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/extensions/XTest.h>
|
#include <X11/extensions/XTest.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
// #include "../base/xdisplay_init.h"
|
// #include "../base/xdisplay_c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(M_SQRT2)
|
#if !defined(M_SQRT2)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "../base/types.h"
|
#include "../base/types.h"
|
||||||
#include "screengrab_c.h"
|
#include "screengrab_c.h"
|
||||||
#include "screen_c.h"
|
#include "screen_c.h"
|
||||||
// #include "../MMBitmap_init.h"
|
// #include "../MMBitmap_c.h"
|
||||||
|
|
||||||
void padHex(MMRGBHex color, char* hex){
|
void padHex(MMRGBHex color, char* hex){
|
||||||
//Length needs to be 7 because snprintf includes a terminating null.
|
//Length needs to be 7 because snprintf includes a terminating null.
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include <ApplicationServices/ApplicationServices.h>
|
#include <ApplicationServices/ApplicationServices.h>
|
||||||
#elif defined(USE_X11)
|
#elif defined(USE_X11)
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
// #include "../base/xdisplay_init.h"
|
// #include "../base/xdisplay_c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MMSize getMainDisplaySize(void)
|
MMSize getMainDisplaySize(void)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define SCREENGRAB_H
|
#define SCREENGRAB_H
|
||||||
|
|
||||||
#include "../base/types.h"
|
#include "../base/types.h"
|
||||||
#include "../base/MMBitmap_init.h"
|
#include "../base/MMBitmap_c.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "screengrab.h"
|
#include "screengrab.h"
|
||||||
#include "../base/bmp_io_init.h"
|
#include "../base/bmp_io_c.h"
|
||||||
#include "../base/endian.h"
|
#include "../base/endian.h"
|
||||||
#include <stdlib.h> /* malloc() */
|
#include <stdlib.h> /* malloc() */
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
#elif defined(USE_X11)
|
#elif defined(USE_X11)
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include "../base/xdisplay_init.h"
|
#include "../base/xdisplay_c.h"
|
||||||
#elif defined(IS_WINDOWS)
|
#elif defined(IS_WINDOWS)
|
||||||
// #include "windows.h"
|
// #include "windows.h"
|
||||||
// #include <wingdi.h>
|
// #include <wingdi.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user