OpenSiv3D  v0.6.5
C++20 framework for creative coding
Window.hpp File Reference
#include "Common.hpp"
#include "Formatter.hpp"
#include "Monitor.hpp"
#include "PointVector.hpp"
#include "StringView.hpp"
#include "PredefinedYesNo.hpp"
#include "detail/Window.ipp"

Namespaces

 s3d
 
 s3d::Window
 

Functions

void s3d::Window::SetTitle (const String &title)
 ウィンドウのタイトルを変更します。 More...
 
SIV3D_CONCEPT_FORMATTABLE_ARGS void s3d::Window::SetTitle (const Args &... args)
 ウィンドウのタイトルを変更します。 More...
 
const String & s3d::Window::GetTitle () noexcept
 現在のウィンドウのタイトルを返します。 More...
 
const WindowState & s3d::Window::GetState () noexcept
 現在のウィンドウの状態を返します。 More...
 
void s3d::Window::SetStyle (WindowStyle style)
 ウィンドウスタイルを変更します。 More...
 
WindowStyle s3d::Window::GetStyle () noexcept
 現在のウィンドウスタイルを返します。 More...
 
void s3d::Window::SetPos (Point pos)
 ウィンドウを指定したスクリーン座標に移動させます。 More...
 
void s3d::Window::SetPos (int32 x, int32 y)
 ウィンドウを指定したスクリーン座標に移動させます。 More...
 
Point s3d::Window::GetPos () noexcept
 現在のウィンドウの位置をスクリーン座標で返します。 More...
 
void s3d::Window::Centering ()
 ウィンドウを現在のモニタのワークエリアの中央に移動させます。 More...
 
void s3d::Window::Maximize ()
 ウィンドウを最大化します。 More...
 
void s3d::Window::Restore ()
 最大・最小化されたウィンドウを元のサイズに戻します。 More...
 
void s3d::Window::Minimize ()
 ウィンドウを最小化します。 More...
 
bool s3d::Window::Resize (Size size, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More...
 
bool s3d::Window::Resize (int32 width, int32 height, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More...
 
bool s3d::Window::ResizeVirtual (Size size, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More...
 
bool s3d::Window::ResizeVirtual (int32 width, int32 height, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More...
 
bool s3d::Window::ResizeActual (Size size, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを実サイズ基準で変更します。 More...
 
bool s3d::Window::ResizeActual (int32 width, int32 height, s3d::Centering centering=Centering::Yes)
 ウィンドウのクライアントサイズを実サイズ基準で変更します。 More...
 
void s3d::Window::SetMinimumFrameBufferSize (Size size)
 ウィンドウを手動でリサイズするときの最小サイズを実サイズ基準で設定します。 More...
 
void s3d::Window::SetFullscreen (bool fullscreen, size_t monitorIndex=System::GetCurrentMonitorIndex())
 ウィンドウモードとフルスクリーンモードを切り替えます。 More...
 
void s3d::Window::SetToggleFullscreenEnabled (bool enabled)
 Windows 版において、Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えを有効にするかを設定します。 More...
 
bool s3d::Window::IsToggleFullscreenEnabled ()
 Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えが有効であるかを返します。 More...
 

Variables

constexpr StringView s3d::Window::DefaultTitle = U"Siv3D App"
 ウィンドウのデフォルトのタイトル More...