Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
095a8d03
Commit
095a8d03
authored
Feb 06, 2019
by
IOhannes m zmölnig
Browse files
global default window offset of +50+50
parent
9086530d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Base/GemWindow.cpp
View file @
095a8d03
...
...
@@ -177,7 +177,8 @@ std::set<GemWindow*>GemWindow::PIMPL::s_contexts;
GemWindow
::
GemWindow
()
:
m_pimpl
(
new
PIMPL
(
this
)),
m_width
(
500
),
m_height
(
500
),
m_xoffset
(
0
),
m_yoffset
(
0
),
/* in order to not hide the window-title, offset is >0 */
m_xoffset
(
50
),
m_yoffset
(
50
),
m_border
(
true
),
m_fullscreen
(
false
),
m_buffer
(
2
),
m_title
(
"Gem"
),
...
...
src/Output/gemw32window.cpp
View file @
095a8d03
...
...
@@ -311,8 +311,6 @@ gemw32window::gemw32window(void) :
m_topmost
(
false
),
m_win
(
NULL
)
{
/* in order to not hide the window-title, we use a slightly different default offset */
m_xoffset
=
m_yoffset
=
100
;
if
(
!
initGemWin
())
{
throw
(
GemException
(
"could not initialize window infrastructure"
));
}
...
...
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