GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
Utility.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  gui_framework
 
namespace  gui_framework::utility
 
namespace  gui_framework::__utility
 

Functions

void gui_framework::utility::unregisterClass (wstring_view className)
 
void gui_framework::utility::appendStyle (HWND handle, LONG_PTR newStyle)
 Append WinAPI style.
 
void gui_framework::utility::removeStyle (HWND handle, LONG_PTR styleToRemove)
 Remove WinAPI style.
 
string gui_framework::utility::to_string (wstring_view stringToConvert, uint32_t codepage)
 
wstring gui_framework::utility::to_wstring (const string &stringToConvert, uint32_t codepage)
 
HMODULE gui_framework::utility::getCurrentModule ()
 Get handle to current executable.
 
string gui_framework::utility::getStringFromRawPath (const filesystem::path &pathFromRawString)
 
void gui_framework::utility::loadFunctionFromModule (function< void()> &onClick, const string &functionName, const string &moduleName)
 
void gui_framework::utility::loadEventCallbackFromModule (function< void(const wstring &)> &eventCallback, const string &functionName, const string &moduleName)
 
int gui_framework::utility::getCenterX (int width)
 Get center X coordinate.
 
int gui_framework::utility::getCenterY (int height)
 Get center Y coordinate.
 
string gui_framework::utility::getGUIFrameworkVersion ()
 Get current version of GUIFramework.
 
void gui_framework::__utility::throwNotImplementedException (string_view methodName, string_view className)
 
string gui_framework::__utility::extendedException (const string &exceptionMessage, string_view fileName, string_view methodName, int line)
 
bool gui_framework::__utility::useOnClose (any topLevelWindow)