![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
Functions | |
| void | SetTitle (const String &title) |
| ウィンドウのタイトルを変更します。 More... | |
| SIV3D_CONCEPT_FORMATTABLE_ARGS void | SetTitle (const Args &... args) |
| ウィンドウのタイトルを変更します。 More... | |
| const String & | GetTitle () noexcept |
| 現在のウィンドウのタイトルを返します。 More... | |
| const WindowState & | GetState () noexcept |
| 現在のウィンドウの状態を返します。 More... | |
| void | SetStyle (WindowStyle style) |
| ウィンドウスタイルを変更します。 More... | |
| WindowStyle | GetStyle () noexcept |
| 現在のウィンドウスタイルを返します。 More... | |
| void | SetPos (Point pos) |
| ウィンドウを指定したスクリーン座標に移動させます。 More... | |
| void | SetPos (int32 x, int32 y) |
| ウィンドウを指定したスクリーン座標に移動させます。 More... | |
| Point | GetPos () noexcept |
| 現在のウィンドウの位置をスクリーン座標で返します。 More... | |
| void | Centering () |
| ウィンドウを現在のモニタのワークエリアの中央に移動させます。 More... | |
| void | Maximize () |
| ウィンドウを最大化します。 More... | |
| void | Restore () |
| 最大・最小化されたウィンドウを元のサイズに戻します。 More... | |
| void | Minimize () |
| ウィンドウを最小化します。 More... | |
| bool | Resize (Size size, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More... | |
| bool | Resize (int32 width, int32 height, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More... | |
| bool | ResizeVirtual (Size size, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More... | |
| bool | ResizeVirtual (int32 width, int32 height, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを仮想サイズ基準で変更します。 More... | |
| bool | ResizeActual (Size size, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを実サイズ基準で変更します。 More... | |
| bool | ResizeActual (int32 width, int32 height, s3d::Centering centering=Centering::Yes) |
| ウィンドウのクライアントサイズを実サイズ基準で変更します。 More... | |
| void | SetMinimumFrameBufferSize (Size size) |
| ウィンドウを手動でリサイズするときの最小サイズを実サイズ基準で設定します。 More... | |
| void | SetFullscreen (bool fullscreen, size_t monitorIndex=System::GetCurrentMonitorIndex()) |
| ウィンドウモードとフルスクリーンモードを切り替えます。 More... | |
| void | SetToggleFullscreenEnabled (bool enabled) |
| Windows 版において、Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えを有効にするかを設定します。 More... | |
| bool | IsToggleFullscreenEnabled () |
| Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えが有効であるかを返します。 More... | |
Variables | |
| constexpr StringView | DefaultTitle = U"Siv3D App" |
| ウィンドウのデフォルトのタイトル More... | |
| constexpr Size | DefaultClientSize { 800, 600 } |
| デフォルトのクライアントサイズ More... | |
| void s3d::Window::Centering | ( | ) |
ウィンドウを現在のモニタのワークエリアの中央に移動させます。
|
noexcept |
現在のウィンドウの位置をスクリーン座標で返します。
|
noexcept |
現在のウィンドウの状態を返します。
|
noexcept |
現在のウィンドウスタイルを返します。
|
noexcept |
現在のウィンドウのタイトルを返します。
| bool s3d::Window::IsToggleFullscreenEnabled | ( | ) |
Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えが有効であるかを返します。
| void s3d::Window::Maximize | ( | ) |
ウィンドウを最大化します。
| void s3d::Window::Minimize | ( | ) |
ウィンドウを最小化します。
| bool s3d::Window::Resize | ( | int32 | width, |
| int32 | height, | ||
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを仮想サイズ基準で変更します。
| width | 新しい幅(ピクセル) |
| height | 新しい高さ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| bool s3d::Window::Resize | ( | Size | size, |
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを仮想サイズ基準で変更します。
| size | 新しいサイズ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| bool s3d::Window::ResizeActual | ( | int32 | width, |
| int32 | height, | ||
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを実サイズ基準で変更します。
| width | 新しい幅(ピクセル) |
| height | 新しい高さ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| bool s3d::Window::ResizeActual | ( | Size | size, |
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを実サイズ基準で変更します。
| size | 新しいサイズ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| bool s3d::Window::ResizeVirtual | ( | int32 | width, |
| int32 | height, | ||
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを仮想サイズ基準で変更します。
| width | 新しい幅(ピクセル) |
| height | 新しい高さ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| bool s3d::Window::ResizeVirtual | ( | Size | size, |
| s3d::Centering | centering = Centering::Yes |
||
| ) |
ウィンドウのクライアントサイズを仮想サイズ基準で変更します。
| size | 新しいサイズ(ピクセル) |
| centering | ウィンドウを画面の中心に移動させるか |
| void s3d::Window::Restore | ( | ) |
最大・最小化されたウィンドウを元のサイズに戻します。
| void s3d::Window::SetFullscreen | ( | bool | fullscreen, |
| size_t | monitorIndex = System::GetCurrentMonitorIndex() |
||
| ) |
ウィンドウモードとフルスクリーンモードを切り替えます。
| fullscreen | フルスクリーンモードにする場合 true, ウィンドウモードにする場合 false |
| monitorIndex | 表示するモニタのインデックス |
| void s3d::Window::SetMinimumFrameBufferSize | ( | Size | size | ) |
ウィンドウを手動でリサイズするときの最小サイズを実サイズ基準で設定します。
| size | 設定するサイズ(ピクセル) |
ウィンドウを指定したスクリーン座標に移動させます。
| x | 移動先のスクリーン X 座標 |
| y | 移動先のスクリーン Y 座標 |
| void s3d::Window::SetPos | ( | Point | pos | ) |
ウィンドウを指定したスクリーン座標に移動させます。
| pos | 移動先のスクリーン座標 |
| void s3d::Window::SetStyle | ( | WindowStyle | style | ) |
ウィンドウスタイルを変更します。
| style | 新しいウィンドウスタイル |
|
inline |
ウィンドウのタイトルを変更します。
| ...Args | 新しいタイトルの値の型 |
| ...args | 新しいタイトル |
| void s3d::Window::SetTitle | ( | const String & | title | ) |
ウィンドウのタイトルを変更します。
| title | 新しいタイトル |
| void s3d::Window::SetToggleFullscreenEnabled | ( | bool | enabled | ) |
Windows 版において、Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えを有効にするかを設定します。
| enabled | Alt + Enter キーによるウィンドウモードとフルスクリーンモードの切り替えを有効にする場合は true, 無効にする場合は false |
|
inlineconstexpr |
デフォルトのクライアントサイズ
|
inlineconstexpr |
ウィンドウのデフォルトのタイトル