Update Some files
This commit is contained in:
parent
ed0d9998ff
commit
6123bd3307
@ -8,9 +8,9 @@ namespace RenderD7::Lang
|
||||
/// Get the 3ds System Language
|
||||
std::string getSys();
|
||||
/// Get a translated string
|
||||
/// key: The Key so the code can find your string
|
||||
/// \param key The Key so the code can find your string
|
||||
std::string get(const std::string &key);
|
||||
/// Load the lang file from dir structure en/app.json for sample
|
||||
/// lang: the folder name en, fr, de ... . I prefer geSys()
|
||||
/// \param lang the folder name en, fr, de ... . I prefer geSys()
|
||||
void load(const std::string &lang);
|
||||
} /// RenderD7::Lang
|
||||
|
2
log.hpp
2
log.hpp
@ -25,6 +25,6 @@ class Log
|
||||
/// \param fmt_str the formatted style
|
||||
std::string format(const std::string& fmt_str, ...);
|
||||
private:
|
||||
/// param filename the name of the logfile
|
||||
/// \param filename the name of the logfile
|
||||
std::string filename;
|
||||
};
|
||||
|
12
renderd7.hpp
12
renderd7.hpp
@ -65,11 +65,11 @@ namespace RenderD7
|
||||
// Deconstruct sheet
|
||||
~Sheet();
|
||||
/// Load a Sritesheet
|
||||
/// path: Path to the Spritesheet (.t3x)
|
||||
/// \param path Path to the Spritesheet (.t3x)
|
||||
Result Load(const char *path);
|
||||
/// Unload the Spritesheet
|
||||
void Free();
|
||||
// The Spritesheet
|
||||
/// The Spritesheet
|
||||
C2D_SpriteSheet spritesheet;
|
||||
};
|
||||
/// Image Class
|
||||
@ -77,10 +77,10 @@ namespace RenderD7
|
||||
{
|
||||
public:
|
||||
/// Load Image from Png
|
||||
/// path: path to png file
|
||||
/// \param path path to png file
|
||||
void LoadPng(const std::string path);
|
||||
/// Load the Image from buffer
|
||||
/// buffer: the frame buffer
|
||||
/// \param buffer the frame buffer
|
||||
void LoadPFromBuffer(const std::vector<u8> &buffer);
|
||||
/// Draw the Image directly
|
||||
/// \param x The x position
|
||||
@ -91,9 +91,9 @@ namespace RenderD7
|
||||
/// \brief Get The Image
|
||||
/// \return C2D_Image
|
||||
C2D_Image Get(){return this->img;}
|
||||
/// \img this is the C2D_Image
|
||||
/// \param img this is the C2D_Image
|
||||
C2D_Image img;
|
||||
/// \loadet whether the image is loadet or not
|
||||
/// \param loadet whether the image is loadet or not
|
||||
bool loadet = false;
|
||||
};
|
||||
/// Sprite Class
|
||||
|
Loading…
Reference in New Issue
Block a user