Yes I did it again ;)
added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include <config.h> #endif Kent -- mein@cs.umn.edu
This commit is contained in:
@@ -30,11 +30,13 @@
|
||||
*/
|
||||
|
||||
#ifndef GHOST_C_API_H
|
||||
|
||||
#define GHOST_C_API_H
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_IEVENT_H_
|
||||
#define _GHOST_IEVENT_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
class GHOST_IWindow;
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_IEVENT_CONSUMER_H_
|
||||
#define _GHOST_IEVENT_CONSUMER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_IEvent.h"
|
||||
|
||||
/**
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_ISYSTEM_H_
|
||||
#define _GHOST_ISYSTEM_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
#include "GHOST_ITimerTask.h"
|
||||
#include "GHOST_IWindow.h"
|
||||
|
@@ -40,6 +40,9 @@
|
||||
#ifndef _GHOST_ITIMER_TASK_H_
|
||||
#define _GHOST_ITIMER_TASK_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_IWINDOW_H_
|
||||
#define _GHOST_IWINDOW_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "STR_String.h"
|
||||
#include "GHOST_Rect.h"
|
||||
#include "GHOST_Types.h"
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _H_GHOST_Rect
|
||||
#define _H_GHOST_Rect
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_TYPES_H_
|
||||
#define _GHOST_TYPES_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
typedef char GHOST_TInt8;
|
||||
typedef unsigned char GHOST_TUns8;
|
||||
typedef short GHOST_TInt16;
|
||||
|
@@ -39,6 +39,11 @@
|
||||
|
||||
#include "GHOST_Buttons.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
GHOST_Buttons::GHOST_Buttons()
|
||||
{
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_BUTTONS_H_
|
||||
#define _GHOST_BUTTONS_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "intern/GHOST_Debug.h"
|
||||
#include "GHOST_C-api.h"
|
||||
#include "GHOST_ISystem.h"
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date October 25, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Debug.h"
|
||||
#include "GHOST_C-api.h"
|
||||
#include "GHOST_CallbackEventConsumer.h"
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_CALLBACK_EVENT_CONSUMER_H_
|
||||
#define _GHOST_CALLBACK_EVENT_CONSUMER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_IEventConsumer.h"
|
||||
#include "GHOST_C-api.h"
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_DEBUG_H_
|
||||
#define _GHOST_DEBUG_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _DEBUG
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
|
@@ -37,8 +37,11 @@
|
||||
* @date September 21, 2001
|
||||
*/
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
#ifdef WIN32
|
||||
|
@@ -37,8 +37,11 @@
|
||||
* @date September 21, 2001
|
||||
*/
|
||||
|
||||
#include "GHOST_DisplayManagerCarbon.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_DisplayManagerCarbon.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
// We do not support multiple monitors at the moment
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_CARBON_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_CARBON_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple only!
|
||||
#endif // __APPLE__
|
||||
|
@@ -37,8 +37,11 @@
|
||||
* @date September 21, 2001
|
||||
*/
|
||||
|
||||
#include "GHOST_DisplayManagerWin32.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_DisplayManagerWin32.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
// We do not support multiple monitors at the moment
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_WIN32_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_WIN32_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
#endif // WIN32
|
||||
|
@@ -29,8 +29,11 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "GHOST_DisplayManagerX11.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_DisplayManagerX11.h"
|
||||
#include "GHOST_SystemX11.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,9 @@
|
||||
#ifndef _GHOST_DISPLAY_MANAGER_X11_H_
|
||||
#define _GHOST_DISPLAY_MANAGER_X11_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_DisplayManager.h"
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_H_
|
||||
#define _GHOST_EVENT_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_IEvent.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_BUTTON_H_
|
||||
#define _GHOST_EVENT_BUTTON_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
/**
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_CURSOR_H_
|
||||
#define _GHOST_EVENT_CURSOR_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
/**
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_KEY_H_
|
||||
#define _GHOST_EVENT_KEY_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Event.h"
|
||||
|
||||
/**
|
||||
|
@@ -38,11 +38,13 @@
|
||||
*/
|
||||
|
||||
#include "GHOST_EventManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
GHOST_EventManager::GHOST_EventManager()
|
||||
{
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_MANAGER_H_
|
||||
#define _GHOST_EVENT_MANAGER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
#endif // WIN32
|
||||
|
@@ -38,12 +38,15 @@
|
||||
*/
|
||||
|
||||
#include "GHOST_EventPrinter.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "GHOST_EventKey.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
bool GHOST_EventPrinter::processEvent(GHOST_IEvent* event)
|
||||
{
|
||||
bool handled = true;
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_EVENT_PRINTER_H_
|
||||
#define _GHOST_EVENT_PRINTER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_IEventConsumer.h"
|
||||
|
||||
#include "STR_String.h"
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 7, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_ISystem.h"
|
||||
|
||||
#ifdef WIN32
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 31, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_ModifierKeys.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_MODIFIER_KEYS_H_
|
||||
#define _GHOST_MODIFIER_KEYS_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Types.h"
|
||||
|
||||
struct GHOST_ModifierKeys
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Rect.h"
|
||||
|
||||
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 7, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_System.h"
|
||||
|
||||
#include <time.h>
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_SYSTEM_H_
|
||||
#define _GHOST_SYSTEM_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_ISystem.h"
|
||||
|
||||
#include "GHOST_Debug.h"
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 7, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_SystemCarbon.h"
|
||||
|
||||
#include "GHOST_DisplayManagerCarbon.h"
|
||||
|
@@ -46,8 +46,11 @@
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
#include "GHOST_System.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_System.h"
|
||||
|
||||
class GHOST_EventCursor;
|
||||
class GHOST_EventKey;
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_SYSTEM_CARBON_H_
|
||||
#define _GHOST_SYSTEM_CARBON_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
#endif // __APPLE__
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 7, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_SystemWin32.h"
|
||||
|
||||
|
||||
|
@@ -40,14 +40,18 @@
|
||||
#ifndef _GHOST_SYSTEM_WIN32_H_
|
||||
#define _GHOST_SYSTEM_WIN32_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
#endif // WIN32
|
||||
|
||||
#include "GHOST_System.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "GHOST_System.h"
|
||||
|
||||
#if defined(__CYGWIN32__)
|
||||
# define __int64 long long
|
||||
#endif
|
||||
|
@@ -60,6 +60,9 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_SystemX11.h"
|
||||
#include "GHOST_WindowX11.h"
|
||||
|
@@ -40,12 +40,16 @@
|
||||
#ifndef _GHOST_SYSTEM_X11_H_
|
||||
#define _GHOST_SYSTEM_X11_H_
|
||||
|
||||
#include "GHOST_System.h"
|
||||
#include "../GHOST_Types.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_System.h"
|
||||
#include "../GHOST_Types.h"
|
||||
|
||||
class GHOST_WindowX11;
|
||||
|
||||
/**
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 31, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_TimerManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_TIMER_MANAGER_H_
|
||||
#define _GHOST_TIMER_MANAGER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
#endif // WIN32
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_TIMER_TASK_H_
|
||||
#define _GHOST_TIMER_TASK_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_ITimerTask.h"
|
||||
|
||||
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 10, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Window.h"
|
||||
|
||||
|
||||
|
@@ -40,6 +40,9 @@
|
||||
#ifndef _GHOST_WINDOW_H_
|
||||
#define _GHOST_WINDOW_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_IWindow.h"
|
||||
|
||||
|
@@ -37,6 +37,10 @@
|
||||
* @date May 10, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_WindowCarbon.h"
|
||||
|
||||
#include "GHOST_Debug.h"
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_WINDOW_CARBON_H_
|
||||
#define _GHOST_WINDOW_CARBON_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef __APPLE__
|
||||
#error Apple OSX only!
|
||||
#endif // __APPLE__
|
||||
|
@@ -37,10 +37,12 @@
|
||||
* @date May 11, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_WindowManager.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "GHOST_Debug.h"
|
||||
#include "GHOST_Window.h"
|
||||
|
||||
|
@@ -40,6 +40,9 @@
|
||||
#ifndef _GHOST_WINDOW_MANAGER_H_
|
||||
#define _GHOST_WINDOW_MANAGER_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
|
||||
|
@@ -37,10 +37,12 @@
|
||||
* @date May 10, 2001
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "GHOST_WindowWin32.h"
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
LPCSTR GHOST_WindowWin32::s_windowClassName = "GHOST_WindowClass";
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_WINDOW_WIN32_H_
|
||||
#define _GHOST_WINDOW_WIN32_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#error WIN32 only!
|
||||
#endif // WIN32
|
||||
|
@@ -29,8 +29,11 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "GHOST_WindowX11.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_WindowX11.h"
|
||||
#include "GHOST_SystemX11.h"
|
||||
#include "STR_String.h"
|
||||
#include "GHOST_Debug.h"
|
||||
|
@@ -40,6 +40,10 @@
|
||||
#ifndef _GHOST_WINDOWX11_H_
|
||||
#define _GHOST_WINDOWX11_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_Window.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
@@ -46,6 +46,10 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "GHOST_C-api.h"
|
||||
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
|
@@ -44,6 +44,10 @@
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
|
@@ -31,6 +31,9 @@
|
||||
|
||||
#include "Basic.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
int min_i(int a, int b) {
|
||||
return (a<b)?a:b;
|
||||
|
@@ -29,6 +29,11 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
|
||||
int min_i (int a, int b);
|
||||
|
||||
int max_i (int a, int b);
|
||||
|
@@ -33,6 +33,10 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "GHOST_C-api.h"
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
char *eventtype_to_string(GHOST_TEventType type);
|
||||
|
||||
void event_to_buf(GHOST_EventHandle evt, char buf[128]);
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
|
||||
#ifdef WIN32
|
||||
|
@@ -41,6 +41,10 @@
|
||||
|
||||
#include "GL.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "GHOST_C-api.h"
|
||||
|
@@ -33,6 +33,10 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "Basic.h"
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
typedef struct _ScrollBar ScrollBar;
|
||||
|
||||
|
||||
|
@@ -35,6 +35,10 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "Util.h"
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
void* memdbl (void *mem, int *size_pr, int item_size);
|
||||
|
||||
char* string_dup (char *str);
|
||||
|
@@ -31,6 +31,9 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
@@ -29,6 +29,10 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
typedef void (*WindowDataHandler)(void *priv, GHOST_EventHandle evt);
|
||||
|
||||
typedef struct _WindowData WindowData;
|
||||
|
Reference in New Issue
Block a user