mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 10:39:57 +00:00
EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.
This commit is contained in:
parent
182476c96a
commit
19bb01c223
1 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,8 @@ protected:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processes any pending configuration changes from the last SetConfig call.
|
* Processes any pending configuration changes from the last SetConfig call.
|
||||||
|
* This method invokes OnMinimalClientAreaChangeRequest if the corresponding configuration
|
||||||
|
* field changed.
|
||||||
* @note Implementations will usually want to call this from the GUI thread.
|
* @note Implementations will usually want to call this from the GUI thread.
|
||||||
*/
|
*/
|
||||||
void ProcessConfigurationChanges() {
|
void ProcessConfigurationChanges() {
|
||||||
|
@ -130,7 +132,12 @@ protected:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/**
|
||||||
|
* Handler called when the minimal client area was requested to be changed via SetConfig.
|
||||||
|
* For the request to be honored, EmuWindow implementations will usually reimplement this function.
|
||||||
|
*/
|
||||||
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
|
virtual void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) {
|
||||||
|
// By default, ignore this request and do nothing.
|
||||||
}
|
}
|
||||||
|
|
||||||
std::pair<unsigned,unsigned> framebuffer_size;
|
std::pair<unsigned,unsigned> framebuffer_size;
|
||||||
|
|
Loading…
Reference in a new issue