ManaPlus
Macros
debug.h File Reference

(aa4ebcf)

#include "localconsts.h"

Go to the source code of this file.

Macros

#define MIMG_LoadPNG_RW(src)   IMG_LoadPNG_RW(src)
 
#define MIMG_LoadJPG_RW(src)   IMG_LoadJPG_RW(src)
 
#define MSDL_FreeSurface(surface)   SDL_FreeSurface(surface)
 
#define MSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a)   SDL_CreateRGBSurface(flags, w, h, d, r, g, b, a)
 
#define MSDL_ConvertSurface(src, fmt, flags)   SDL_ConvertSurface(src, fmt, flags)
 
#define MTTF_RenderUTF8_Blended(font, text, fg)   TTF_RenderUTF8_Blended(font, text, fg)
 
#define MIMG_Load(file)   IMG_Load(file)
 
#define MSDL_DisplayFormatAlpha(surface)   SDL_DisplayFormatAlpha(surface)
 
#define MSDL_DisplayFormat(surface)   SDL_DisplayFormat(surface)
 

Macro Definition Documentation

◆ MIMG_Load

#define MIMG_Load (   file)    IMG_Load(file)

Definition at line 60 of file debug.h.

Referenced by WindowManager::setIcon().

◆ MIMG_LoadJPG_RW

#define MIMG_LoadJPG_RW (   src)    IMG_LoadJPG_RW(src)

Definition at line 52 of file debug.h.

Referenced by ImageHelper::loadPng().

◆ MIMG_LoadPNG_RW

#define MIMG_LoadPNG_RW (   src)    IMG_LoadPNG_RW(src)

Definition at line 51 of file debug.h.

Referenced by ImageHelper::loadPng().

◆ MSDL_ConvertSurface

#define MSDL_ConvertSurface (   src,
  fmt,
  flags 
)    SDL_ConvertSurface(src, fmt, flags)

◆ MSDL_CreateRGBSurface

#define MSDL_CreateRGBSurface (   flags,
  w,
  h,
  d,
  r,
  g,
  b,
 
)    SDL_CreateRGBSurface(flags, w, h, d, r, g, b, a)

◆ MSDL_DisplayFormat

#define MSDL_DisplayFormat (   surface)    SDL_DisplayFormat(surface)

Definition at line 62 of file debug.h.

Referenced by SDLImageHelper::_SDLload(), and SDLImageHelper::createTextSurface().

◆ MSDL_DisplayFormatAlpha

#define MSDL_DisplayFormatAlpha (   surface)    SDL_DisplayFormatAlpha(surface)

Definition at line 61 of file debug.h.

Referenced by SDLImageHelper::_SDLload(), and SDLImageHelper::createTextSurface().

◆ MSDL_FreeSurface

#define MSDL_FreeSurface (   surface)    SDL_FreeSurface(surface)

◆ MTTF_RenderUTF8_Blended

#define MTTF_RenderUTF8_Blended (   font,
  text,
  fg 
)    TTF_RenderUTF8_Blended(font, text, fg)

Definition at line 58 of file debug.h.

Referenced by TextChunk::generate().