yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
bitmap.cc File Reference
#include "bitmap.h"
#include <SDL.h>
#include <cstdint>
#include <memory>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_cat.h"
#include "app/core/constants.h"
#include "app/gfx/snes_palette.h"
Include dependency graph for bitmap.cc:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::gfx
 Contains classes for handling graphical data.
 
namespace  yaze::app::gfx::anonymous_namespace{bitmap.cc}
 

Macros

#define SDL_RETURN_IF_ERROR()
 

Functions

void yaze::app::gfx::anonymous_namespace{bitmap.cc}::GrayscalePalette (SDL_Palette *palette)
 
Uint32 yaze::app::gfx::anonymous_namespace{bitmap.cc}::GetSnesPixelFormat (int format)
 

Macro Definition Documentation

◆ SDL_RETURN_IF_ERROR

#define SDL_RETURN_IF_ERROR ( )
Value:
if (SDL_GetError() != nullptr) { \
return absl::InternalError(SDL_GetError()); \
}

Definition at line 17 of file bitmap.cc.