GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ITextLocalized.h
Go to the documentation of this file.
1#pragma once
2
3#include "Core.h"
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
13 {
14 private:
15 bool autoUpdate;
16
17 public:
18 ITextLocalized(bool autoUpdate = true);
19
20 virtual bool updateLocalizationEvent() = 0;
21
22 virtual void setAutoUpdate(bool autoUpdate) final;
23
24 virtual bool getAutoUpdate() const final;
25
26 virtual ~ITextLocalized() = default;
27 };
28 }
29}
#define GUI_FRAMEWORK_API
Provides changing localization in component by calling GUIFramework::changeLocalization.