Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
bb57b044
Commit
bb57b044
authored
May 04, 2020
by
Gauthier Quesnel
Browse files
gui: rename main window title
parent
8d8d7e93
Changes
2
Show whitespace changes
Inline
Side-by-side
app/gui/main-unix.cpp
View file @
bb57b044
...
...
@@ -80,7 +80,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
// Create window with graphics context
GLFWwindow
*
window
=
glfwCreateWindow
(
1280
,
720
,
"
Dear ImGui GLFW+OpenGL3 example
"
,
NULL
,
NULL
);
1280
,
720
,
"
irritator
"
,
NULL
,
NULL
);
if
(
window
==
NULL
)
return
1
;
glfwMakeContextCurrent
(
window
);
...
...
app/gui/main-windows.cpp
View file @
bb57b044
...
...
@@ -62,9 +62,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
int
main
(
int
,
char
**
)
{
// Create application window
WNDCLASSEX
wc
=
{
sizeof
(
WNDCLASSEX
),
CS_CLASSDC
,
WndProc
,
0L
,
0L
,
GetModuleHandle
(
NULL
),
NULL
,
NULL
,
NULL
,
NULL
,
_T
(
"I
mGui Example
"
),
NULL
};
WNDCLASSEX
wc
=
{
sizeof
(
WNDCLASSEX
),
CS_CLASSDC
,
WndProc
,
0L
,
0L
,
GetModuleHandle
(
NULL
),
NULL
,
NULL
,
NULL
,
NULL
,
_T
(
"I
rritator
"
),
NULL
};
::
RegisterClassEx
(
&
wc
);
HWND
hwnd
=
::
CreateWindow
(
wc
.
lpszClassName
,
_T
(
"
Dear ImGui DirectX12 Example
"
),
WS_OVERLAPPEDWINDOW
,
100
,
100
,
1280
,
800
,
NULL
,
NULL
,
wc
.
hInstance
,
NULL
);
HWND
hwnd
=
::
CreateWindow
(
wc
.
lpszClassName
,
_T
(
"
Irritator
"
),
WS_OVERLAPPEDWINDOW
,
100
,
100
,
1280
,
800
,
NULL
,
NULL
,
wc
.
hInstance
,
NULL
);
// Initialize Direct3D
if
(
!
CreateDeviceD3D
(
hwnd
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment