Blamite Game Engine - blam!  00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
utilities.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Windows.h>
4 #include <string>
5 
6 #ifndef BLAM
7 #define BLAM
8 #endif
9 
10 namespace Blam
11 {
15  namespace Utils
16  {
22  BLAM void OpenWebURL(std::string url);
23 
29  BLAM void OpenLocalWebURL(std::string local_path);
30 
37  BLAM std::pair<float, float> GetSystemDpi();
38 
45  BLAM std::pair<float, float> GetEngineDpi();
46  }
47 }
Blam
Namespace surrounding all major engine components.
Definition: blam_api.h:17
Blam::Utils::OpenLocalWebURL
BLAM void OpenLocalWebURL(std::string local_path)
Opens the specified relative path in the user's default web browser.
Definition: web.cpp:9
Blam::Utils::GetEngineDpi
BLAM std::pair< float, float > GetEngineDpi()
Retrieve the game engine's DPI.
Definition: utilities.cpp:17
Blam::Utils::GetSystemDpi
BLAM std::pair< float, float > GetSystemDpi()
Retrieve the Windows system DPI.
Definition: utilities.cpp:6
BLAM
#define BLAM
Definition: utilities.h:7
Blam::Utils::OpenWebURL
BLAM void OpenWebURL(std::string url)
Opens the specified URL in the user's default web browser.
Definition: web.cpp:4