diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 18:31:35 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 18:31:35 +0000 |
commit | 2f31e009401121b71f03cc233aa2e6b360697fdb (patch) | |
tree | ce91dedea61036dcbd758089125f69eef95805b1 /media/media.gyp | |
parent | 28c47ee963812e92e2eb921ed1778f5db74041bc (diff) | |
download | chromium_src-2f31e009401121b71f03cc233aa2e6b360697fdb.zip chromium_src-2f31e009401121b71f03cc233aa2e6b360697fdb.tar.gz chromium_src-2f31e009401121b71f03cc233aa2e6b360697fdb.tar.bz2 |
Media Player mainfrm.h
This module contains all event handling for menus in the Media Player.
The implementation is WTL (Windows Template Library) based.
The main menu is:
File Edit View Play Options Help
File opens/closes movies and has print features.
Edit has copy/paste features.
View has spatial controls, such as scaling, and tool and status bars and a properties dialogue box.
Play has temporal controls, such as play speed and pause.
Options controls details such as Audio and Video on/off.
Help is just an about box.
Right clicking brings up a context menu with edit and view items.
A tool bar exposes the most common menu items as buttons.
Hotkeys (accelerators) are mapped to most menu items.
A .RC file is used to edit the menus using the resource editor in visual studio.
Dialogue boxes are each handled by a different .h. ie props.h for properties.
Mainfrm.h does some minor dialogue boxes directly, such as the file selector and alert boxes for errors.
Review URL: http://codereview.chromium.org/99087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r-- | media/media.gyp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/media/media.gyp b/media/media.gyp index 5379fbe..665088f 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -212,12 +212,19 @@ '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', ], 'sources': [ - 'player/player.cc', - 'player/player_wtl.rc', - 'player/resource.h', - 'player/stdafx.h', - 'player/stdafx.cc', - ], + 'player/list.h', + 'player/mainfrm.h', + 'player/movie.cc', + 'player/movie.h', + 'player/player_wtl.cc', + 'player/player_wtl.rc', + 'player/props.h', + 'player/resource.h', + 'player/stdafx.h', + 'player/view.h', + 'player/wtl_renderer.cc', + 'player/wtl_renderer.h', + ], }, ], }], |