|
GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
|
Namespaces | |
| namespace | paint |
Enumerations | |
| enum class | iconListViewType : uint32_t { icon , smallIcon = 2 } |
Functions | |
| void | unregisterClass (wstring_view className) |
| void | appendStyle (HWND handle, LONG_PTR newStyle) |
| Append WinAPI style. | |
| void | removeStyle (HWND handle, LONG_PTR styleToRemove) |
| Remove WinAPI style. | |
| string | to_string (wstring_view stringToConvert, uint32_t codepage) |
| wstring | to_wstring (const string &stringToConvert, uint32_t codepage) |
| HMODULE | getCurrentModule () |
| Get handle to current executable. | |
| string | getStringFromRawPath (const filesystem::path &pathFromRawString) |
| void | loadFunctionFromModule (function< void()> &onClick, const string &functionName, const string &moduleName) |
| void | loadEventCallbackFromModule (function< void(const wstring &)> &eventCallback, const string &functionName, const string &moduleName) |
| int | getCenterX (int width) |
| Get center X coordinate. | |
| int | getCenterY (int height) |
| Get center Y coordinate. | |
| string | getGUIFrameworkVersion () |
| Get current version of GUIFramework. | |
| GUI_FRAMEWORK_API_FUNCTION void | unregisterClass (std::wstring_view className) |
| Unregister class that is used in SeparateWindow, ChildWindow, DialogBox, GroupBox. | |
| GUI_FRAMEWORK_API_FUNCTION std::string | to_string (std::wstring_view stringToConvert, uint32_t codepage) |
| Convert std::wstring to std::string. | |
| GUI_FRAMEWORK_API_FUNCTION std::wstring | to_wstring (const std::string &stringToConvert, uint32_t codepage) |
| Convert std::string to std::wstring. | |
| GUI_FRAMEWORK_API_FUNCTION std::string | getStringFromRawPath (const std::filesystem::path &pathFromRawString) |
| Get string with \ from raw string contructed path. | |
| GUI_FRAMEWORK_API_FUNCTION void | loadFunctionFromModule (std::function< void()> &onClick, const std::string &functionName, const std::string &moduleName) |
| Load function from module. | |
| GUI_FRAMEWORK_API_FUNCTION void | loadEventCallbackFromModule (std::function< void(const std::wstring &)> &eventCallback, const std::string &functionName, const std::string &moduleName) |
| Load function from module. | |
| template<typename T , typename... Args> | |
| smartPointerType< T > | make_smart_pointer (Args &&... args) |
| Make function with current build configuration compatibility. | |
| template<typename T > | |
| size_t | getTypeHash () |
|
strong |
| Enumerator | |
|---|---|
| icon | |
| smallIcon | |
Definition at line 12 of file BaseLoadableHolder.h.
| GUI_FRAMEWORK_API_FUNCTION void gui_framework::utility::appendStyle | ( | HWND | handle, |
| LONG_PTR | newStyle ) |
| GUI_FRAMEWORK_API_FUNCTION int gui_framework::utility::getCenterX | ( | int | width | ) |
Get center X coordinate.
Definition at line 168 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION int gui_framework::utility::getCenterY | ( | int | height | ) |
Get center Y coordinate.
Definition at line 173 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION HMODULE gui_framework::utility::getCurrentModule | ( | ) |
| GUI_FRAMEWORK_API_FUNCTION std::string gui_framework::utility::getGUIFrameworkVersion | ( | ) |
| string gui_framework::utility::getStringFromRawPath | ( | const filesystem::path & | pathFromRawString | ) |
Definition at line 124 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION std::string gui_framework::utility::getStringFromRawPath | ( | const std::filesystem::path & | pathFromRawString | ) |
Get string with \ from raw string contructed path.
| pathFromRawString |
|
inline |
| void gui_framework::utility::loadEventCallbackFromModule | ( | function< void(const wstring &)> & | eventCallback, |
| const string & | functionName, | ||
| const string & | moduleName ) |
Definition at line 153 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION void gui_framework::utility::loadEventCallbackFromModule | ( | std::function< void(const std::wstring &)> & | eventCallback, |
| const std::string & | functionName, | ||
| const std::string & | moduleName ) |
Load function from module.
| eventCallback | Output parameter for function load |
| functionName | Name of function in module |
| moduleName | Name of module in JSON array modules in gui_framework.json |
| CantFindFunctionFromModuleException |
| void gui_framework::utility::loadFunctionFromModule | ( | function< void()> & | onClick, |
| const string & | functionName, | ||
| const string & | moduleName ) |
Definition at line 138 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION void gui_framework::utility::loadFunctionFromModule | ( | std::function< void()> & | onClick, |
| const std::string & | functionName, | ||
| const std::string & | moduleName ) |
Load function from module.
| onClick | Output parameter for function load |
| functionName | Name of function in module |
| moduleName | Name of module in JSON array modules in gui_framework.json |
| CantFindFunctionFromModuleException |
|
inline |
| GUI_FRAMEWORK_API_FUNCTION void gui_framework::utility::removeStyle | ( | HWND | handle, |
| LONG_PTR | styleToRemove ) |
| GUI_FRAMEWORK_API_FUNCTION std::string gui_framework::utility::to_string | ( | std::wstring_view | stringToConvert, |
| uint32_t | codepage ) |
Convert std::wstring to std::string.
| stringToConvert | |
| codepage | stringToConvert codepage |
| json::exceptions::WrongEncodingException |
| string gui_framework::utility::to_string | ( | wstring_view | stringToConvert, |
| uint32_t | codepage ) |
Definition at line 41 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION std::wstring gui_framework::utility::to_wstring | ( | const std::string & | stringToConvert, |
| uint32_t | codepage ) |
Convert std::string to std::wstring.
| stringToConvert | |
| codepage | stringToConvert codepage |
| json::exceptions::WrongEncodingException |
| wstring gui_framework::utility::to_wstring | ( | const string & | stringToConvert, |
| uint32_t | codepage ) |
Definition at line 82 of file Utility.cpp.
| GUI_FRAMEWORK_API_FUNCTION void gui_framework::utility::unregisterClass | ( | std::wstring_view | className | ) |
Unregister class that is used in SeparateWindow, ChildWindow, DialogBox, GroupBox.
| className |
| void gui_framework::utility::unregisterClass | ( | wstring_view | className | ) |
Definition at line 16 of file Utility.cpp.