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
124b9a6d
Commit
124b9a6d
authored
Nov 27, 2005
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/*: cosmetic changes
parent
163879e7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
20 deletions
+20
-20
modules/gui/skins2/controls/ctrl_image.hpp
modules/gui/skins2/controls/ctrl_image.hpp
+2
-2
modules/gui/skins2/events/evt_key.hpp
modules/gui/skins2/events/evt_key.hpp
+2
-2
modules/gui/skins2/events/evt_mouse.hpp
modules/gui/skins2/events/evt_mouse.hpp
+4
-4
modules/gui/skins2/events/evt_scroll.hpp
modules/gui/skins2/events/evt_scroll.hpp
+2
-2
modules/gui/skins2/events/evt_special.hpp
modules/gui/skins2/events/evt_special.hpp
+2
-2
modules/gui/skins2/src/dialogs.hpp
modules/gui/skins2/src/dialogs.hpp
+2
-2
modules/gui/skins2/src/os_factory.hpp
modules/gui/skins2/src/os_factory.hpp
+2
-2
modules/gui/skins2/utils/bezier.hpp
modules/gui/skins2/utils/bezier.hpp
+2
-2
modules/gui/skins2/utils/position.hpp
modules/gui/skins2/utils/position.hpp
+2
-2
No files found.
modules/gui/skins2/controls/ctrl_image.hpp
View file @
124b9a6d
...
...
@@ -37,11 +37,11 @@ class CtrlImage: public CtrlFlat
{
public:
/// Resize methods
typedef
enum
enum
resize_t
{
kMosaic
,
// Repeat the base image in a mosaic
kScale
// Scale the base image
}
resize_t
;
};
// Create an image with the given bitmap (which is NOT copied)
CtrlImage
(
intf_thread_t
*
pIntf
,
const
GenericBitmap
&
rBitmap
,
...
...
modules/gui/skins2/events/evt_key.hpp
View file @
124b9a6d
...
...
@@ -32,11 +32,11 @@
class
EvtKey
:
public
EvtInput
{
public:
typedef
enum
enum
ActionType_t
{
kDown
,
kUp
}
ActionType_t
;
};
EvtKey
(
intf_thread_t
*
pIntf
,
int
key
,
ActionType_t
action
,
int
mod
=
kModNone
)
:
...
...
modules/gui/skins2/events/evt_mouse.hpp
View file @
124b9a6d
...
...
@@ -32,19 +32,19 @@
class
EvtMouse
:
public
EvtInput
{
public:
typedef
enum
enum
ButtonType_t
{
kLeft
,
kMiddle
,
kRight
}
ButtonType_t
;
};
typedef
enum
enum
ActionType_t
{
kDown
,
kUp
,
kDblClick
}
ActionType_t
;
};
EvtMouse
(
intf_thread_t
*
pIntf
,
int
xPos
,
int
yPos
,
ButtonType_t
button
,
ActionType_t
action
,
int
mod
=
kModNone
)
:
...
...
modules/gui/skins2/events/evt_scroll.hpp
View file @
124b9a6d
...
...
@@ -32,11 +32,11 @@
class
EvtScroll
:
public
EvtInput
{
public:
typedef
enum
enum
Direction_t
{
kUp
,
kDown
}
Direction_t
;
};
EvtScroll
(
intf_thread_t
*
pIntf
,
int
xPos
,
int
yPos
,
Direction_t
direction
,
int
mod
=
kModNone
)
:
...
...
modules/gui/skins2/events/evt_special.hpp
View file @
124b9a6d
...
...
@@ -32,13 +32,13 @@
class
EvtSpecial
:
public
EvtGeneric
{
public:
typedef
enum
enum
ActionType_t
{
kShow
,
kHide
,
kEnable
,
kDisable
}
ActionType_t
;
};
EvtSpecial
(
intf_thread_t
*
pIntf
,
ActionType_t
action
)
:
EvtGeneric
(
pIntf
),
m_action
(
action
)
{}
...
...
modules/gui/skins2/src/dialogs.hpp
View file @
124b9a6d
...
...
@@ -97,12 +97,12 @@ class Dialogs: public SkinObject
typedef
void
DlgCallback
(
intf_dialog_args_t
*
pArg
);
/// Possible flags for the open/save dialog
typedef
enum
enum
flags_t
{
kOPEN
=
0x01
,
kSAVE
=
0x02
,
kMULTIPLE
=
0x04
}
flags_t
;
};
/// Initialization method
bool
init
();
...
...
modules/gui/skins2/src/os_factory.hpp
View file @
124b9a6d
...
...
@@ -44,14 +44,14 @@ class OSTimer;
class
OSFactory
:
public
SkinObject
{
public:
typedef
enum
enum
CursorType_t
{
kDefaultArrow
,
kResizeNS
,
kResizeWE
,
kResizeNWSE
,
kResizeNESW
}
CursorType_t
;
};
/// Initialization method overloaded in derived classes.
/// It must return false if the init failed.
...
...
modules/gui/skins2/utils/bezier.hpp
View file @
124b9a6d
...
...
@@ -38,12 +38,12 @@ class Bezier: public SkinObject
public:
/// Values to indicate which coordinate(s) must be checked to consider
/// that two points are distinct
typedef
enum
enum
Flag_t
{
kCoordsBoth
,
// x or y must be different (default)
kCoordsX
,
// only x is different
kCoordsY
// only y is different
}
Flag_t
;
};
Bezier
(
intf_thread_t
*
p_intf
,
const
vector
<
float
>
&
pAbscissas
,
...
...
modules/gui/skins2/utils/position.hpp
View file @
124b9a6d
...
...
@@ -68,7 +68,7 @@ class Position
{
public:
/// Type for reference edge/corner
typedef
enum
enum
Ref_t
{
/// Coordinates are relative to the upper left corner
kLeftTop
,
...
...
@@ -78,7 +78,7 @@ class Position
kLeftBottom
,
/// Coordinates are relative to the lower right corner
kRightBottom
}
Ref_t
;
};
/// Create a new position relative to the given box
Position
(
int
left
,
int
top
,
int
right
,
int
bottom
,
const
Box
&
rBox
,
...
...
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