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
4e2943d8
Commit
4e2943d8
authored
May 13, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* changed OSGraphics constructor (needed for X11)
parent
3dae4454
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
modules/gui/skins/gtk2/gtk2_graphics.cpp
modules/gui/skins/gtk2/gtk2_graphics.cpp
+2
-2
modules/gui/skins/gtk2/gtk2_graphics.h
modules/gui/skins/gtk2/gtk2_graphics.h
+2
-2
modules/gui/skins/src/window.cpp
modules/gui/skins/src/window.cpp
+5
-5
modules/gui/skins/win32/win32_graphics.cpp
modules/gui/skins/win32/win32_graphics.cpp
+2
-2
modules/gui/skins/win32/win32_graphics.h
modules/gui/skins/win32/win32_graphics.h
+2
-2
No files found.
modules/gui/skins/gtk2/gtk2_graphics.cpp
View file @
4e2943d8
...
...
@@ -2,7 +2,7 @@
* gtk2_graphics.cpp: GTK2 implementation of the Graphics and Region classes
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_graphics.cpp,v 1.1
7 2003/04/28 12:25:34
asmax Exp $
* $Id: gtk2_graphics.cpp,v 1.1
8 2003/05/13 19:25:59
asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -40,7 +40,7 @@
//---------------------------------------------------------------------------
// GTK2 GRAPHICS
//---------------------------------------------------------------------------
GTK2Graphics
::
GTK2Graphics
(
int
w
,
int
h
,
SkinWindow
*
from
)
:
Graphics
(
w
,
h
)
GTK2Graphics
::
GTK2Graphics
(
int
f_thread_t
*
p_intf
,
int
w
,
int
h
,
SkinWindow
*
from
)
:
Graphics
(
w
,
h
)
{
if
(
from
!=
NULL
)
{
...
...
modules/gui/skins/gtk2/gtk2_graphics.h
View file @
4e2943d8
...
...
@@ -2,7 +2,7 @@
* gtk2_graphics.h: GTK2 implementation of the Graphics and Region classes
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_graphics.h,v 1.
6 2003/04/28 12:25:34
asmax Exp $
* $Id: gtk2_graphics.h,v 1.
7 2003/05/13 19:25:59
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -43,7 +43,7 @@ class GTK2Graphics : public Graphics
public:
// Constructor
GTK2Graphics
(
int
w
,
int
h
,
SkinWindow
*
from
=
NULL
);
GTK2Graphics
(
int
f_thread_t
*
p_intf
,
int
w
,
int
h
,
SkinWindow
*
from
=
NULL
);
// Destructor
virtual
~
GTK2Graphics
();
// Drawing methods
...
...
modules/gui/skins/src/window.cpp
View file @
4e2943d8
...
...
@@ -2,7 +2,7 @@
* window.cpp: Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: window.cpp,v 1.2
2 2003/04/30 21:16:24
asmax Exp $
* $Id: window.cpp,v 1.2
3 2003/05/13 19:25:59
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -290,8 +290,8 @@ void SkinWindow::RefreshImage( int x, int y, int w, int h )
unsigned
int
i
;
// Create Bitmap Buffer
//
Graphics *Buffer = (Graphics *)new OSGraphics( p_intf, w, h, this );
Graphics
*
Buffer
=
(
Graphics
*
)
new
OSGraphics
(
w
,
h
,
this
);
Graphics
*
Buffer
=
(
Graphics
*
)
new
OSGraphics
(
p_intf
,
w
,
h
,
this
);
//
Graphics *Buffer = (Graphics *)new OSGraphics( w, h, this );
// Draw every control
for
(
i
=
0
;
i
<
ControlList
.
size
();
i
++
)
...
...
@@ -491,8 +491,8 @@ void SkinWindow::ReSize()
// Change image buffer
if
(
Image
!=
NULL
)
delete
(
OSGraphics
*
)
Image
;
//
Image = (Graphics *)new OSGraphics( p_intf, w, h, this );
Image
=
(
Graphics
*
)
new
OSGraphics
(
w
,
h
,
this
);
Image
=
(
Graphics
*
)
new
OSGraphics
(
p_intf
,
w
,
h
,
this
);
//
Image = (Graphics *)new OSGraphics( w, h, this );
Size
(
w
,
h
);
}
...
...
modules/gui/skins/win32/win32_graphics.cpp
View file @
4e2943d8
...
...
@@ -2,7 +2,7 @@
* win32_graphics.cpp: Win32 implementation of the Graphics and Region classes
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: win32_graphics.cpp,v 1.
6 2003/04/28 12:25:34
asmax Exp $
* $Id: win32_graphics.cpp,v 1.
7 2003/05/13 19:25:59
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -39,7 +39,7 @@
//---------------------------------------------------------------------------
// WIN32 GRAPHICS
//---------------------------------------------------------------------------
Win32Graphics
::
Win32Graphics
(
int
w
,
int
h
,
SkinWindow
*
from
)
:
Graphics
(
w
,
h
)
Win32Graphics
::
Win32Graphics
(
int
f_thread_t
*
p_intf
,
int
w
,
int
h
,
SkinWindow
*
from
)
:
Graphics
(
w
,
h
)
{
HBITMAP
HImage
;
Image
=
CreateCompatibleDC
(
NULL
);
...
...
modules/gui/skins/win32/win32_graphics.h
View file @
4e2943d8
...
...
@@ -2,7 +2,7 @@
* win32_graphics.h: Win32 implementation of the Graphics and Region classes
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: win32_graphics.h,v 1.
5 2003/04/28 12:25:34
asmax Exp $
* $Id: win32_graphics.h,v 1.
6 2003/05/13 19:25:59
asmax Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -40,7 +40,7 @@ class Win32Graphics : public Graphics
public:
// Constructor
Win32Graphics
(
int
w
,
int
h
,
SkinWindow
*
from
=
NULL
);
Win32Graphics
(
int
f_thread_t
*
p_intf
,
int
w
,
int
h
,
SkinWindow
*
from
=
NULL
);
// Destructor
virtual
~
Win32Graphics
();
// Drawing methods
...
...
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