Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
7bd4a1c0
Commit
7bd4a1c0
authored
Mar 18, 2003
by
ipkiss
Browse files
Compilation fixes and cosmetic changes
parent
8d7d0c6b
Changes
4
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins/controls/controls.h
View file @
7bd4a1c0
...
...
@@ -2,7 +2,7 @@
* controls.h:
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: controls.h,v 1.
1
2003/03/18 0
2:21
:4
7
ipkiss Exp $
* $Id: controls.h,v 1.
2
2003/03/18 0
4:08
:4
5
ipkiss Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -30,4 +30,5 @@
#include
"image.h"
#include
"slider.h"
#include
"playlist.h"
#include
"rectangle.h"
#include
"text.h"
modules/gui/skins/controls/rectangle.cpp
View file @
7bd4a1c0
/*****************************************************************************
*
image.cpp: Imag
e control
*
rectangle.cpp: Rectangle
e control
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: rectangle.cpp,v 1.
1
2003/03/18 0
2:21
:4
7
ipkiss Exp $
* $Id: rectangle.cpp,v 1.
2
2003/03/18 0
4:08
:4
5
ipkiss Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -42,7 +42,7 @@
//---------------------------------------------------------------------------
// Control
Imag
e
// Control
Rectangl
e
//---------------------------------------------------------------------------
ControlRectangle
::
ControlRectangle
(
string
id
,
bool
visible
,
int
x
,
int
y
,
int
w
,
int
h
,
int
color
,
string
event
,
string
help
,
Window
*
Parent
)
...
...
@@ -75,6 +75,8 @@ bool ControlRectangle::ProcessEvent( Event *evt )
case
CTRL_ENABLED
:
Enable
(
(
Event
*
)
evt
->
GetParam1
(),
(
bool
)
evt
->
GetParam2
()
);
break
;
default:
break
;
}
return
false
;
}
...
...
@@ -117,7 +119,6 @@ void ControlRectangle::Enable( Event *event, bool enabled )
Enabled
=
enabled
;
ParentWindow
->
Refresh
(
Left
,
Top
,
Width
,
Height
);
}
}
//---------------------------------------------------------------------------
...
...
modules/gui/skins/controls/rectangle.h
View file @
7bd4a1c0
/*****************************************************************************
*
image.h: Imag
e control
*
rectangle.h: Rectangl
e control
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: rectangle.h,v 1.
1
2003/03/18 0
2:21
:4
7
ipkiss Exp $
* $Id: rectangle.h,v 1.
2
2003/03/18 0
4:08
:4
5
ipkiss Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
modules/gui/skins/parser/wrappers.cpp
View file @
7bd4a1c0
...
...
@@ -2,7 +2,7 @@
* wrappers.cpp: Wrappers around C++ objects
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: wrappers.cpp,v 1.
1
2003/03/18 0
2:21
:4
7
ipkiss Exp $
* $Id: wrappers.cpp,v 1.
2
2003/03/18 0
4:08
:4
5
ipkiss Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -129,7 +129,7 @@ void AddAnchor( char *x, char *y, char *len, char *priority )
//---------------------------------------------------------------------------
// CONTROLS
// CONTROLS
//---------------------------------------------------------------------------
void
AddImage
(
char
*
id
,
char
*
visible
,
char
*
x
,
char
*
y
,
char
*
image
,
char
*
event
,
char
*
help
)
...
...
Write
Preview
Supports
Markdown
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