forked from jaildesigner-jailgames/jaildoctors_dilemma
lo mateix
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "global_inputs.h"
|
||||
#include <string> // for basic_string
|
||||
#include <vector> // for vector
|
||||
#include "input.h" // for Input, REPEAT_FALSE, inputs_e
|
||||
#include "notifier.h" // for Notifier
|
||||
#include "options.h" // for Section, Options, options, SectionState, Optio...
|
||||
#include "screen.h" // for Screen
|
||||
#include "utils.h" // for Palette
|
||||
#include <string> // for basic_string
|
||||
#include <vector> // for vector
|
||||
#include "input.h" // for Input, REPEAT_FALSE, inputs_e
|
||||
#include "notifier.h" // for Notifier
|
||||
#include "options.h" // for Section, Options, options, SectionState, Optio...
|
||||
#include "screen.h" // for Screen
|
||||
#include "utils.h" // for Palette
|
||||
|
||||
namespace globalInputs
|
||||
{
|
||||
@@ -78,14 +78,18 @@ namespace globalInputs
|
||||
|
||||
else if (Input::get()->checkInput(input_window_dec_size, REPEAT_FALSE))
|
||||
{
|
||||
Screen::get()->decWindowZoom();
|
||||
Notifier::get()->show({"WINDOW ZOOM x" + std::to_string(options.window.zoom)}, NotificationText::CENTER);
|
||||
if (Screen::get()->decWindowZoom())
|
||||
{
|
||||
Notifier::get()->show({"WINDOW ZOOM x" + std::to_string(options.window.zoom)}, NotificationText::CENTER);
|
||||
}
|
||||
}
|
||||
|
||||
else if (Input::get()->checkInput(input_window_inc_size, REPEAT_FALSE))
|
||||
{
|
||||
Screen::get()->incWindowZoom();
|
||||
Notifier::get()->show({"WINDOW ZOOM x" + std::to_string(options.window.zoom)}, NotificationText::CENTER);
|
||||
if (Screen::get()->incWindowZoom())
|
||||
{
|
||||
Notifier::get()->show({"WINDOW ZOOM x" + std::to_string(options.window.zoom)}, NotificationText::CENTER);
|
||||
}
|
||||
}
|
||||
|
||||
else if (Input::get()->checkInput(input_toggle_shaders, REPEAT_FALSE))
|
||||
|
||||
Reference in New Issue
Block a user