Skip to content

Commit 9013091

Browse files
committed
GameWindow: X, Yアクセサの削除
1 parent 07609d8 commit 9013091

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

FDK19/src/01.Framework/SDL/GameWindow.cs

-17
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,6 @@ public string Title
5656
}
5757
}
5858

59-
public int X
60-
{
61-
get
62-
{
63-
SDL.SDL_GetWindowPosition(_window_handle, out int x, out int y);
64-
return x;
65-
}
66-
}
67-
public int Y
68-
{
69-
get
70-
{
71-
SDL.SDL_GetWindowPosition(_window_handle, out int x, out int y);
72-
return y;
73-
}
74-
}
75-
7659
public Point Location
7760
{
7861
get

TJAPlayer3-f/src/Common/TJAPlayer3.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1698,8 +1698,8 @@ private void Window_ResizeOrMove(object? sender, EventArgs? e) //
16981698
{
16991699
if (!ConfigToml.Window.FullScreen)
17001700
{
1701-
ConfigToml.Window.X = this.X; // #30675 2013.02.04 ikanick add
1702-
ConfigToml.Window.Y = this.Y; //
1701+
ConfigToml.Window.X = this.Location.X; // #30675 2013.02.04 ikanick add
1702+
ConfigToml.Window.Y = this.Location.Y; //
17031703
}
17041704

17051705
ConfigToml.Window.Width = (ConfigToml.Window.FullScreen) ? currentClientSize.Width : this.ClientSize.Width; // #23510 2010.10.31 yyagi add

0 commit comments

Comments
 (0)