Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
119b0c3a
Commit
119b0c3a
authored
Apr 14, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* it works event better !!
parent
5a89c8a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
modules/gui/skins/gtk2/gtk2_theme.cpp
modules/gui/skins/gtk2/gtk2_theme.cpp
+3
-2
modules/gui/skins/gtk2/gtk2_window.cpp
modules/gui/skins/gtk2/gtk2_window.cpp
+3
-5
No files found.
modules/gui/skins/gtk2/gtk2_theme.cpp
View file @
119b0c3a
...
...
@@ -2,7 +2,7 @@
* gtk2_theme.cpp: GTK2 implementation of the Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_theme.cpp,v 1.
8 2003/04/14 20:07:49
asmax Exp $
* $Id: gtk2_theme.cpp,v 1.
9 2003/04/14 20:17:33
asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -324,8 +324,9 @@ void GTK2Theme::AddWindow( string name, int x, int y, bool visible,
attr
.
height
=
0
;
attr
.
window_type
=
GDK_WINDOW_TOPLEVEL
;
attr
.
wclass
=
GDK_INPUT_OUTPUT
;
attr
.
override_redirect
=
TRUE
;
gint
mask
=
0
;
gint
mask
=
GDK_WA_NOREDIR
;
// Create the window
GdkWindow
*
gwnd
=
gdk_window_new
(
NULL
,
&
attr
,
mask
);
...
...
modules/gui/skins/gtk2/gtk2_window.cpp
View file @
119b0c3a
...
...
@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.
7 2003/04/14 20:07:49
asmax Exp $
* $Id: gtk2_window.cpp,v 1.
8 2003/04/14 20:17:33
asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -268,11 +268,9 @@ void GTK2Window::WindowManualMoveInit()
//---------------------------------------------------------------------------
void
GTK2Window
::
Move
(
int
left
,
int
top
)
{
/*
Left = left;
Left
=
left
;
Top
=
top
;
//SetWindowPos( hWnd, HWND_TOP, Left, Top, Width, Height,
// SWP_NOSIZE|SWP_NOREDRAW|SWP_NOZORDER );
MoveWindow( hWnd, Left, Top, Width, Height, false );*/
gdk_window_move
(
gWnd
,
left
,
top
);
}
//---------------------------------------------------------------------------
void
GTK2Window
::
Size
(
int
width
,
int
height
)
...
...
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