Skip to content

Commit

Permalink
GsKit improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhard Stein committed Apr 18, 2024
1 parent 794fd42 commit bf476f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GsKit/base/GsLogging.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CLogFile : public GsSingleton<CLogFile>
* @param logFName Name of the log file
* @param appName Name of the application
* @param version Version of the application
* @param noFile if true
* @param noFile if true you don't want to save the log into a file.
* @return true if everything went fine, otherwise false
*/
bool initLogSystem (const std::string &logFName,
Expand Down
10 changes: 9 additions & 1 deletion GsKit/base/video/CVideoDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,16 @@ class CVideoDriver : public GsSingleton<CVideoDriver>
return scaledDownRect;
}

/**
* @brief setNativeResolution Setup the native resolution.
* In the end it is the unscaled surface of
* using within the application
* @param dispRect Resolution as Rect
* @param numScrollSfcs Number of scroll buffered surfaces. Good for background scrolling.
* @return true if all went good, otherwise false
*/
bool setNativeResolution(const GsRect<Uint16> &dispRect,
const unsigned int numScrollSfcs);
const unsigned int numScrollSfcs = 2);

void stop();
bool start();
Expand Down

0 comments on commit bf476f3

Please sign in to comment.