diff --git a/modules/highgui/include/opencv2/highgui/highgui_c.h b/modules/highgui/include/opencv2/highgui/highgui_c.h index fbcdba24fd..9204ee81f4 100644 --- a/modules/highgui/include/opencv2/highgui/highgui_c.h +++ b/modules/highgui/include/opencv2/highgui/highgui_c.h @@ -558,7 +558,7 @@ CVAPI(int) cvGetCaptureDomain( CvCapture* capture); /* "black box" video file writer structure */ typedef struct CvVideoWriter CvVideoWriter; -#define CV_FOURCC_MACRO(c1, c2, c3, c4) ((c1 & 255) + ((c2 & 255) << 8) + ((c3 & 255) << 16) + ((c4 & 255) << 24)) +#define CV_FOURCC_MACRO(c1, c2, c3, c4) (((c1) & 255) + (((c2) & 255) << 8) + (((c3) & 255) << 16) + (((c4) & 255) << 24)) CV_INLINE int CV_FOURCC(char c1, char c2, char c3, char c4) { diff --git a/modules/highgui/src/cap_msmf.cpp b/modules/highgui/src/cap_msmf.cpp index ae82b2c67e..dfd206ea4a 100644 --- a/modules/highgui/src/cap_msmf.cpp +++ b/modules/highgui/src/cap_msmf.cpp @@ -203,12 +203,8 @@ private: RawImage *ig_RIOut; ImageGrabber(unsigned int deviceID, bool synchronous); HRESULT CreateTopology(IMFMediaSource *pSource, IMFActivate *pSinkActivate, IMFTopology **ppTopo); - HRESULT AddSourceNode( - IMFTopology *pTopology, - IMFMediaSource *pSource, - IMFPresentationDescriptor *pPD, - IMFStreamDescriptor *pSD, - IMFTopologyNode **ppNode); + HRESULT AddSourceNode(IMFTopology *pTopology, IMFMediaSource *pSource, + IMFPresentationDescriptor *pPD, IMFStreamDescriptor *pSD, IMFTopologyNode **ppNode); HRESULT AddOutputNode(IMFTopology *pTopology, IMFActivate *pActivate, DWORD dwId, IMFTopologyNode **ppNode); // IUnknown methods STDMETHODIMP QueryInterface(REFIID iid, void** ppv); @@ -886,7 +882,7 @@ FormatReader::~FormatReader(void) { } -#define CHECK_HR(x) if (FAILED(x)) { printf("Checking failed !!!\n"); goto done; } +#define CHECK_HR(x) if (FAILED(x)) { goto done; } ImageGrabber::ImageGrabber(unsigned int deviceID, bool synchronous): m_cRef(1), @@ -904,10 +900,8 @@ ImageGrabber::ImageGrabber(unsigned int deviceID, bool synchronous): ImageGrabber::~ImageGrabber(void) { - printf("ImageGrabber::~ImageGrabber()\n"); if (ig_pSession) { - printf("ig_pSession->Shutdown()\n"); ig_pSession->Shutdown(); } @@ -947,31 +941,26 @@ HRESULT ImageGrabber::initImageGrabber(IMFMediaSource *pSource, GUID VideoFormat hr = pSource->CreatePresentationDescriptor(&pPD); if (FAILED(hr)) { - printf("Error creating CreatePresentationDescriptor()\n"); goto err; } BOOL fSelected; hr = pPD->GetStreamDescriptorByIndex(0, &fSelected, &pSD); if (FAILED(hr)) { - printf("Error GetStreamDescriptorByIndex()\n"); goto err; } hr = pSD->GetMediaTypeHandler(&pHandler); if (FAILED(hr)) { - printf("Error GetMediaTypeHandler()\n"); goto err; } DWORD cTypes = 0; hr = pHandler->GetMediaTypeCount(&cTypes); if (FAILED(hr)) { - printf("Error GetMediaTypeCount()\n"); goto err; } if(cTypes > 0) { hr = pHandler->GetCurrentMediaType(&pCurrentType); if (FAILED(hr)) { - printf("Error GetCurrentMediaType()\n"); goto err; } MT = FormatReader::Read(pCurrentType.Get()); @@ -986,10 +975,6 @@ err: { sizeRawImage = MT.MF_MT_FRAME_SIZE * 4; } - else - { - printf("Video format is not RBG 24/32!\n"); - } CHECK_HR(hr = RawImage::CreateInstance(&ig_RIFirst, sizeRawImage)); CHECK_HR(hr = RawImage::CreateInstance(&ig_RISecond, sizeRawImage)); ig_RIOut = ig_RISecond; @@ -1038,16 +1023,8 @@ HRESULT ImageGrabber::startGrabbing(void) PropVariantInit(&var); HRESULT hr = S_OK; hr = ig_pSession->SetTopology(0, ig_pTopology); - if (FAILED(hr)) - { - printf("Error: cannot set topology (status %u)\n", hr); - } DPO->printOut(L"IMAGEGRABBER VIDEODEVICE %i: Start Grabbing of the images\n", ig_DeviceID); hr = ig_pSession->Start(&GUID_NULL, &var); - if (FAILED(hr)) - { - printf("Error: cannot start session (status %u)\n", hr); - } for(;;) { HRESULT hrStatus = S_OK; @@ -1289,7 +1266,6 @@ STDMETHODIMP ImageGrabber::OnProcessSample(REFGUID guidMajorMediaType, DWORD dwS (void)llSampleDuration; (void)dwSampleSize; - //printf("ImageGrabber::OnProcessSample() -- begin\n"); HANDLE tmp[] = {ig_hFinish, ig_hFrameGrabbed, NULL}; DWORD status = WaitForMultipleObjects(2, tmp, FALSE, INFINITE); @@ -1310,8 +1286,6 @@ STDMETHODIMP ImageGrabber::OnProcessSample(REFGUID guidMajorMediaType, DWORD dwS ig_RIOut = ig_RISecond; } - //printf("ImageGrabber::OnProcessSample() -- end\n"); - if (ig_Synchronous) { SetEvent(ig_hFrameReady); @@ -3128,11 +3102,7 @@ void CvCaptureFile_MSMF::close() if (videoFileSource) { - HRESULT hr = videoFileSource->Shutdown(); - if (FAILED(hr)) - { - printf("VideoCapture Closing failed!\n"); - } + videoFileSource->Shutdown(); } } @@ -3531,16 +3501,13 @@ bool CvVideoWriter_MSMF::open( const char* filename, int fourcc, void CvVideoWriter_MSMF::close() { - printf("VideoWriter::close()\n"); if (!initiated) { - printf("VideoWriter was not Initialized\n"); return; } initiated = false; HRESULT hr = sinkWriter->Finalize(); - printf("sinkWriter Finalize status %u\n", hr); MFShutdown(); } @@ -3569,7 +3536,6 @@ bool CvVideoWriter_MSMF::writeFrame(const IplImage* img) HRESULT hr = WriteFrame(target, rtStart, rtDuration); if (FAILED(hr)) { - printf("Private WriteFrame failed\n"); delete[] target; return false; } @@ -3600,7 +3566,6 @@ HRESULT CvVideoWriter_MSMF::InitializeSinkWriter(const char* filename) // Set the output media type. if (SUCCEEDED(hr)) { - printf("MFCreateSinkWriterFromURL is successfull\n"); hr = MFCreateMediaType(&mediaTypeOut); } if (SUCCEEDED(hr)) @@ -3755,7 +3720,6 @@ HRESULT CvVideoWriter_MSMF::WriteFrame(DWORD *videoFrameBuffer, const LONGLONG& CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc, double fps, CvSize frameSize, int isColor ) { - printf("Creating Media Foundation VideoWriter\n"); CvVideoWriter_MSMF* writer = new CvVideoWriter_MSMF; if( writer->open( filename, fourcc, fps, frameSize, isColor != 0 )) return writer; diff --git a/platforms/scripts/cmake_winrt.cmd b/platforms/scripts/cmake_winrt.cmd index c6d8cb8e03..df70e856c5 100644 --- a/platforms/scripts/cmake_winrt.cmd +++ b/platforms/scripts/cmake_winrt.cmd @@ -1,6 +1,6 @@ -mkdir build -cd build +mkdir build_winrt_arm +cd build_winrt_arm rem call "C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\x86_arm\vcvarsx86_arm.bat" -cmake.exe -GNinja -DWITH_TBB=ON -DBUILD_TBB=ON -DCMAKE_BUILD_TYPE=Release -DWITH_FFMPEG=OFF -DBUILD_opencv_gpu=OFF -DBUILD_opencv_python=OFF -DCMAKE_TOOLCHAIN_FILE=..\..\winrt\arm.winrt.toolchain.cmake ..\..\.. +cmake.exe -GNinja -DWITH_TBB=ON -DBUILD_TBB=ON -DCMAKE_BUILD_TYPE=Release -DWITH_FFMPEG=OFF -DBUILD_opencv_gpu=OFF -DBUILD_opencv_python=OFF -DCMAKE_TOOLCHAIN_FILE=..\winrt\arm.winrt.toolchain.cmake ..\.. diff --git a/samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml b/samples/winrt/ImageManipulations/AdvancedCapture.xaml similarity index 100% rename from samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml rename to samples/winrt/ImageManipulations/AdvancedCapture.xaml diff --git a/samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml.cpp b/samples/winrt/ImageManipulations/AdvancedCapture.xaml.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml.cpp rename to samples/winrt/ImageManipulations/AdvancedCapture.xaml.cpp diff --git a/samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml.h b/samples/winrt/ImageManipulations/AdvancedCapture.xaml.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/AdvancedCapture.xaml.h rename to samples/winrt/ImageManipulations/AdvancedCapture.xaml.h diff --git a/samples/winrt/ImageManipulations/C++/App.xaml b/samples/winrt/ImageManipulations/App.xaml similarity index 100% rename from samples/winrt/ImageManipulations/C++/App.xaml rename to samples/winrt/ImageManipulations/App.xaml diff --git a/samples/winrt/ImageManipulations/C++/App.xaml.cpp b/samples/winrt/ImageManipulations/App.xaml.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/App.xaml.cpp rename to samples/winrt/ImageManipulations/App.xaml.cpp diff --git a/samples/winrt/ImageManipulations/C++/App.xaml.h b/samples/winrt/ImageManipulations/App.xaml.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/App.xaml.h rename to samples/winrt/ImageManipulations/App.xaml.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvImageManipulations.h b/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvImageManipulations.h deleted file mode 100644 index 5fce7322c2..0000000000 --- a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvImageManipulations.h +++ /dev/null @@ -1,92 +0,0 @@ - - -/* this ALWAYS GENERATED file contains the definitions for the interfaces */ - - - /* File created by MIDL compiler version 8.00.0595 */ -/* at Wed Jun 19 03:47:25 2013 - */ -/* Compiler settings for C:\Users\ASMORK~1\AppData\Local\Temp\OcvImageManipulations.idl-2e8e757e: - Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595 - protocol : dce , ms_ext, c_ext, robust - error checks: allocation ref bounds_check enum stub_data - VC __declspec() decoration level: - __declspec(uuid()), __declspec(selectany), __declspec(novtable) - DECLSPEC_UUID(), MIDL_INTERFACE() -*/ -/* @@MIDL_FILE_HEADING( ) */ - -#pragma warning( disable: 4049 ) /* more than 64k source lines */ - - -/* verify that the version is high enough to compile this file*/ -#ifndef __REQUIRED_RPCNDR_H_VERSION__ -#define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ -#error this stub requires an updated version of -#endif // __RPCNDR_H_VERSION__ - - -#ifndef __OcvImageManipulations_h__ -#define __OcvImageManipulations_h__ - -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -#pragma once -#endif - -#if defined(__cplusplus) -#if defined(__MIDL_USE_C_ENUM) -#define MIDL_ENUM enum -#else -#define MIDL_ENUM enum class -#endif -#endif - - -/* Forward Declarations */ - -/* header files for imported files */ -#include "Windows.Media.h" - -#ifdef __cplusplus -extern "C"{ -#endif - - -/* interface __MIDL_itf_OcvImageManipulations_0000_0000 */ -/* [local] */ - -#pragma warning(push) -#pragma warning(disable:4001) -#pragma once -#pragma warning(pop) -#ifndef RUNTIMECLASS_OcvTransform_OcvImageManipulations_DEFINED -#define RUNTIMECLASS_OcvTransform_OcvImageManipulations_DEFINED -extern const __declspec(selectany) WCHAR RuntimeClass_OcvTransform_OcvImageManipulations[] = L"OcvTransform.OcvImageManipulations"; -#endif - - -/* interface __MIDL_itf_OcvImageManipulations_0000_0000 */ -/* [local] */ - - - -extern RPC_IF_HANDLE __MIDL_itf_OcvImageManipulations_0000_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_OcvImageManipulations_0000_0000_v0_0_s_ifspec; - -/* Additional Prototypes for ALL interfaces */ - -/* end of Additional Prototypes */ - -#ifdef __cplusplus -} -#endif - -#endif - - diff --git a/samples/winrt/ImageManipulations/C++/Constants.cpp b/samples/winrt/ImageManipulations/Constants.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/Constants.cpp rename to samples/winrt/ImageManipulations/Constants.cpp diff --git a/samples/winrt/ImageManipulations/C++/Constants.h b/samples/winrt/ImageManipulations/Constants.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/Constants.h rename to samples/winrt/ImageManipulations/Constants.h diff --git a/samples/winrt/ImageManipulations/C++/MainPage.xaml b/samples/winrt/ImageManipulations/MainPage.xaml similarity index 100% rename from samples/winrt/ImageManipulations/C++/MainPage.xaml rename to samples/winrt/ImageManipulations/MainPage.xaml diff --git a/samples/winrt/ImageManipulations/C++/MainPage.xaml.cpp b/samples/winrt/ImageManipulations/MainPage.xaml.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/MainPage.xaml.cpp rename to samples/winrt/ImageManipulations/MainPage.xaml.cpp diff --git a/samples/winrt/ImageManipulations/C++/MainPage.xaml.h b/samples/winrt/ImageManipulations/MainPage.xaml.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MainPage.xaml.h rename to samples/winrt/ImageManipulations/MainPage.xaml.h diff --git a/samples/winrt/ImageManipulations/C++/MediaCapture.sln b/samples/winrt/ImageManipulations/MediaCapture.sln similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaCapture.sln rename to samples/winrt/ImageManipulations/MediaCapture.sln diff --git a/samples/winrt/ImageManipulations/C++/MediaCapture.vcxproj b/samples/winrt/ImageManipulations/MediaCapture.vcxproj similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaCapture.vcxproj rename to samples/winrt/ImageManipulations/MediaCapture.vcxproj diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/Common/AsyncCB.h b/samples/winrt/ImageManipulations/MediaExtensions/Common/AsyncCB.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/Common/AsyncCB.h rename to samples/winrt/ImageManipulations/MediaExtensions/Common/AsyncCB.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/Common/BufferLock.h b/samples/winrt/ImageManipulations/MediaExtensions/Common/BufferLock.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/Common/BufferLock.h rename to samples/winrt/ImageManipulations/MediaExtensions/Common/BufferLock.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/Common/CritSec.h b/samples/winrt/ImageManipulations/MediaExtensions/Common/CritSec.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/Common/CritSec.h rename to samples/winrt/ImageManipulations/MediaExtensions/Common/CritSec.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/Common/LinkList.h b/samples/winrt/ImageManipulations/MediaExtensions/Common/LinkList.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/Common/LinkList.h rename to samples/winrt/ImageManipulations/MediaExtensions/Common/LinkList.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/Common/OpQueue.h b/samples/winrt/ImageManipulations/MediaExtensions/Common/OpQueue.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/Common/OpQueue.h rename to samples/winrt/ImageManipulations/MediaExtensions/Common/OpQueue.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvImageManipulations.idl b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvImageManipulations.idl similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvImageManipulations.idl rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvImageManipulations.idl diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.cpp b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.cpp rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.def b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.def similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.def rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.def diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.h b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.h rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.h diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.vcxproj b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.vcxproj similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/OcvTransform.vcxproj rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.vcxproj diff --git a/samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/dllmain.cpp b/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/dllmain.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/MediaExtensions/OcvTransform/dllmain.cpp rename to samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/dllmain.cpp diff --git a/samples/winrt/ImageManipulations/C++/Package.appxmanifest b/samples/winrt/ImageManipulations/Package.appxmanifest similarity index 100% rename from samples/winrt/ImageManipulations/C++/Package.appxmanifest rename to samples/winrt/ImageManipulations/Package.appxmanifest diff --git a/samples/winrt/ImageManipulations/C++/assets/opencv-logo-150.png b/samples/winrt/ImageManipulations/assets/opencv-logo-150.png similarity index 100% rename from samples/winrt/ImageManipulations/C++/assets/opencv-logo-150.png rename to samples/winrt/ImageManipulations/assets/opencv-logo-150.png diff --git a/samples/winrt/ImageManipulations/C++/assets/opencv-logo-30.png b/samples/winrt/ImageManipulations/assets/opencv-logo-30.png similarity index 100% rename from samples/winrt/ImageManipulations/C++/assets/opencv-logo-30.png rename to samples/winrt/ImageManipulations/assets/opencv-logo-30.png diff --git a/samples/winrt/ImageManipulations/C++/assets/splash-sdk.png b/samples/winrt/ImageManipulations/assets/splash-sdk.png similarity index 100% rename from samples/winrt/ImageManipulations/C++/assets/splash-sdk.png rename to samples/winrt/ImageManipulations/assets/splash-sdk.png diff --git a/samples/winrt/ImageManipulations/C++/assets/windows-sdk.png b/samples/winrt/ImageManipulations/assets/windows-sdk.png similarity index 100% rename from samples/winrt/ImageManipulations/C++/assets/windows-sdk.png rename to samples/winrt/ImageManipulations/assets/windows-sdk.png diff --git a/samples/winrt/ImageManipulations/C++/common/LayoutAwarePage.cpp b/samples/winrt/ImageManipulations/common/LayoutAwarePage.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/common/LayoutAwarePage.cpp rename to samples/winrt/ImageManipulations/common/LayoutAwarePage.cpp diff --git a/samples/winrt/ImageManipulations/C++/common/LayoutAwarePage.h b/samples/winrt/ImageManipulations/common/LayoutAwarePage.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/common/LayoutAwarePage.h rename to samples/winrt/ImageManipulations/common/LayoutAwarePage.h diff --git a/samples/winrt/ImageManipulations/C++/common/StandardStyles.xaml b/samples/winrt/ImageManipulations/common/StandardStyles.xaml similarity index 100% rename from samples/winrt/ImageManipulations/C++/common/StandardStyles.xaml rename to samples/winrt/ImageManipulations/common/StandardStyles.xaml diff --git a/samples/winrt/ImageManipulations/C++/common/suspensionmanager.cpp b/samples/winrt/ImageManipulations/common/suspensionmanager.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/common/suspensionmanager.cpp rename to samples/winrt/ImageManipulations/common/suspensionmanager.cpp diff --git a/samples/winrt/ImageManipulations/C++/common/suspensionmanager.h b/samples/winrt/ImageManipulations/common/suspensionmanager.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/common/suspensionmanager.h rename to samples/winrt/ImageManipulations/common/suspensionmanager.h diff --git a/samples/winrt/ImageManipulations/description.html b/samples/winrt/ImageManipulations/description.html deleted file mode 100644 index ad1df7d563..0000000000 --- a/samples/winrt/ImageManipulations/description.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - Media capture using capture device sample - - - - - - -
-

Media capture using capture device sample

-
-
-
-
- -
- Windows Runtime -
-
-
- -
- Devices and sensors -
-
-
- -
- Windows RT -
-
-
- -
- -
-
-
- -
en-US
-
-
- -
4/9/2013
-
-
- - -
- -
-
- - - -
- -
-

This sample demonstrates how to use the -MediaCapture API to capture video, audio, and pictures from a capture device, such as a webcam. -

-

Specifically, this sample covers:

-
    -
  • Previewing video from a capture device, such as a webcam, connected to the computer. -
  • Capturing video from a capture device, such as a webcam, connected to the computer. -
  • Taking a picture from a capture device, such as a webcam, connected to the computer. -
  • Enumerating cameras connected to the computer.
  • Adding a video effect to a video.
  • Recording audio from a capture device connected to the computer.
-

-

For more information on capturing video in your app, see -Quickstart: capturing a photo or video using the camera dialog and -Quickstart: capturing video using the MediaCapture API.

-

Important  

-

This sample uses the Media Extension feature of Windows 8 to add functionality to the Microsoft Media Foundation pipeline. A Media Extension consists of a hybrid object that implements both Component Object Model (COM) and Windows Runtime - interfaces. The COM interfaces interact with the Media Foundation pipeline. The Windows Runtime interfaces activate the component and interact with the Windows Store app. -

-

In most situations, it is recommended that you use Visual C++ with Component Extensions (C++/CX ) to interact with the Windows Runtime. But in the case of hybrid components that implement both COM and Windows Runtime interfaces, such as Media - Extensions, this is not possible. C++/CX can only create Windows Runtime objects. So, for hybrid objects it is recommended that you use -Windows Runtime C++ Template Library to interact with the Windows Runtime. Be aware that Windows Runtime C++ Template Library has limited support for implementing COM interfaces.

-

-

To obtain an evaluation copy of Windows 8, go to -Windows 8.

-

To obtain an evaluation copy of Microsoft Visual Studio 2012, go to -Visual Studio 2012.

-

Related topics

-
Windows 8 app samples -
Roadmaps
Adding multimedia -
Capturing or rendering audio, video, and images -
Designing UX for apps -
Roadmap for apps using C# and Visual Basic -
Roadmap for apps using C++ -
Roadmap for apps using JavaScript -
Tasks
Quickstart: capturing a photo or video using the camera dialog -
Quickstart: capturing video using the MediaCapture API -
Reference
AddEffectAsync -
ClearEffectsAsync -
MediaCapture -
MediaCaptureSettings -
MediaEncodingProfile -
StartRecordToStorageFileAsync -
Windows.Media.Capture
-

Operating system requirements

- - - - - - - - - - - -
Client
Windows 8
Server
Windows Server 2012
-

Build the sample

-

-
    -
  1. Start Visual Studio Express 2012 for Windows 8 and select File > -Open > Project/Solution.
  2. Go to the directory in which you unzipped the sample. Go to the directory named for the sample, and double-click the Visual Studio Express 2012 for Windows 8 Solution (.sln) file. -
  3. Press F7 or use Build > Build Solution to build the sample.
-

-

Run the sample

-

To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use -Debug > Start Without Debugging.

-
- -
- - -
- - diff --git a/samples/winrt/ImageManipulations/description/4ee0dda0-3e7e-46df-b80b-1692acc1c812Combined.css b/samples/winrt/ImageManipulations/description/4ee0dda0-3e7e-46df-b80b-1692acc1c812Combined.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/samples/winrt/ImageManipulations/description/Brand.css b/samples/winrt/ImageManipulations/description/Brand.css deleted file mode 100644 index 98415561e5..0000000000 --- a/samples/winrt/ImageManipulations/description/Brand.css +++ /dev/null @@ -1,3629 +0,0 @@ -#BodyBackground -{ - min-width:0px; -} - -#JelloExpander, .IE7 #JelloExpander, .IE8 #JelloExpander, .IE9 #JelloExpander -{ - padding-left:0px; - padding-right:0px; -} - -#JelloSizer -{ - margin: 0 auto; - max-width: 0px; - padding: 0; - width: 100%; -} - -/* Global Styles */ -body -{ - font-size:0.75em; -} - -h1 -{ - font-size: 3em; - font-family: 'Segoe UI Light','Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; - color: #707070; - font-weight: normal; - padding-top:4px; - margin-bottom: 17px; - line-height: 1.3; - font-weight:100; -} - -h2, h3, h4, h5, h6 -{ - font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; - color:#2a2a2a; - font-weight:normal; -} - -a, a:link, a:visited { - color: #00749E; -} -a:hover { - color: #0095c4; - text-decoration:none; -} - -/*---------- Masthead -----------*/ - -.NetworkLogo a { - display: none; -} - -/*-------- Start Advertisment --------*/ - -.advertisment { - padding-top:5px; -} - -/*-------- End Advertisment --------*/ - - -/*-------- Start LocalTabs Page --------*/ -#GalleriesNavigation { - float: right; -} - -.LocalNavigation -{ - display:block; - overflow: auto; - width: auto; -} - .LocalNavigation .HeaderTabs { - width: auto; - } - .LocalNavigation .TabOff a { - color:#333; - } - - .LocalNavigation .TabOff a:hover { - background-color:#E0E7EC; - margin-top: 1px; - padding: 4px 6px; - } - - .LocalNavigation #notificationLink span { - color:Red; - font-weight:bold; - } - - -/*-------- End LocalTabs Page --------*/ - -/*-------- Start SubMenu Page --------*/ - -.subMenu -{ - margin: 0 0 10px 0; - color: #FFFFFF; - overflow: hidden; -} - -.subMenu a, .subMenu span -{ - margin: 5px 5px 0 5px; -} - -.subMenu > h2 -{ - float: left; - margin: 7px 15px 0 0; - vertical-align: middle; - color: #666; - padding-bottom: 5px; -} - -.subMenu .advancedSearchLink -{ - float: left; - margin: 9px 0 0 15px; -} - - - -.subMenu .uploadLink -{ - float: right; - margin: 5px 5px 0 0; - padding: 0 0 0 30px; - height: 24px; - background: url('../Common/smalluploadicon.png') no-repeat 10px 0; - color: #0066E1; - cursor: pointer; -} - -.subMenu #searchBoxContainer -{ - float: left; - width: 400px; - padding: 3px 50px; -} - -/*-------- End SubMenu Page --------*/ - -/*-------- Start SearchBox --------*/ - -div.searchbox -{ - overflow:auto; - width:450px; - margin:26px 0 14px 0; -} - -.srchbox -{ - width: 100%; - background: #FFFFFF; - padding: 0px 2px; - height: 25px; - border: 1px solid #ccc; - table-layout: auto; - margin-bottom:5px; -} - - - -.srchbox #searchImageCell input -{ - background: transparent url('searchButton.png') no-repeat 0 0; - width: 20px; - height: 20px; - padding-left: 1px; - margin-top: 3px; -} - - -.srchbox #searchImageCell -{ - text-align: right; - padding: 0px; - vertical-align: middle; -} - -.IE7 .srchbox #searchImageCell -{ - padding:2px 2px 0 0; -} - -.srchbox #searchImageCell input -{ -} - - -table.srchbox -{ - table-layout: fixed; -} - -.srchbox .stxtcell -{ - padding-right: 4px; - width:90%; -} - -.srchbox .stxtcell > input -{ - margin-right: 4px; - height: 26px; - line-height:26px; - width: 100%; - padding: 0px; - padding-left: 4px; - padding-top: 2px; - border: none; - font-style: normal !important; - outline: none; -} - -.IE7 .srchbox .stxtcell > input -{ - height: 20px; -} - -.srchbox .stxtcell > input.stxtinptpassive -{ - color: #AAA; - font-style: normal !important; -} - -/*-------- End SearchBox --------*/ - - -/*-------- Start Search Page --------*/ - - -#searchPage #mainContentContainer -{ - margin: 0 0 0 243px; -} - -#searchPage .browseFilterBar, #dashboardPage .browseFilterBar -{ - padding: 5px 0 6px 0; - -} - - #searchPage .browseFilterBar a, #dashboardPage .browseFilterBar a - { - font-weight:normal; - } - - #searchPage .browseFilterBar .browseSort, #dashboardPage .browseFilterBar .browseSort - { - float:right; - } - - #searchPage .browseBreadcrumb - { - padding-top:3px; - } - - #searchPage .browseFilterBar .browseSort select, #dashboardPage .browseFilterBar .browseSort select - { - height:20px; - } - - #searchPage .browseFilterBar .browseSort img, #dashboardPage .browseFilterBar .browseSort img - { - vertical-align:text-top; - } - -#searchPage h2, #searchPage h3 -{ - font-size: 1.25em; - padding: 2px 0 3px 3px; -} - -#searchPage h2 -{ - display:inline; - clear:none; -} - - #dashboardsearchbox - { - width:420px; - margin:0; - float:left; - } - -/*-------- End Search Page --------*/ - -/*-------- Begin Requests Page --------*/ - -#requestsPage { - color:#666; -} - - #requestsPage h1 { - clear:none; - } - #requestsPage h2, #requestsPage h3 - { - font-size: 1.25em; - } - - #requestsPage h2 - { - display:inline; - clear:none; - } - - #requestsPage h3 - { - padding: 2px 0 3px 3px; - } - - #requestsPage #mainContentContainer - { - margin: 0 0 0 243px; - } - - #requestsPage #mainContentWrapper { - float:left; - width:100%; - } - #requestsPage #mainContent { - position:relative; - } - - #requestsPage #mainContent .subtitle{ - margin-bottom:5px; - } - - #requestsPage #requestsFilterBar { - margin-top: 10px; - overflow: auto; - } - - #requestsPage #requestsFilterBar .requestsCrumb { - float: left; - margin:10px 0 10px 10px; - } - #requestsPage #requestsFilterBar .requestsSort { - float: right; - margin:10px 0 10px 0; - } - - #requestsPage #Pager { - text-align: center; - padding-top: .75em; - padding-bottom: .75em; - } - - #requestsPage #requestsRss { - float: right; - margin: 2px 0 0 3px; - cursor: pointer; - } - - .IE7 #requestsPage #requestsList { - padding-top: 10px; - margin-top:5px; - } - - #requestsPage #requestsList .noResults { - padding: 10px 0; - } - - -/*-------- End Requests Page --------*/ - -/*-------- Begin Request List Item --------*/ -.requestlistitem td -{ - padding: .9em 0 .9em .5em; -} - .requestlistitem .votebox - { - - text-align:center; - } - - .requestlistitem .voteboxcontainer - { - vertical-align:top; - width: 75px; - } - - .requestlistitem #votelabel - { - border-width:1px; - border-bottom-style:solid; - } - - #myRequestsTab #votenumber, - #requestsPage #votenumber - { - background-color: #777; - padding: 6px 10px; - color: #fff; - margin-bottom: 5px; - font-size: 1.6em; - } - - #myRequestsTab .votelink, - #requestsPage .votelink - { - font-weight:bold; - background-color: #eee; - padding: 5px 0; - width: 75px; - float: left; - } - - #myRequestsTab .needvote, - #requestsPage .needvote - { - font-weight:bold; - } - - #myRequestsTab .alreadyvoted, #myRequestsTab .resolved - #requestsPage .alreadyvoted, #requestsPage .resolved - { - font-weight:bold; - color: #666; - } - - .requestlistitem .linkform - { - width:100%; - float:right; - margin-top:15px; - } - - .requestlistitem .requesttitle - { - font-weight:600; - margin-bottom:3px; - } - - .requestlistitem .requester - { - margin-bottom:3px; - } - - .requestlistitem .hidden - { - display:none; - } - - .requestlistitem .requestSummary div - { - margin-bottom:0.25em; - } - - .requestlistitem .requestSummary - { - line-height: 1.45em; - width: 80%; - } - .requestlistitem .requestInfo - { - padding:1.2em 0 0 2.5em; - vertical-align:top; - width:15%; - line-height: 1.45em; - } - - .requestlinks > td - { - padding-bottom: 16px; - } - - .requestlinks div - { - float:right; - } - - .requestlistitem .textbox - { - width:95%; - } - - - -/*-------- End Request List Item --------*/ - - -/*-------- Begin New Request Form --------*/ -#newrequest { - margin-top:5px; - background:#F8F8F8; - border-width:1px; - border-style:solid; - border-color:#E8E8E8; - padding:5px; -} - -#newrequest > div:first-child { - font-weight:bold; -} - -#newrequest .itemheading { - margin-top:5px; -} - -#newrequest textarea { - width:95%; -} - -#newrequest .field-validation-error { - display:block; - color:Red; - font-weight:bold; -} -#newrequest #submit { - margin-top:5px; -} - -/*-------- End New Request Form --------*/ - -/*-------- Request Description Page ------*/ - -.reqDescPage #mainContent { - overflow: auto; -} -.reqDescPage #header { - float: left; - width: 100%; -} - -.reqDescPage { - color: #000 !important; -} - -.reqDescPage #sideNav { - background-color: #fff; -} - -.reqDescPage #header td { - vertical-align: bottom; -} - -.reqDescPage #header #votenumber { - width: 50px; - padding: 6px 12px; - text-align: center; - float: left; -} - -.reqDescPage #header .requestTitle { - margin: 0 0 5px 10px; - width: 85%; -} - -.reqDescPage #header .requestTitle h1 { - margin-bottom: 0px; - font-size: 2em; -} - -.reqDescPage #headerLinks { - -} - -.reqDescPage .votelink -{ - text-align: center; - float: left; -} - -#requestsPage #headerLinks .assignlink -{ - font-weight:bold; - background-color: #eee; - padding: 5px 10px; - float: left; - margin-left: 10px; -} - -.reqDescPage #projectInfo { - clear: both; -} - -.reqDescPage #solutions { - clear: both; - padding-top: 30px; -} - -.reqDescPage .solutionItems { - clear: both; -} - -.reqDescPage .solutionHeader { - border-bottom: 1px solid #ccc; -} - -.reqDescPage .solutionAddContainer { - padding-top: 15px; - float: left; -} - -.reqDescPage #SubmittedProjectLinkUrl { - width: 400px; -} - -.reqDescPage .solutionItem { - margin-top: 25px; - padding: 0 5px 5px 0; - float: left; -} -.reqDescPage .solutionItemDetails { - float: left; - width: 535px; -} - -.reqDescPage .solutionItemLinks { - margin-top: 10px; - clear: both; - float: left; - width: 100%; -} - -.reqDescPage .solutionItemLinks a { - float: left; - margin-right: 10px; - font-weight:bold; - background-color: #eee; - padding: 5px 10px; -} - -.reqDescPage .solutionItem .itemTitle { - font-size: 1.2em; - padding-bottom: 5px; -} - -.reqDescPage .tagsContainer label { - display: none; -} - -.reqDescPage .solutionItem .summaryBox { - padding: .25em 0 .25em 0; - clear: both; - line-height: 1.45; -} - -.reqDescPage .solutionsection { - float: left; - margin-left: 20px; -} -.reqDescPage .completedSolution { - font-size: 1.25em; - padding-top: 4px; -} - -.reqDescPage .requestDescriptionCont, .reqDescPage .requestDicussions { - padding-top: 30px; - clear: both; - overflow: auto; -} - -.reqDescPage .requestDescription { - padding-top: 10px; - line-height: 1.45; -} - -.reqDescPage .requestDicussionsAsk { - padding: 10px 0; -} - -.reqDescPage .watermark { - color:Gray; - } - - -/*-------- Begin Extra Actions Section --------*/ -#extraActions -{ - float: right; - width: 300px; - vertical-align: top; -} - - #extraActions .section - { - padding: 0 0 10px 0; - overflow:auto; - } - - #extraActions .section a - { - font-weight:bold; - } -/*-------- End Extra Actions Section --------*/ - -/*-------- Begin Contribute --------*/ - - -#contributeSection a -{ - font-size:1.1em; -} - -#contributeSection, #sideNav #contributeSection h3, .sidebar #contributeSection h3, #contributeSection h3 -{ - background-color:#fff; - margin: 0 0 9px 0; - padding-left: 0px; -} - -#sideNav #contributeSection h3, .sidebar #contributeSection h3, #contributeSection h3 -{ - font-size:1.65em; - margin-top:42px; -} - -#sideNav #contributeSection, #contributeSection -{ - padding:0 0 41px 0; -} - -#projectPage .sidebar #contributeSection -{ - margin: 10px 0 10px 0; - padding:0 0 5px 0; - -} - -#sideNav #contributeSection > div, .sidebar #contributeSection > div, #contributeSection > div -{ - padding: 0 0 2px 0; - overflow:auto; -} - -#sideNav #contributeSection img, #contributeSection img -{ - float: left; - width: 25px; -} - -#sideNav #contributeSection .contributeAction, .sidebar #contributeSection .contributeAction, #contributeSection .contributeAction -{ - padding:17px 0 0 0; -} - - #contributeSection .contributeAction img - { - background-color:#00749e; - margin-right:9px; - } - - #contributeSection .contributeAction img:hover - { - background-color:#0095C4; - } - - #contributeSection .contributeAction a - { - display:block; - line-height: 1.8; - } - -#uploadLink, #exclamationLink, #myContributionsLink -{ - display:block; - line-height: 1.8; -} - -#myContributionsLink span -{ - color: red; -} - -#feedbackLink -{ - background: url("FeedbackIcon.png") no-repeat; - width: 40px; - height: 40px; -} - -.itemRow .affiliationLink, #editorPicksSection .affiliationLink -{ - background: url("../common/MicrosoftLogo.png") no-repeat; - width: 82px; - height: 18px; -} - - -#contributeSection a+div -{ - -} - -.IE7 #contributeSection a+div -{ - float:left; -} -/*-------- End Contribute --------*/ - - -/*-------- Begin Directory List Footer --------*/ - -#directoryListFooter { - padding:5px; - margin-top:10px; - margin-bottom:10px; - border:1px solid #E6E6E6; - background-color:#F8F8F8; - width:438px; -} - -#directoryListFooter h4 -{ - font-size:1em; -} - -/*-------- End Directory List Footer --------*/ - -/*-------- Begin Editors Picks --------*/ -#editorPicksSection ul -{ - padding-left:0px; - line-height:135%; -} - - #editorPicksSection ul li - { - clear: left; - padding-top: 10px; - list-style:none; - } - #editorPicksSection ul li:first-child { - padding-top: 0; - } - - #editorPicksSection a { - font-weight: normal !important; - } - - #editorPicksSection ul li .thumbnail - { - float: left; - padding: 3px; - max-width: 60px; - } - - #editorPicksSection ul li .thumbnail img { - max-width: 60px; - } -/*-------- End Editors Picks --------*/ - -/*-------- Begin Side Nav Section --------*/ - -#sideNav -{ - width: 215px; - margin-left: 0; - vertical-align: top; - float: left; -} - - #sideNav #sideNavHeader - { - margin-bottom: 10px; - padding-left: 12px; - } - - #sideNav #sideNavHeader a - { - margin-right:3px; - } - - #sideNav .section - { - padding: 0 10px 18px 10px; - } - #sideNav .section h3 - { - - padding: 2px 0 3px 3px; - } - - #sideNav .section ul - { - } - - #sideNav .section ul li - { - padding: 4px 0 2px; - margin-left: 3px; - margin-right: 3px; - } - - - #sideNav .section form > div - { - padding: 4px 0 0 0; - border-bottom: none; - margin: 0 3px 0 3px; - color: #3A3E43; - } - .IE8 #sideNav .section ul li > div.itemText - { - word-wrap: break-word; - width: 225px; - } - #sideNav .section ul li > div.itemCount - { - color: #3A3E43; - } - #sideNav .section a - { - font-weight: normal; - } - - #sideNav .section a:hover - { - text-decoration: underline; - } - -/*-------- End Side Nav Section --------*/ - - - -/*-------- Start Dashboard Page --------*/ - -#dashboardPage { - padding-top:5px; - clear:both; -} -#dashboardPage .contributions .tabContents { - padding: 5px 5px 10px 0; - clear:both; -} - #dashboardPage .contributions .noContributions { - clear:both; - } -#dashboardPage #mainContentWrapper { - float:left; - width:100%; -} - -#dashboardPage #detailsSection { - float:left; - margin-left:-100%; - width:240px; - padding: 0 0 18px 10px; -} - -.IE7 #dashboardPage #detailsSection { - width:auto; - min-width: 300px; - max-width: 300px; -} -.IE7 #dashboardPage #detailsSection .itemBar { - width: 270px; -} - -#dashboardPage #detailsSection h3 { - word-wrap:break-word; -} - -#dashboardPage #mainContent { - margin:0 0 0 250px; - position:relative; -} - -#dashboardPage .dashboardEvenRow -{ - background-color: #ececec; -} -#dashboardPage .dashboardPadding -{ - padding-bottom: 4px; -} -#dashboardPage .dashboardCell -{ - width: 100%; - vertical-align: top; - padding: 1em 0.5em 0.5em 0.5em; - word-wrap: break-word; -} -#dashboardPage .projectManagement -{ - width: 24em; - padding: 0em 1em 0em 1em; - vertical-align: top; - text-align: right; - float: right; -} - -#dashboardPage #subscriptionsLink -{ - position:absolute; - right:5px; -} - -#dashboardPage .itemDelete -{ - vertical-align:top; - padding-top:.8em; - width:30px; -} - -#dashboardPage .itemDeleteText -{ - border-style:solid; - border-width:thin; - border-collapse:collapse; - padding-bottom:2px; - padding-left:4px; - padding-right:4px; - color:Gray -} - -#dashboardPage #myRequestsTab .requestTabHeaders -{ - font-weight:normal; - border-bottom: solid 1px #CCC; - padding-bottom: 10px; - padding-top: 10px; - float: left; - width: 100%; -} - -#dashboardPage #myRequestsTab .requestTabHeaders div:first-child -{ - border: 0; -} - -#dashboardPage #myRequestsTab .requestTabHeaders div -{ - padding: 2px 9px 3px 9px; - font-size: 0.9em; - line-height: 125%; - color:#00749E; - border-left: solid 1px #555; - cursor: pointer; - float: left; - text-align: center; -} - -#dashboardPage #myRequestsTab .requestTabHeaders div.currentRequest -{ - background-color:#fff; - cursor: default; - border-bottom:none; - margin-bottom:-2px; - color:#000; -} - -#dashboardPage #myRequestsTab .requestTabHeaders div.currentRequest a { - color: #000; -} - - -#dashboardPage #myRequestsTab .requestTabHeaders div a -{ - text-decoration:none; -} - -#dashboardPage #myRequestsTab .requestTabContents -{ - clear: both; -} - -#dashboardPage #myRequestsTab .requestTabContents .noResults { - padding-top: 20px; -} - -/*-------- End Dashboard Page --------*/ - -/*-------- Start Upload Page --------*/ - -#UploadPage -{ - margin-left:10px; - max-width:925px; -} - - #UploadPage .watermark { - color:Gray; - } - - #UploadPage .projectTypeChoice { - } - - #UploadPage .projectTypeChoice > div { - padding: 20px 10px 20px 10px; - border: 1px solid darkgrey; - cursor: pointer; - height: 200px; - float: left; - } - - #UploadPage .projectTypeChoice > div + div - { - margin: 0 0 0 5px; - } - - #UploadPage .projectTypeChoice div.current - { - background-color: #E9E9E9; - cursor: default; - } - - #UploadPage .projectTypeChoice div.choice { - font-size: large; - font-weight: bold; - padding: 0 0 10px 0; - } - - #UploadPage .projectTypeChoice div.description { - padding: 0 0 0 17px; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription { - padding-top: 5px; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription .logos { - overflow: auto; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription .vslogo { - background: url(../samples/vslogo.png) no-repeat; - width: 125px; - height: 18px; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription .javalogo { - background: url(../samples/javalogo.png) no-repeat; - width: 33px; - height: 60px; - float: left; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription .phplogo { - background: url(../samples/phplogo.png) no-repeat; - width: 65px; - height: 35px; - float: left; - margin: 15px 0 0 10px; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription .nodejslogo { - background: url(../samples/nodejslogo.png) no-repeat; - width: 90px; - height: 25px; - float: left; - margin: 18px 0 0 10px; - } - - #UploadPage .projectTypeChoice #genericSampleUploadDescription > div+div { - margin-top: 10px; - } - - #UploadPage .projectTypeContents { - clear: left; - padding: 10px 0 0 0; - } - - #UploadPage .projectTypeContents .instruction > div+div { - padding-top: 5px; - } - #UploadPage #libraryContainer { - margin: 5px 0 0 0; - display: none; - } - #UploadPage fieldset - { - margin: 10px 0 30px 5px; - } - - #UploadPage fieldset > * - { - margin-left:10px; - } - - #UploadPage .fieldsetStyleContainer { - margin: 10px 0 0 5px; - } - - #UploadPage fieldset h2, - #UploadPage .fieldsetStyleContainer h2 - { - font-family: 'Segoe UI Semibold','Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; - font-size: 17px; - font-weight: bold; - color: #3A3E43; - border-bottom: 2px solid #EFEFEF; - width: 100%; - padding-bottom: 3px; - margin-left:0px; - margin-bottom:8px; - } - - .IE7 #UploadPage fieldset h2, - .IE7 #UploadPage .fieldsetStyleContainer h2 - { - margin-left:-10px; - } - - #UploadPage fieldset .field-validation-error - { - clear:left; - display:block; - margin-top:4px; - } - - #UploadPage fieldset .required - { - margin-left: 3px; - } - - #UploadPage fieldset .instruction, - #UploadPage .fieldsetStyleContainer .description, - #UploadPage .fieldsetStyleContainer .instruction - { - color: #3A3E43; - margin:0 0 10px 0; - } - - #UploadPage fieldset .faqLink - { - margin: 0 0 10px 0; - } - - #UploadPage fieldset label - { - display:block; - } - - #UploadPage fieldset input[type=text] - { - width:60%; - } - - #UploadPage fieldset input[type=checkbox] - { - float:left; - clear:left; - margin-right:5px; - } - - #UploadPage fieldset input[type=radio] - { - float:left; - clear:left; - margin-right:5px; - } - - #UploadPage fieldset#richDescription textarea - { - width:70%; - height:600px; - } - - #UploadPage fieldset#summary textarea - { - width:60%; - height:100px; - margin-top: 10px; - margin-left: -30px; - } - - .IE #UploadPage fieldset#summary textarea, .IE9 #UploadPage fieldset#summary textarea - { - margin-left: -30px; - overflow: auto; - } - - .FF #UploadPage fieldset#summary textarea - { - margin-left: -30px; - } - - #UploadPage fieldset#summary #SummaryReadOnly - { - width:60%; - margin-top: 10px; - padding-top: 5px; - color: #909082; - } - - #UploadPage fieldset#summary #SummaryCharCount - { - width:60%; - text-align: right; - } - - #UploadPage fieldset#options label - { - margin-bottom:10px; - } - - #UploadPage fieldset#license label - { - margin-bottom:10px; - } - - #UploadPage input[type="text"].tagInput, #UploadPage input[type="text"].listInput - { - width:40%; - float:left; - } - - #UploadPage .addedTags, #UploadPage .addedProjects - { - margin-bottom:15px; - width: 500px; - - } - #UploadPage .addedTags .tag, #UploadPage .addedProjects .projectTitle - { - position:relative; - overflow:hidden; - } - - #UploadPage .addedTags .tag label, #UploadPage .addedProjects .projectTitle label - { - float:left; - width: 450px; - } - - #UploadPage .addedTags .tag a, #UploadPage .addedProjects .projectTitle a - { - position:absolute; - text-align:right; - right:0px; - } - - .fileManager .fileUploadProgressIndicator - { - width: 500px; - } - - .fileManager .uploadProcessingWarning { - margin-top: 5px; - } - - .fileManager .fileUploadProgressIndicator .throbber - { - font-weight: bold; - background: url('./progressIndicatorWhite.gif') no-repeat 10px 0; - padding: 7px 10px 5px 60px; - height: 25px; - margin-left: -10px; - } - - .fileManager #uploadFrame, .fileManager .uploadFrame - { - width:100%; - } - - .fileManager .addLabel + a - { - margin-left:25px; - } - - .fileManager fieldset label { - display: block; - } - - .fileManager .unlocalizedFiles { - color:#808080; - } - - .fileManager .filesContainer - { - margin-bottom:15px; - width: 500px; - - } - - .fileManager .filesContainer .file - { - position:relative; - overflow:hidden; - } - - .fileManager .filesContainer .file .title { - border-bottom: 1px solid #000000; - padding-bottom: 3px; - margin-top: 10px; - margin-bottom: 10px; - } - - .fileManager .filesContainer .file .title .manageLinks - { - float: right; - } - - .fileManager .filesContainer .file .version { - padding: 0 0 20px 10px; - } - - .fileManager .filesContainer .file .version label { - float: left; - font-weight: bold; - } - - .fileManager .filesContainer .file .version span { - float: left; - margin-left: 5px; - } - - .fileManager .filesContainer .file .language { - clear: left; - padding: 0 0 5px 10px; - } - - .fileManager .filesContainer .file .language label { - font-weight: bold; - } - - .fileManager .filesContainer .file .language label + label { - font-weight: normal; - padding-left: 10px; - } - - .fileManager .filesContainer .file .language div { - padding-left: 20px; - } - - .file .requirements { - clear: left; - padding: 0 0 0 10px; - } - - .file .requirements label { - font-weight: bold; - } - - .file .requirements > div { - padding-left: 20px; - } - - .file .requirements .requirementsContent { - padding-top: 5px; - padding-bottom: 10px; - } - - .file .requirements .requirementsContent label { - font-style: italic; - font-weight: normal; - } - - .file .requirements .requirementsContent > div - { - margin-bottom:4px; - position:relative; - } - - .requirementsContent .requirementsRemove { - float:right; - position:absolute; - right:0px; - } - - .requirements .requirementsAddError { - color:#ff0000; - } - - .requirements .reqBrowseButton { - margin-left : 10px; - } - - #UploadPage fieldset .requirements input[type="text"] { - margin-right: 10px; - width: 70%; - } - - .reqBrowsefade - { - position: absolute; - background-color: #aaaaaa; - } - .reqBrowse - { - background-color: #f4f4f4; - border:1px solid #000000; - -border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - padding:15px; - position: absolute; - display: block; - } - - .reqBrowsebuttons - { - text-align:right; - position:absolute; - right:10px; - bottom:5px; - } - .reqBrowsebuttons > button - { - color: Blue; - border: none; - background: none; - font-weight: bold; - cursor:pointer; - } - - .reqBrowseclose - { - display:none; - } - - .reqBrowseDialog - { - width: 700px; - clear:both; - overflow:hidden; - padding-bottom: 20px; - } - - .reqBrowseDialog > h2 - { - border-bottom: 1px solid #000000; - padding-bottom: 5px; - } - .reqBrowseDialog > p - { - margin: 15px 0 15px 0; - } - - .reqBrowseSearchCont - { - width: 100%; - background: white; - padding: 0px 2px; - -moz-border-radius: 2px; - border-radius: 2px; - border: 1px solid #888; - margin-bottom: 5px; - height: 29px; - } - .reqBrowseSearchCont .rbboxcont - { - width:90%; - float:left; - margin-top: 2px; - } - - .reqBrowseSearchCont input - { - border:none; - outline:none; - border-color: transparent; - } - .reqBrowseSearchBox - { - margin-right: 4px; - height: 20px; - line-height: 20px; - width: 100%; - padding-left: 4px; - padding-top: 2px; - } - - .reqBrowseSearchBoxDefault - { - color: #AAA; - } - .reqBrowseSearchCont .rbbtncont - { - float: right; - margin-top: 4px; - } - .reqBrowseSearchBtn - { - background: transparent url('searchButton.png') no-repeat 0 0; - width: 22px; - height: 22px; - float:left; - cursor:pointer; - } - - .reqBrowseTabs - { - border-bottom: 5px solid #E8E8E8; - margin:3px 0; - overflow:auto; - } - - .reqBrowseTabs .reqBrowseTabsR - { - color:#fff !important; - } - - .reqBrowseTabs .reqBrowseTabsHighlight - { - color:#000 !important; - background-color:#E8E8E8; - } - - .reqBrowseTabs a - { - padding:5px 12px; - color:#fff; - background-color:#888; - font-weight:bold; - float:left; - margin: 0 4px 0px 0; - } - - .reqBrowsePager td - { - text-align:center; - } - .reqBrowseDialog #Pager - { - margin: 5px 0 15px 0; - } - - .reqBrowseContent - { - height:310px; - overflow:auto; - clear:both; - position:relative; - } - - .reqBrowsePager - { - width:700px; - margin:0 auto; - } - - .reqBrowseContentError - { - color:#ff0000; - margin:5px; - } - .reqBrowseContent .requirementItem - { - border-bottom: 2px solid #E8E8E8; - padding: 4px 0 6px 0; - overflow:auto; - } - .reqBrowseContent .section1 - { - float:left; - width:75%; - padding-left:25px; - position:relative; - } - - .reqBrowseContent .section1 input - { - position:absolute; - left:0px; - } - - .reqBrowseContent .title - { - font-weight:bold; - } - .reqBrowseContent .section2 - { - float:right; - } - - - .progressIndicatorfade - { - position: absolute; - background-color: #FFFFFF; - } - .progressIndicator - { - background-color: #f4f4f4; - border: 1px solid #000000; - -border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - padding: 15px; - position: absolute; - display: block; - max-width: 70%; - max-height: 70%; - } - #progressIndicator .progressIndicatorclose - { - display: none; - } - - #progressIndicatorContent - { - font-weight: bold; - padding: 7px 10px 0 10px; - height: 25px; - } - - -/*-------- End Upload Page --------*/ - -/* --- - --- Homepage --- - --- */ -p -{ - margin: 0 0 1px 0; -} -#homePageHeader -{ - float: left; - margin-bottom: 1em; - width: 100%; -} - -.tagline { - font-size: x-small; - position: relative; - top: -11px; -} - -.logo -{ - float: left; - width: 455px; - height: 70px; - font-weight: bold; - font-size: 22px; - margin: 0 10px 0 0; - color: #3A3E43; -} -.logo > img -{ - float: right; -} -.logo > div -{ - color: #3A3E43; - font-weight: bold; - font-size: 22px; -} - -.welcomeInfo -{ - float: left; - width: 700px; -} -.welcomeInfo h2 -{ - font-size: 16px; -} -.welcomeInfo p -{ - margin: 5px 0 0 0; -} - -#siteActions > div -{ - border: 1px solid #BBBBBB; - padding: 15px 5px 0 65px; - height: 55px; - background-repeat: no-repeat; - background-position: 10px 10px; -} -#siteActions a, #siteActions p -{ - margin-top: 5px; -} - -#siteActions .label a -{ - font-size: 1.25em; - font-weight: bold; - margin-bottom: 3px; -} - -#myGalleryBox -{ - background-image: url("MyGalleryIcon.png"); -} - -#findActions -{ - float: right; - padding: 10px; - width: 225px; - height: 50px; - border: 1px solid #BBBBBB; - margin: 0 10px 0 0; -} - -#findBox div:first-child -{ - margin: 0 0 5px 0; - font-weight: bold; -} - -#legalDisclaimer -{ - margin: 0 0 10px; - color: #798072; - font-size: 0.8em; -} - -#siteActions -{ - float: right; - width: 200px; -} -#siteActions > div -{ - margin-bottom: 10px; -} -.homePageProjects -{ - width: 100%; - float: left; -} -.homePageProjects > div -{ - padding-left: 1.5em; -} -.homePageProjects > div:first-child -{ - padding-left: 0; -} - -.homePageProjects .projectList ul -{ - padding: 0; - margin: 0; -} -.homePageProjects li -{ - margin-top: .5em; - padding-bottom: 0.5em; - list-style-type: none; -} -.homePageProjects .itemRow a, .homePageProjects .itemRow a:hover -{ - color: #0054A6; -} - -.projectList > a:first-child -{ - margin-left: 1px; - float: right; -} -.projectList > a, .projectList > a:hover -{ - color: #5BAEDB; -} -.projectListTitle -{ - height: 27px; - font-size: 16px; - font-weight: bold; - line-height: 125%; - background: #E8E8E8; - padding: 5px 5px 5px 25px; -} -.homePageListPager -{ - text-align: right; - margin-bottom: -.5em; -} - -.recentlyAddedProjects -{ - float: left; - width: 32%; -} -.mostPopularProjects -{ - float: right; - width: 32%; -} -.highestRankedProjects -{ - overflow: hidden; -} -* html .highestRankedProjects -{ - float: left; -} -* html .highestRankedProjects > div -{ - width: 100%; -} - -#Pager -{ - text-align:left; -} - -/* Impromptu warning style */ -.ipWarningfade -{ - position: absolute; - background-color: #aaaaaa; -} -div.ipWarning -{ - width: 400px; - position: absolute; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - padding: 20px 0 20px 20px; - background-color: #FCE5E6; - border: solid 2px #EE1F25; -} -.ipWarningcontainer -{ - font-weight: bold; -} -.ipWarningclose -{ - display: none; -} -.ipWarningmessage div -{ - position: relative; -} -.ipWarningmessage div div + div -{ - text-align: center; - padding-right: 20px; -} -.ipWarningmessage div div:first-child div -{ - margin-left: 50px; -} -.ipWarningmessage div div:first-child img -{ - position: absolute; - margin: -20px 0 0 0; - top: 35%; -} -.ipWarningbuttons -{ - text-align: center; - margin: 20px 0 0 0; -} -.ipWarning button -{ - padding: 4px 8px 4px 8px; - margin: 2px; - font-weight: bold; - border: solid 1px #A6A3A6; - color: #FFFFFF; - background: #B8BABC; - filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#B8BABC',EndColorStr='#949699'); -} - -#eyebrow -{ - width: 100%; -} -#siteMessage .unsupportedLocale { - margin: 10px 0 0 243px; - border: solid 1px #CCC; - background: #FCFEC5; - padding: 5px; -} - -#Footer -{ - width: 100%; - height: auto; -} - -.clear -{ - clear: both; -} - -#buildVersion -{ - clear: both; - margin-left: auto; - margin-right: auto; - padding-right: 26px; - padding-top: 8px; - text-align: right; -} - -#page -{ - clear: both; - padding-top: 10px; -} - -#page h1 -{ - padding: 10px 0px; -} - -#ownerBar -{ - background: #EFEFEF; - border: 2px solid #7FCBF5; - text-align: left; - color: Black; - margin: 10px 0 20px 0; - padding: 5px; - word-spacing: 0px; - font-size: medium; -} - -#ownerBar a -{ - color: Blue; - padding: 0 5px 0 5px; -} - - - - -/*-------- Start Tab Control --------*/ - -.tabHeaders -{ - font-weight:normal; - text-transform: uppercase; - border-bottom: solid 1px #CCC; - float: left; - width: 100%; -} - -.tabHeaders div -{ - padding: 7px 19px 8px 19px; - font-size: 0.9em; - line-height: 125%; - color:#00749E; - cursor: pointer; - float: left; - text-align: center; -} - -.tabHeaders div.current -{ - background-color:#fff; - cursor: default; - border: 1px solid #CCC; - border-bottom:none; - margin-bottom:-2px; - color:#000; -} - -.tabHeaders div a -{ - text-decoration:none; -} - -.tabContents -{ - clear: both; -} - -#MainContent .tabHeaders div.current a -{ - color:#000; -} - -.tabContents div.current -{ - display: block; -} -/*-------- End Tab Control --------*/ - -.itemContainer -{ - width: 100%; -} -.itemRow .itemTitle -{ - padding-bottom: 5px; - font-size:1.1em; -} - -.itemRow .itemBody, .itemRow .itemInfo -{ - padding:15px 17px 16px 0; -} -.itemRow .itemDescription -{ - overflow: hidden; - max-height: 80px; -} -.itemRow .itemBody -{ - vertical-align: top; - line-height: 1.4; -} -.itemRow .itemBody a.officialMicrosoftLabel -{ - color: #ACACAC; -} -.itemRow .itemInfo -{ - vertical-align: top; - padding-left: .5em; - line-height: 1.4; - width: 10em; - text-align:right; -} - -.IE7 .itemRow .itemInfo -{ - width:11em; -} - -.itemRow .itemInfo .ratingStars -{ - float: left; -} -.itemRow .itemInfo .ratingCount -{ - padding: 0 0 0 5px; - float: left; -} -.itemRow .ratingInfo -{ - text-align: center; -} - -.itemRow .affiliationLink, #editorPicksSection .affiliationLink -{ - position: relative; - top: 3px; -} - -#editorPicksSection a.officialMicrosoftLabel -{ - color: #ACACAC; -} - -.itemRow .tagsContainer label { - display:none; -} - -.editorPickedItem -{ - background-color:#F8F8F8; -} - -.editorPickedText -{ - font-size:1.25em; - padding-bottom:2px; -} -.editorPickedItem > td -{ - border-top:6px solid #fff; -} - -.dirSubHeading -{ - margin-bottom:15px; -} - -#searchPage .dirSubHeading h2 -{ - line-height:1.4; - font-size:1.1em; -} - -#searchPage .dirSubHeading h2 span -{ - padding-top:5px; - display:block; -} - -#searchPage .dirSubHeading h1, #searchPage .dirSubHeading h2 -{ - clear:none; - padding-left:0px; -} - -.dirSubHeading .dirSubLinks -{ - font-size:1.2em; - padding-top:5px; -} - - -.summaryBox -{ - padding: .25em 0 .25em 0; - clear: both; - line-height:1.45; -} - -/*-------- Start Rating Stars --------*/ - -.RatingStar -{ - width: 11px; - height: 11px; - padding: 0 8px 0 0; - background-position: center; - float: left; -} - -.FilledRatingStar, .HalfRatingStar, .EmptyRatingStar, .FilledRatingStarHover -{ - width: 11px; - height: 11px; - padding: 0px 1px 0px 0px; - margin-top: 2px; -} - -.FilledRatingStar -{ - background: url(../samples/fullStar.png) no-repeat; -} - -.ownerRating .FilledRatingStar -{ - background: url(../samples/fullStar.png) no-repeat; -} - -.FilledRatingStarHover -{ - background: url(../samples/fullStarHover.png) no-repeat; - -} - -.HalfRatingStar -{ - background: url(../samples/halfStar.png) no-repeat; - -} - -.EmptyRatingStar -{ - background: url(../samples/emptyStar.png) no-repeat; - -} - -.EditStarMode .RatingStar -{ - cursor: pointer; -} - - - -/*-------- End Rating Stars --------*/ - -.discussionFormTable -{ - width: 100%; - table-layout: fixed; -} - - -#ReviewsTabPane .seeAllLink, #DiscussionsTabPane .seeAllLink -{ - margin-top: 10px; - text-align: center; -} - -/*-------- Start DiscussionsTab --------*/ - -.threadActions -{ - text-align: right; - margin-top: 10px; - float: right; -} - -#DiscussionsTabPane .reply, #DiscussionsTabPane .toggleDiscussion -{ - cursor: pointer; -} - - -#defaultDicussionText, #newDiscussion -{ - padding-top: 10px; -} -#DiscussionsTabPane .posts -{ - display: block; -} -#DiscussionsTabPane .threadHeader .left -{ - float: left; -} -#DiscussionsTabPane .threadHeader .right -{ - float: right; -} -#DiscussionsTabPane .normal -{ - font-weight: normal; -} - -#DiscussionsTabPane .threadHeader -{ - position: relative; - background-color: #ECECEC; - padding: 4px 10px 4px 10px; -} - -#DiscussionsTabPane .threadHeader .title -{ - color: #000000; - font-weight: bold; - margin-bottom: .7em; -} -#DiscussionsTabPane .threadHeader .label -{ - color: #000000; -} -#DiscussionsTabPane .postMeta -{ - color: #666666; -} -#DiscussionsTabPane .threadHeader .value -{ - font-weight: bold; - color: #000000; -} - -#DiscussionsTabPane .reply -{ - font-weight: normal; - cursor: hand; -} - -#DiscussionsTabPane ul li -{ - list-style-type: none; - list-style-image: none; - padding-bottom: 10px; -} - -#DiscussionsTabPane ul -{ - padding-left: 0px; - margin-left: 0px; - padding-right: 2px; -} - -.IE #reviewList .right -{ - margin-right: -1em; -} - -#newDiscussion -{ - margin: 0 0 15px 0; -} -#newDiscussion #Title -{ - width: 50%; -} -#newDiscussion textarea -{ - width: 99%; - height: 10em; -} - -#DiscussionsTabPane -{ - margin-left: 0px; - padding: 0 1em 1em 1em; -} - - -.postMeta -{ - float: right; -} - -.postReply -{ - cursor: hand; - float: right; - font-weight: bold; -} - -.postSaveReply -{ - display: none; -} - -.postSaveReply textarea -{ - width: 99%; - margin-bottom: 4px; - height: 8em; -} - -.toggleDiscussion -{ - cursor: hand; -} - -.saveReplyErrorMessage -{ - display: none; - margin: 0 0 4px 0; - color: Red; - font-weight: bold; -} - -#discussionListItem .avatar -{ - float: left; - padding: 5px; - vertical-align: middle; -} - -#discussionListItem .discussion -{ - margin-left: 55px; - padding: 0 5px 5px 5px; - vertical-align: top; -} - -.IE7 #discussionListItem .avatar -{ - margin-top: 15px; -} - - -/*-------- End DiscussionsTab --------*/ - - -.flotChart -{ - height: 300px; -} - -#projectMenuBarTop -{ - padding: 10px 0 20px 0; - font-weight: bold; - font-size: 25px; -} -.dayHeader -{ - font-weight: bold; -} - -/*-------- Start StatsPage --------*/ -#statsPage -{ - border: none; - background-color: Transparent; - margin-top: 1em; -} - -#statsPage .rangeBox -{ - padding: 5px; - background-color: #ECECEC; - border: solid 1px #C2C2C2; - float: left; -} -#statsPage .statBox -{ - margin-top: 1em; - margin-bottom: 10px; - overflow: hidden; - display: none; -} -#statsPage .statBox h3 -{ - font-size: 1.1em; - display: inline; -} - -#statsPage #statMessage -{ - margin-top: 1em; - display: none; -} - -#statsPage #statDownloadBox img { - float: left; -} - -#statsPage .statDownloadLink { - padding-left: 5px; - vertical-align: middle; -} - -#pointTooltip -{ - border: solid #000000 1px; - height: 35px; - background-color: #EEEEEE; - position: absolute; - display: none; - text-align: center; - padding: 9px; - border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - z-index: 1000; - white-space: nowrap; -} - -.flotChart -{ - height: 300px; -} - -/*-------- End StatsPage --------*/ - - -/***************************************************************/ -/* TagAutoComplete Styles */ -/***************************************************************/ -.AutoCompletePanel -{ - font-size: 95%; - border: solid .1em #999; - background-color: #f0f0f0; - padding: .15em; -} - -.AutoCompletePanel div.Row -{ - color: #000; - cursor: pointer; - background-color: transparent; - padding: .15em .25em; - text-align: left; -} - -.AutoCompletePanel div.Selected -{ - color: #fff; - background-color: #6D6D6D; -} - - -/*-------- Start Subscription Form --------*/ - -#subscribeForm -{ - background-color: #D3D3D1; - border: 1px solid #000000; - -border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - padding: 15px; - position: absolute; - display: block; -} - -#subscribeForm .subscribeFormbuttons -{ - text-align: right; - margin-top: 10px; -} -#subscribeForm .subscribeFormbuttons > button -{ - color: Blue; - border: none; - background: none; - font-weight: bold; - cursor: pointer; -} - -#subscribeForm .subscribeFormclose -{ - display: none; -} - -#subscribeForm table -{ - margin-bottom: 15px; -} - -#subscribeForm table th -{ - text-align: left; - font-weight: bold; - border-bottom: 1px solid #000000; -} - -#subscribeForm table td -{ - padding: 5px 10px 5px 20px; -} - -#subscribeForm .rowHeading td -{ - font-weight: bold; - border-bottom: 1px solid #FFFFFF; -} - -#subscribeForm table tr td:first-child -{ - padding: 5px 40px 5px 0; -} - - -/*-------- End Subscription Form --------*/ - -/*-------- Start Tag Browser --------*/ - -.tagBrowserfade -{ - position: absolute; - background-color: #aaaaaa; -} -#tagBrowser -{ - background-color: #f4f4f4; - border:1px solid #000000; - -border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - padding:15px; - position: absolute; - display: block; -} - -#tagBrowser .tagBrowserbuttons -{ - text-align:right; - margin-top: 10px; -} -#tagBrowser .tagBrowserbuttons > button -{ - color: Blue; - border: none; - background: none; - font-weight: bold; - cursor:pointer; -} - -#tagBrowser .tagBrowserclose -{ - display:none; -} - -.tagBrowserContainer { - width: 450px; -} - -.tagBrowserContainer h2 { - border-bottom: 1px solid #000000; - padding-bottom: 5px; -} -.tagBrowserContainer > p { - margin: 15px 0 15px 0; -} - -.tagBrowserContainer .tags { - margin: 5px; - height: 225px; - overflow-y: scroll; -} - - -/*-------- End Tag Browser --------*/ - -/*-------- Start List Filter Box --------*/ - -div#filterInputBox -{ - overflow:auto; - min-width:225px; -} - -.filterBox -{ - width: 100%; - background: #FFFFFF; - padding: 0px 2px; - height: 25px; - -moz-border-radius: 2px; - border-radius: 2px; - border: 1px solid #888888; - table-layout: auto; - margin-bottom:5px; -} - - .filterBox #filterImageCell - { - text-align: right; - padding: 0px; - vertical-align: middle; - } - - .IE7 .filterBox #filterImageCell - { - padding:2px 2px 0 0; - } - - .filterBox #filterImg - { - background: transparent url('searchButton.png') no-repeat 0 0; - width: 22px; - height: 22px; - } - -table.filterBox -{ - table-layout: fixed; -} - - .filterBox .stxtcell - { - padding-right: 4px; - width:90%; - } - - .filterBox .stxtcell > input - { - margin-right: 4px; - height: 26px; - line-height:26px; - width: 100%; - padding: 0px; - padding-left: 4px; - padding-top: 2px; - border: none; - } - - .IE7 .filterBox .stxtcell > input - { - height: 20px; - } - - .filterBox .stxtcell > input.stxtinptpassive - { - color: #ACACAC; - } - -/*-------- End List Filter Box --------*/ - -/*-------- Start Notifications --------*/ - -#notificationsSummaryBox -{ - font-weight: bold; - padding: .5em; -} - - -.notificationsByDay, .notifications -{ - /*list-style: none;*/ -} - -.dayHeader -{ - border-bottom: 1px solid silver; - margin-top: 1em; - padding-bottom: .5em; -} - -.notifications -{ - margin-top: .5em; -} - -ul.notifications li -{ - line-height: 1.5em; -} - -ul.notifications li.unread -{ - font-weight: bold; -} - -ul.notifications li ol, ul.notifications li ul -{ - margin-left: 1.5em; -} - -/*-------- End Notifications --------*/ - -/*-------- Start ProjectDetailsPage --------*/ - -#projectPage #projectInfo -{ - position: relative; - margin-top: 5px; - height: 100%; -} -#projectInfo .section -{ - float: left; - margin-bottom: 0px; - height: 100%; -} - - #projectInfo .section .itemBar, #projectInfo .section .itemBarLong - { - clear: both; - padding: 7px 0 7px 0; - overflow:auto; - } - - #projectInfo .section .itemBarLong:first-child - { - padding-top:3px; - } - - .IE7 #projectInfo .section .itemBar, .IE7 #projectInfo .section .itemBarLong - { - padding-top: 5px; - } - - #projectInfo .section .itemBar > label, #projectInfo .section .itemBarLong > label - { - width: 130px; - float: left; - text-transform: capitalize; - } - - #projectInfo .section .itemBar div#yourRating { - float:left; - } - - #projectInfo .section .itemBar div.RatingStar { - margin:2px 1px 0 0; - } - - #projectInfo .section .itemBar div#RatingCount { - padding: 0 0 0 3px; - } - - #projectInfo .section .itemBar .ratingsWithCountContainer img { - vertical-align:top; - float:left; - padding-right: 4px; - } - - #projectInfo .section .itemBar > span, #projectInfo .section .itemBarLong > span, #projectPage .section .itemBar > div - { - float: left; - } - - #projectInfo .section .itemBar, #projectInfo .section .itemBarLong { - width: 100%; - } - - #projectInfo .section .itemBar > span { - float: none; - } - - #projectInfo .section .itemBar > span .shareThisItem { - white-space: nowrap; - } - - #projectInfo .section .itemBarLong div - { - margin-left: 130px; - padding: 0; - } - - #projectInfo .section .viewonlinecont - { - background-color:#d3d3d3; - padding:5px 10px; - margin-top:10px; - float:left; - font-weight:bold; - } - -#projectInfo #sectionLeft -{ - width: 50%; -} -#projectInfo #sectionRight -{ - width: 50%; -} -.IE7 #projectInfo #sectionRight -{ - width: auto; -} - -#projectPage h2.projectSummary -{ - font-weight:normal; - font-size: 1.1em; - margin-bottom: 11px; - line-height:1.4; - word-wrap: break-word; -} - -.IE7 #projectPage h2.projectSummary -{ - font-family: 'Segoe UI' , 'Lucida Grande' ,Verdana,Arial,Helvetica,sans-serif; -} - -.IE #projectPage .projectTitle, .IE9 #projectPage .projectTitle -{ - width: 100%; -} - -#projectPage #reportAbuse -{ - float: left; - font-size: x-small; -} - -#projectPage .hiddenSidebar { - display: none; -} - -#projectPage .fullProjectBody { - margin-left:-275px; -} - -.IE8 #projectPage #userCard { - float: left; - height: auto; -} - -#projectPage #userCard .avatar img { - max-width: 100px; - max-height: 100px; -} - -#projectDetails -{ - overflow:hidden; -} - -#projectBody -{ - width: 100%; - overflow:hidden; -} - - #projectDetails > div:first-child - { - margin: 5px 0 0 260px; - } - - #projectBody > div:first-child - { - margin: 20px 0 0 260px; - } - - .IE7 #projectContent .tabHeaders - { - overflow:hidden; - margin-bottom:-20px; - } - -#projectPage .sidebar -{ - float: left; - width: 215px; - margin-right: -250px; -} - - #projectPage .sidebar .section - { - margin: 20px 0 10px 0; - } - - #projectPage .sidebar .section .titleBar h3 - { - padding: 0 0 2px 0; - } - - #projectPage .sidebar .section .itemBarRight - { - min-height: 21px; - position: relative; - padding-top: 5px; - } - - #projectPage .sidebar .section .titleBar - { - margin-bottom: 5px; - } - - #projectPage .sidebar .section .authorItem - { - padding: 0 0 5px 10px; - } - - #projectPage .sidebar .section .authorItem a - { - display:block; - float:left; - max-width:170px; - } - - #projectPage .sidebar .section .authorItem > div - { - float:right; - } - - #projectPage .sidebar #advertisement - { - margin-top: 20px; - } - - #projectPage .sidebar #advertisement .label - { - text-align: center; - } - - #projectPage .sidebar #moreFromAuthor - { - width:225px; - margin: 20px 0 10px 0; - float:left; - } - - #projectPage .sidebar #moreFromAuthor .bottomBar { - padding: 5px 0px 5px 25px; - text-align: right; - } - -#projectPage #Collections { - min-height:22px; - min-width:169px; -} - -#projectPage #Collections .bevelButton { - background-color: #8CC63F; -} - -#projectPage .bevelButton -{ - font-weight: bold; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - color: white; - padding: 2px 10px 3px; - text-align: center; -} - -#projectPage #DiscussionsTabPane .bevelButton -{ - font-weight: normal; - color: black; - padding: 1px 10px 1px; -} - -#projectPage #Downloads { - padding: 0 0 8px 0; - float: left; -} - #projectPage #Downloads > div:first-child { - float: left; - margin: 15px 0 0 0; - height:35px; - line-height:1.6; - width: 130px; - } - #projectPage #Downloads label - { - font-size:1.25em; - } - #projectPage #Downloads input - { - min-width: 100px; - padding: 3px 10px 3px 10px; - margin: 3px 10px 0 10px; - font-weight: bold; - float: left; - } - - #projectPage #Downloads .button - { - background-color:#007494; - color:#fff; - padding:5px 15px; - margin: 15px 15px 0 0; - float:left; - } - - #projectPage #Downloads .button:hover - { - background-color:#0095c4; - text-decoration:none; - } - -#projectPage #projectBody .attachments { - margin: 0 0 15px 0; -} - - #projectPage #projectBody .attachments label { - float: left; - } - - #projectPage #projectBody .attachments .files a, #projectPage #projectBody .attachments .files span { - float: left; - padding: 0 5px 0 5px; - } - -#publishBar -{ - border: 1px solid #707070; - background-color: #F8F8F8; - margin-top: 10px; -} - -#sourceItem { - height: 610px; -} - #sourceItem > div:first-child { - padding: 20px 5px 0 15px; - font-weight: bold; - } - #sourceItem > div+div { - height: 560px; - padding: 10px; - overflow: auto; - } - #sourceItem .copyCode { - font-weight: normal; - margin: 0 15px 0 0; - float: right; - } - -.sourceList { - height: 600px; - padding: 5px; - border-top: 1px solid #CCC; - margin-top: -1px; -} - - .sourceList .sourceListTabHeader - { - margin:20px 10px; - } - .sourceList .sourceListTabs - { - margin-bottom:20px; - border-bottom: 1px solid #CCC; - float:left; - width:100%; - } - .sourceList .sourceListTabs .languageTab { - padding:5px 10px 5px 10px; - font-weight: bold; - float: left; - margin: 0 3px 0px 0; - color:#00749E; - } - .sourceList .sourceListTabs .languageTab:hover - { - color: #0095C4; - } - - .sourceList .sourceListTabs .selectedLanguage { - background-color: #fff; - color: #000; - border: 1px solid #ccc; - border-bottom:none; - margin-bottom:-2px; - } - - .sourceList .sourceListTabs .unselectedLanguage { - cursor: pointer; - } - - .sourceList .endTabs { - clear: both; - } - - .sourceList .sourceListContent { - padding-top: 5px; - } - - -.sbfc, -.sbfe -{ - white-space: nowrap; - text-indent: 20px; - cursor: pointer; - padding: .2em 0em .2em 0em; - background-repeat: no-repeat; - background-position: left center; - font-weight: bold; - text-decoration: none !important; -} - -.sbfc -{ - background-image: url(../samples/node_closed.gif); -} - -.sbfe -{ - white-space: nowrap; - background-image: url(../samples/node_opened.gif); -} - -.ndbf -{ - white-space: nowrap; - text-indent:20px; -} - -.sbf -{ - white-space: nowrap; - background: url(../samples/bullet.gif) no-repeat 4px -1px; - cursor: pointer; - text-indent: 20px; - white-space: nowrap; - padding: .1em 0em .1em 0em; -} - -.sbsf, -.sbf:hover -{ - color: #000; - text-decoration: none !important; - -} - -.sbsf -{ - color: #000 !important; - background-color: rgb(232, 232, 232); -} - -.sbf:hover -{ - color: #ce8b10; -} - -/*-------- Translate --------*/ -.translatePage { - width: 900px; -} -.translatePage .fileManager { - margin-bottom:20px; -} -.translatePage .fileManager h4 { - margin-top:10px; -} -.translatePage #formContainer { - width: 100%; -} -.translatePage .formLabel { - width: 300px; - padding: 5px; -} - .translatePage .textInput { - width: 425px; -} -.translatePage TEXTAREA.richText { - height: 600px; - width: 620px; -} -.translatePage TEXTAREA.unadornedEditor { - height: 600px; -} -.translatePage .formWideLabel, .translatePage .richText { - padding: 5px; -} -.translatePage .formWideLabel, .translatePage .unadornedEditor { - width: 750px; - padding: 5px; -} -.translatePage #languageSelection { - margin: 15px; - display: inline-block; -} - -.translateTab, .translateTabSelected { - font-weight: bold; - float: left; - text-align: center; - margin: 10px; - padding: 7px; - background: #E8E8E8; - white-space: nowrap; - cursor: pointer; -} - -.translateTabSelected -{ - color: White; - background: Gray; -} - -.translateTabSelected .translateLabel, .translateTab .translateLabel -{ - white-space: nowrap; - float: left; - padding: 0 5px 0 5px; -} - -.translateTab #deleteLanguage, .translateTab #moreLanguages -{ - padding-left: 10px; -} - -.translateLabel #deleteLanguage { - color: #FFFFFF; -} -/*-------- End Translate --------*/ -/*-------- Begin Eula --------*/ - - -#eulaPagefade -{ - position: absolute; - background-color: #FFFFFF; -} - -#eulaPage -{ - background-color: #f4f4f4; - border: 1px solid #000000; - -border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - padding: 15px; - display: block; - max-width: 70%; -} - -#eulaPage .eulaPageclose -{ - text-align: right; -} - -#eulaPage .eulaPagemessage -{ - overflow: auto; - max-height: 350px; -} - - #eulaPage .eulaPagemessage h1 - { - margin: 0 0 5px 0; - } - -#eulaPage .eulaPagebuttons -{ - text-align: right; - margin-top: 10px; -} -#eulaPage .eulaPagebuttons > button -{ - color: Blue; - border: none; - background: none; - font-weight: bold; - cursor: pointer; -} - - - #eulaPage #eula #documentText - { - line-height: normal; - } - -/*-------- End DocumentView --------*/ -/*-------- Begin FAQ --------*/ - -#FAQPage #TableOfContents h2 -{ - padding: 5px; - border-bottom: 2px solid #EFEFEF; - margin: 0 0 10px 0; - max-width: 70%; -} - -#FAQPage .FAQSection -{ - padding: 10px 0px; - width: 70%; -} - - #FAQPage .FAQSection h2 - { - padding: 5px; - border-bottom: 2px solid #EFEFEF; - } - - #FAQPage .FAQSection h3 - { - padding: 5px; - } - - #FAQPage .FAQSection ul, #FAQPage .FAQSection ol - { - margin: 0; - } - - #FAQPage .FAQSection #description > div - { - overflow: auto; - padding-left: 10px; - } - - #FAQPage .FAQSection #description img - { - float: left; - } - - #FAQPage .FAQSection #description div > div - { - padding-top: 10px; - float: left; - } - - #FAQPage .FAQSection > div > div - { - padding: 0 15px; - } - - #FAQPage #Reputation th, #FAQPage #Reputation td - { - padding-left: 20px; - } - -/*-------- End FAQ --------*/ -/*-------- Begin DocumentView --------*/ - -#documentView #documentText -{ - line-height: normal; -} - -/*-------- End DocumentView --------*/ - -.Opera wbr:after -{ - content: "\00200B"; -} - - -.IE9 wbr:after -{ - content: "\00200B"; -} - -.IE8 wbr { - width: 0px; - display: inline-block; - overflow: hidden; -} - -/*-------- Begin FileManager --------*/ - -.uploadControlNoError - { - height:30px - } -.uploadControlWithError - { - height:80px; - } -/*-------- End FileManager --------*/ - -/*-------- Begin User Card --------*/ -#userCard .titleBar { - border-bottom: solid 5px #E8E8E8; - margin: 10px 0 5px 0; -} - #userCard .titleBar h3 - { - font-size: 1.0em; - font-weight: bold; - line-height: 125%; - padding: 0 0 2px 0; - } - -#userCard .userFeed { - float: right; -} - -#userCard .bio { - max-width:300px; - white-space: normal; -} - -#userCard .avatar -{ - padding: 5px 5px 10px 5px; - margin: 0 0 3px 0; - text-align: center; -} - -#userCard .itemBar { - padding: 5px; -} - - #userCard .itemBar label - { - float: left; - text-transform: capitalize; - } - - #userCard .itemBar label+span { - display: block; - margin-left: 100px; - } - -#userCard .collapsableSidebar { - clear:both; - width:100%; - margin-top: 5px; -} - -/* Profile Overrides */ -#userCard -{ - padding: 0 0 10px 0 -} - -#userCard .profile-usercard -{ - width:225px; -} - -#userCard .profile-usercard, #userCard .profile-inline, #userCard .profile-inline-header -{ - border:0px; - background-color:#fff; -} - -#userCard .profile-userimage-large -{ - margin-bottom:10px; - border:none; - width:auto; - height:auto; -} - -#userCard .profile-inline .profile-inline-header-details -{ - width:100%; - display:block; - clear:both; - margin-left:0px; -} - - - -/*-------- End User Card --------*/ -/*-------- Begin Description Progress Meter --------*/ - -#descriptionProgressMeter { - float: right; - border-top: 1px solid #DADADA; - border-left: 1px solid #DADADA; - width: 210px; - padding-left: 7px; -} - - #descriptionProgressMeter h4 { - font-weight: bold; - } - - #descriptionProgressMeter #progressGraphic { - border: 1px solid #888888; - width: 205px; - margin: 10px 0; - background-color: #E9E9E9; - padding: 1px 0 0 1px; - } - - #descriptionProgressMeter #progressGraphic div { - background-image: url("../common/progress_meter.png"); - padding-left: 5px; - } - - #descriptionProgressMeter #progressText { - font-weight: bold; - margin: 5px 0; - - } - - #descriptionProgressMeter #goodDescriptionText p+p { - padding: 5px 0; - } - - #descriptionProgressMeter #goodDescriptionText > div { - margin-top: 5px; - width: 150px; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - overflow: auto; - } - - #descriptionProgressMeter #goodDescriptionText div img { - float: left; - } - - #descriptionProgressMeter #goodDescriptionText div div { - margin: 7px 0 5px 10px; - } - -/*-------- End Description Progress Indicator --------*/ - -/*-------- Start Sample Pack Tab View --------*/ -.SamplePackTab #headerBar -{ - padding: 15px 5px 20px 5px; - font-weight: bold -} - .SamplePackTab #headerBar .reportCount - { - padding-top: 2px; - } - .SamplePackTab #headerBar .samplePackSort - { - float: right; - color: #666; - } -/*-------- End Sample Pack Tab View --------*/ \ No newline at end of file diff --git a/samples/winrt/ImageManipulations/description/Combined.css b/samples/winrt/ImageManipulations/description/Combined.css deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/samples/winrt/ImageManipulations/description/Galleries.css b/samples/winrt/ImageManipulations/description/Galleries.css deleted file mode 100644 index ac2e94ee84..0000000000 --- a/samples/winrt/ImageManipulations/description/Galleries.css +++ /dev/null @@ -1,418 +0,0 @@ -/* *************************************************** -Galleries.css - Common Structure - -This is where we define common layout for structures that are truly close to common across the different -Galleries sites. To make sure this works we need to follow certain conventions. - -1. Define each logical structure in its own section with its own comment block that gives the section -a Name, Description and defines the root element if one exists (i.e #someElement). Also, mark the closing block. - -2. Indent styles in a section to represent if it is a child of a previous element. -i.e. #someDiv{ - } - #someDiv ul { - } - -3. Do not include brand specific information here like colors and fonts unless they are *really* common. - -4. If there is an element that you know will be overridden in each brand stylesheet still include it here with an empty definition. -This will aid in knowing what section to override and what selectors to use. - -i.e. #someSction a { - } - -5. When you add a new section also update the Table of Contents below so that we have a quick overview of the sections - - *****************************************************/ - -/**************************************************** -Table of Contents - - Global - global classes - - FileAttachmentDisplay - The list of attached files under the editor - Eyebrow - The breadcrumb control at the top of the master page - Pager - The common paging control, used for browsing pages of search results - Profile User Card - Elements in the profile usercard control - SideNav - The navigation side bar that contains the search filters - - -*****************************************************/ - -/******************************** -Name: Global -Root: none -Description: truly global classes -********************************/ -body { - text-align: left; - direction: ltr; -} - -img.rss { - background: url(../../../GlobalResources/Images/Rss.png) no-repeat; - background-position: 0px 0px; - height: 17px; - width: 17px; -} -/* End Global Section */ - -/******************************** -Name: FileAttachmentDisplay -Root: #fileAttachmentDisplay -Description: The list of attached files under the editor -********************************/ -#fileAttachmentDisplay { -} - #fileAttachmentDisplay .attachment { - margin-right: 10px; - float: left; - } - - #fileAttachmentDisplay .attachment .displayAttachment { - padding: 0px 0 13px 0; - float: left; - } - - #fileAttachmentDisplay .attachment .removeAttachment { - background-image: url('/Content/Common/delete.png'); - display: block; - width: 16px; - height: 16px; - float: left; - } -/* End FileAttachmentDisplay Section */ - - -/******************************** -Name: Eyebrow -Root: .EyebrowContainer -Description: The breadcrumb control at the top of the master page -********************************/ -.EyebrowContainer { -} - .EyebrowContainer div.EyebrowElement{ - display:inline; - } - - .EyebrowContainer .EyebrowElement{ - font-weight:normal - } - .EyebrowContainer .EyebrowLeafLink{ - color:#000; - } -/* End Eyebrow Section */ - -/******************************** -Name: Pager -Root: #Pager -Description: The common paging control, used for browsing pages of search results -********************************/ -#Pager { -} - #Pager div{ - display:inline; - } -/* End Pager Section */ - -/******************************** - -Name: Profile User Card -Root: #dashboardPage #userCard -Description: Elements in the profile usercard control - -********************************/ - #dashboardPage #userCard .profile-usercard-inline { - margin: 5px 0 10px 0; - } - - /* #dashboardPage #userCard .profile-usercard { - width: 288px; - } -/* End Profile User Card Section */ - -/******************************** - -Name: Discussion -Root: #DiscussionsTabPane -Description: Defines the layout of the dicussion - - -********************************/ -#DiscussionsTabPane { -} - - #DiscussionsTabPane .itemHidden - { - background: lightgrey; - } - - #discussionListItem { - } - - .discussion .postActions - { - float: right; - } - - #discussionListItem .postItem - { - white-space: pre-wrap; - word-wrap: break-word; - font-size:1em; - } - -/* End Discussion Section */ - - -/******************************** - -Name: SearchDefaultLocale -Root: .searchDefaultLocale -Description: Defines the layout of the include english result checkbox on the Browse Page - - -********************************/ -.searchDefaultLocale -{ - float: right; - margin: 20px 0 0 5px; -} - .searchDefaultLocale input - { - vertical-align:top; - } - .searchDefaultLocale span - { - margin-left: -3px; - } -/*-------- End SearchDefaultLocale --------*/ - - -/******************************** - -Name: SideNav -Root: #sideNav -Description: Defines the layout of the naviation elements on the side of the Browse Page - These represent the different filters like Code Language, Category and Tag - - -********************************/ - -#sideNav { - width: 250px; - vertical-align:top; - background-color:#eee; -} - #sideNav h3 { - } - - #sideNav .section { - padding: 0 0 10px 0; - position: relative; - } - - #sideNav .section a { - } - - #sideNav .section a:hover { - } - - #sideNav .section > div { - padding:5px 5px 5px 0; - line-height:150%; - } - - #sideNav .section ul { - list-style-type:none; - padding:0px; - margin:0px; - } - - #sideNav .section ul li { - position: relative; - padding: 5px 5px 5px 0; - } - - #sideNav .section ul li .selectedFilter { - float: left; - padding-right: 5px; - } - - #sideNav .section div.itemCount { - float: right; - } - - #sideNav .section form input[ type = "checkbox"] { - margin: 0px 4px 0px 0px; - vertical-align: middle; - } -/* End SideNav Section */ - -/*----------- Contribution Logos *******/ -.contributionLogo { - float: left; - position: relative; - margin-right: 6px; -} - -.logo_visualstudio { - background: transparent url('../common/logos/visualstudio.png') no-repeat; - width: 23px; - height: 12px; - margin-top: 3px; -} -.logo_allinonecode { - background: transparent url('../common/logos/1code.png') no-repeat; - width: 14px; - height: 16px; -} -.logo_exchange { - background: transparent url('../common/logos/exchange.png') no-repeat; - width: 14px; - height: 16px; -} -.logo_ie { - background: transparent url('../common/logos/ie.png') no-repeat; - width: 16px; - height: 16px; -} -.logo_office { - background: transparent url('../common/logos/office.png') no-repeat; - width: 17px; - height: 16px; -} -.logo_windows { - background: transparent url('../common/logos/windows.png') no-repeat; - width: 17px; - height: 16px; - } -.logo_azure { - background: transparent url('../common/logos/windowsazuredark.png') no-repeat; - width: 16px; - height: 16px; -} - -.logo_windowsphone { - background: transparent url('../common/logos/windowsphone.png') no-repeat; - width: 16px; - height: 16px; - } - - .contributionLogoTip { - position: absolute; - display: none; - border: solid 1px #CCC; - color: #333; - background-color: #F0F0F0; - font-size: 11px; - font-family: "Segoe UI",Sans-Serif; - box-shadow: 3px 3px 5px #888; - -moz-box-shadow: 3px 3px 5px #888; - z-index: 1003; - padding: 5px; - min-width: 250px; - } - -/*----------- End Contribution Logos *******/ - -.clear -{ - clear: both; -} - -.customcontributionLogoTip { - position: absolute; - display: none; - border: solid 1px #CCC; - background-color: white; - color: #333; - font-size: 11px; - font-family: "Segoe UI",Sans-Serif; - box-shadow: 3px 3px 5px #888; - -moz-box-shadow: 3px 3px 5px #888; - z-index: 1004; - padding: 5px; - min-width: 250px; -} - -.customcontributionTittle { - font-size: 14px; - margin-left: 90px; -} - -.customcontributionDiscription { - font-size: 13px; - margin: 10px 5px; - text-align: justify; -} - -.customcontribution { - float: left; - position: relative; - margin-right: 6px; -} - -.customcontributionLink { - margin-left: 5px; -} - -.customcontributionlogo { - float: left; - padding: 0 10px; - margin: 0; - width: 70px; - height: 70px; - background-repeat: no-repeat; -} - - -.logo_azure_large { - background-image: url('../common/logos/windowsazure_large.png'); -} -.logo_visualstudio_large { - background-image: url('../common/logos/visualstudio_large.png'); -} -.logo_exchange_large { - background-image: url('../common/logos/exchange_large.png'); -} -.logo_ie_large { - background-image: url('../common/logos/ie_large.png'); -} -.logo_office_large { - background-image: url('../common/logos/office_large.png'); -} -.logo_windows_large { - background-image: url('../common/logos/windows_large.png'); -} -.logo_windowsphone_large { - background-image: url('../common/logos/windowsphone_large.png'); -} - -/* Custome Header */ -.dirSubHeading .windowssdk .container -{ - background: #FF3300 url('wpappsbackground.png') no-repeat; - color: white; - padding: 8px 10px 18px 170px; -} - -.dirSubHeading .windowssdk .container h1, .dirSubHeading .windowssdk .container h2 { - color: white !important; -} - -.dirSubHeading .windowssdk .container p { - margin: 20px 0 0 0 !important; -} - -.dirSubHeading .windowssdk .container a { - background-color:#ffd800; - color: #2a2a2a !important; - cursor:pointer; - font-size:13px; - font-family:'Segoe UI Semibold','Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; - padding:4px 12px 6px; -} - - - diff --git a/samples/winrt/ImageManipulations/description/Layout.css b/samples/winrt/ImageManipulations/description/Layout.css deleted file mode 100644 index 625f777637..0000000000 --- a/samples/winrt/ImageManipulations/description/Layout.css +++ /dev/null @@ -1,147 +0,0 @@ -#container { - min-height: 768px; -} - -#leftSubHeaderContainer -{ - margin-top:20px; -} - -#title h1 -{ - font-size:25px; -} - -#subtitle h2 -{ - font-size:15px; -} - -#subtitle -{ - margin-left:10px; -} - - -#formContainer -{ - margin-left:10px; - margin-top:30px; -} - -.formLabel -{ - float:left; - width: 250px; -} - -.formRow -{ - clear:both; - padding: 10px 0 10px 10px; -} - - -.formRecaptchaRow -{ - clear:both; - float:left; - margin-top:20px; - margin-left:10px; - margin-bottom:20px; -} - -.formSubmitRow -{ - clear:both; - margin-top:20px; - margin-left:300px; - margin-bottom:20px; -} - -.formControl { - width:300px; - float:left; -} -.formControl .textInput -{ - width:300px; -} - -.formControl textarea -{ - width:425px; - height:100px; -} - -.formControl .tag -{ - width:425px; -} - -.formControl .richText -{ - margin-top:10px; - width:500px; - height:440px; -} - -.formWideLabel -{ - width:500px; -} - -.formBigLabel -{ - margin-top:20px; - font-size:20px; -} - -.formControlBelow -{ - clear:both; - margin-top:10px; - width:500px; -} - -.required -{ - color: Red; -} -.helpText -{ - color: #9D9D9D; - font-style: italic; -} - -#agreementSummary -{ - clear:both; - margin-top:10px; - width:800px; -} - -.field-validation-error, .validation-summary-errors -{ - color: #FF0000; - font-weight: bold; -} - -.tinyMCETemplate { - position: relative; - left: 400px; - width: 300px; - max-height: 300px; - overflow: auto; -} - -.IE6 .tinyMCETemplate { - left: 25px; -} - -.ownerBar { - padding: 5px; -} -.ownerBar .ownerBarOptions { - float: right; -} diff --git a/samples/winrt/ImageManipulations/description/c2e69f54-1c43-4037-b90b-5f775f1d945fBrand.css b/samples/winrt/ImageManipulations/description/c2e69f54-1c43-4037-b90b-5f775f1d945fBrand.css deleted file mode 100644 index e3f039dfb4..0000000000 --- a/samples/winrt/ImageManipulations/description/c2e69f54-1c43-4037-b90b-5f775f1d945fBrand.css +++ /dev/null @@ -1,303 +0,0 @@ -/*Global*/ -h1 { - font-size: 36px; - font-family: 'Segoe UI Light'; - color: #707070; - font-weight: normal; - margin-bottom: 17px !important; -} - -h2, h3, h4, h5, h6, #searchPage h3 { - font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif !important; - font-weight:normal; - color: #2A2A2A !important; -} - -a, a:link, a:visited { - color: #0095c4; -} - -body { - color:#707070; -} - -.profile-usercard { - color:#707070 !important; -} - -/*temporary setting to override msdn_windows.css -can remove once conflicting settings are removed from that file*/ - - -.LocalNavigation, .LocalNavigation .TabOn, .LocalNavigation .TabOn:hover, .LocalNavigation .TabOff, .LocalNavigation .TabOff a:hover { - display: block; - background-color:transparent !important; - color: #0095c4; -} - -.LocalNavigation .TabOff a { -color:#707070 ; -} - -/*End Global*/ - -.EyebrowContainer -{ - margin-bottom: 0 !important; -} - -#sideNav -{ - width: 215px !important; -} - -#searchPage #mainContentContainer -{ - margin-right:0 !important; - margin-left:243px !important; -} - -#searchPage .dirSubHeading h2 -{ - font-size: 14px !important; - font-weight: normal !important; - color: #454545 !important; - line-height: 1.45; -} - -#searchPage #directoryListFooter, #searchPage #Pager { - font-size: 14px; -} - -#searchPage h2, #searchPage h3 -{ - font-size: 1.25em !important; -} - -#sideNav #contributeSection h3, .sidebar #contributeSection h3, #contributeSection h3 -{ - font-size: 1.65em !important; -} - -.subMenu > h2 -{ - font-family: 'Segoe UI Light','Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif !important; - font-weight:normal; - font-size:30px; - margin: 15px 10px 5px 0; - padding-bottom:0px; -} - -.itemRow { -} - .itemRow .itemBody, .itemRow .itemInfo { - padding: 18px 17px 20px 0; - font-size: 14px; - line-height: 1.45em; - } - - .itemRow .itemTitle { - font-weight: normal; - } - - .itemRow .summaryBox{ - color: #454545; - } - - .Samples #MainContent .itemRow .itemTitle a { - font-weight: 600 !important; - line-height: 1.45; - } - #MainContent a.officialMicrosoftLabel - { - color: #ACACAC; - } - - -.tabContents { - border-top-width:0px; -} - -#UploadPage { - margin: 0px 0px 0px 10px; -} - #UploadPage h1 { - padding: 0; - font-size: 22px; - } - #UploadPage h2 { - color:#F39700 !important; - } - - #UploadPage #uploadPageInstruction { - margin-top:10px; - } - - #UploadPage fieldset { - margin-left:0px; - } - - #UploadPage fieldset h2 { - font-weight:normal; - } - - #UploadPage fieldset#uploadsForm{ - margin-top:25px; - } - - #UploadPage fieldset#summary textarea { - margin-left:0px; - } - - #UploadPage .projectTypeChoice > div { - height: 250px; - } - -#sideNav { -} - - #sideNav .section h3 { - background-color: transparent; - - } - - #sideNav .section UL LI { - border-bottom-width: 0px; - } - - #sideNav .section form > div { - border-bottom: none; - color: #707070; - } - #sideNav .section ul li > div.itemCount - { - color: #707070; - } - - -#searchPage { -} - - #searchPage h2, #searchPage h3 { - text-transform:none; - background-color:transparent; - font-weight:normal; - font-size:1.2em; - } - - #searchPage .browseFilterBar { - background-color:transparent; - border-width:0px; - font-weight:normal; - } - -#requestsPage { - padding-top:15px; -} - #requestsPage .tabHeaders { - overflow: visible; - } - - #requestsPage #requestsList { - border: none; - } - - - #requestsPage h2, #requestsPage h3 { - text-transform:none; - background-color:transparent; - font-weight:normal; - font-size:1.2em; - } - - .reqBrowseContent .title { - font-weight: bold !important; - color:#000 !important; - font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif !important; - } - - .reqDescPage #header #votenumber { - height: 30px; - padding: 9px 12px 3px 12px; - } - -#extraActions { -} - #extraActions .section - { - margin-bottom: 10px; - } - #extraActions .section a - { - font-weight:normal; - } - - #extraActions #contributeSection div img { - width:0px; - } - - - -#projectPage { -} - - #projectPage .projectTitle { - color: #707070; - margin: 5px 0px 15px 0px; - } - - #projectPage h2.projectSummary, #projectPage #projectInfo, #projectPage .tabHeaders { - font-size: 14px !important; - line-height: 1.45em; - color: #454545 !important; - font-weight: normal !important; - } - - #projectPage #projectInfo a { - color: #00749e; - } - - #projectPage #Downloads a, #projectPage #Downloads label { - font-size: 14px; - } - - #projectPage #reportAbuse { - font-size: 1em; - } - - #projectPage #publishBar a, #projectPage #publishBar a:visited { - color: #0095c4; - font-weight: normal; - } - - #projectPage #Collections .bevelButton{ - background-color: #F8F8F8; - color: #0095C4; - border: 1px solid #707070; - } - - #projectPage #DiscussionsTabPane .threadHeader .title { - font-weight:bold !important; - color:Black !important;#F8F8F8; - font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif !important; - } - - #projectPage .sidebar .section .titleBar h3 { - font-weight:normal; - font-size:1.2em; - } - -#LocalNav { -} - - #LocalNav.HeaderTabs { - margin-left:11px; - } - - -#searchPage .dirSubHeading h1 -{ - margin-bottom:17px !important; -} - - diff --git a/samples/winrt/ImageManipulations/description/iframedescription.css b/samples/winrt/ImageManipulations/description/iframedescription.css deleted file mode 100644 index 9abc9cdb3f..0000000000 --- a/samples/winrt/ImageManipulations/description/iframedescription.css +++ /dev/null @@ -1,179 +0,0 @@ -body { - color: #000000; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 0.813em; - font-style: normal; - word-wrap: break-word; -} - -/*BEGIN HEADERS*/ -.h1, h1 { - color: #3A3E43; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 1.4em; - font-weight: bold; - margin: 0; -} - -.h2, h2 { - color: #3A3E43; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 1.2em; - font-weight: bold; -} -.h3, h3 { - color: #3A3E43; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 1.077em; - font-weight: bold; -} -.h4, h4 { - color: #3A3E43; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 1em; - font-weight: bold; -} -h4.subHeading { - margin-bottom: 7px; - margin-top: 13px; -} -/*END HEADERS*/ - -/*BEGIN LINKS*/ -a:link { - color: #00749E; - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -a:visited { - color: #960BB4; - text-decoration: none; -} -a:focus { - outline: 1px dotted #000000; -} - -a.libraryLink:link { - text-decoration:none; - border-bottom:1px dotted; -} - -/*END LINKS*/ - -/*BEGIN IMAGES*/ -img { - border: 0 none; -} -/*END IMAGES*/ - -/*BEGIN TABLE*/ -.title table { - color: #000000; - font-family: 'Segoe UI',Verdana,Arial; - font-size: 1.077em; - font-style: normal; -} -table { - border-collapse: collapse; -} - -table, table th, table td { - border:1px solid #BBBBBB; -} -/*END TABLE*/ - -/*BEGIN LIST*/ -ul { - list-style-type: disc; - margin-left:40px; - padding-left: 0; -} -ul li { - padding-bottom: 10px; -} -ol { - margin-left:40px; - padding-left: 0; -} -ol li { - padding-bottom: 10px; -} -/*END LIST*/ - -.scriptcode { - position: relative; - padding: 8px 8px 8px 8px; - background: #FFFFFF; - font-size: 12px; - line-height: 125%; - font-weight:normal; -} -.scriptcode pre -{ - white-space: pre-wrap !important; /* css-3 */ - word-wrap: break-word !important; /* Internet Explorer 5.5+ */ - margin:0 0 10px 0 !important; - padding: 10px; - border-top: solid 2px #D0D2D2; - border-bottom: solid 2px #D0D2D2; - border-left: solid 1px #D0D2D2; - border-right: solid 1px #D0D2D2; -} - -.scriptcode .title { - color:#E66A38; - font-size: 12px; - font-weight:bold; - margin: 0; - min-height: 23px; -} -.scriptcode .title > span:first-child { - border-left: solid 1px #D0D2D2; -} -.scriptcode .title > span { - padding: 4px 8px 4px 8px; - display: inline-block; - border-top: 1px solid #D0D2D2; - border-right: 1px solid #D0D2D2; - border-collapse: collapse; - text-align: center; - background: white; -} -.scriptcode .title > span.otherTab { - color: #1364C4; - background: #EFF5FF; - cursor: pointer; -} - -.scriptcode .hidden { - display: none !important; - visibility: hidden !important; -} - -.scriptcode .copyCode { - padding: 8px 2px 0 2px !important; - margin-right: 15px; - position: absolute !important; - right: 0 !important; - top: 17px; - display:block !important; - background: #FFFFFF; -} -.scriptcode .pluginLinkHolder { - display: none; -} -.scriptcode .pluginEditHolderLink { - display: none; -} - -.Opera wbr -{ - display: inline-block; -} - -.IE9 wbr:after -{ -content: "\00200B"; -} diff --git a/samples/winrt/ImageManipulations/description/offline.js b/samples/winrt/ImageManipulations/description/offline.js deleted file mode 100644 index f5d07c8af1..0000000000 --- a/samples/winrt/ImageManipulations/description/offline.js +++ /dev/null @@ -1,52 +0,0 @@ -var Galleries = Galleries || { }; - -(function() { - - function findElem(parent, tagName, className) { - var elemToSearch = (parent) ? parent : document.body; - var tagMatch = elemToSearch.getElementsByTagName(tagName); - var evaluator = function(elem) { - return (className) ? (elem.className.indexOf(className) > -1) : true; - }; - - return findArrayElem(tagMatch, evaluator); - } - - function findArrayElem(array, evaluator) { - var newArray = new Array(); - for (var count = 0; count < array.length; count++) { - if (evaluator(array[count])) { - newArray.push(array[count]); - } - } - return newArray; - } - - function iterateElem(elems, delegate) { - for(var count = 0; count < elems.length; count++) { - delegate(count, elems[count]); - } - } - - function isHidden(elem) { - return (elem.offsetHeight === 0 && elem.offsetWidth === 0) || elem.style && elem.style.display === "none"; - } - - function onWindowLoad(callback) { - attachEventHandler(null, 'load', callback); - } - - function attachEventHandler(elem, event, callback) { - var elemToAttach = (elem) ? elem : window; - if (document.addEventListener) { - elemToAttach.addEventListener(event, callback, false); - } else if ( document.attachEvent ) { - elemToAttach.attachEvent('on' + event, callback); - } - } - - Galleries.findElem = findElem; - Galleries.iterateElem = iterateElem; - Galleries.attachEventHandler = attachEventHandler; - Galleries.onWindowLoad = onWindowLoad; -})(); \ No newline at end of file diff --git a/samples/winrt/ImageManipulations/license.rtf b/samples/winrt/ImageManipulations/license.rtf deleted file mode 100644 index 690a7ad071..0000000000 --- a/samples/winrt/ImageManipulations/license.rtf +++ /dev/null @@ -1,25 +0,0 @@ -{\rtf1\ansi\ansicpg1252\uc1\htmautsp\deff2{\fonttbl{\f0\fcharset0 Times New Roman;}{\f2\fcharset0 MS Shell Dlg;}}{\colortbl\red0\green0\blue0;\red255\green255\blue255;}\loch\hich\dbch\pard\plain\ltrpar\itap0{\lang1033\fs16\f2\cf0 \cf0\ql{\f2 \line \li0\ri0\sa0\sb0\fi0\ql\par} -{\fs40\f2 {\ltrch MICROSOFT LIMITED PUBLIC LICENSE version 1.1}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 \line {\ltrch ----------------------}\line \li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch This license governs use of code marked as \ldblquote sample\rdblquote or \ldblquote example\rdblquote available on this web site without a license agreement, as provided under the section above titled \ldblquote NOTICE SPECIFIC TO SOFTWARE AVAILABLE ON THIS WEB SITE.\rdblquote If you use such code (the \ldblquote software\rdblquote ), you accept this license. If you do not accept the license, do not use the software.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 \line \li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch 1. Definitions}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch The terms \ldblquote reproduce,\rdblquote \ldblquote reproduction,\rdblquote \ldblquote derivative works,\rdblquote and \ldblquote distribution\rdblquote have the same meaning here as under U.S. copyright law. }\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch A \ldblquote contribution\rdblquote is the original software, or any additions or changes to the software.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch A \ldblquote contributor\rdblquote is any person that distributes its contribution under this license.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch \ldblquote Licensed patents\rdblquote are a contributor\rquote s patent claims that read directly on its contribution.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 \line \li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch 2. Grant of Rights}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (A) Copyright Grant - Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (B) Patent Grant - Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 \line \li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch 3. Conditions and Limitations}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (A) No Trademark License- This license does not grant you rights to use any contributors\rquote name, logo, or trademarks.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (E) The software is licensed \ldblquote as-is.\rdblquote You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 {\ltrch (F) Platform Limitation - The licenses granted in sections 2(A) and 2(B) extend only to the software or derivative works that you create that run directly on a Microsoft Windows operating system product, Microsoft run-time technology (such as the .NET Framework or Silverlight), or Microsoft application platform (such as Microsoft Office or Microsoft Dynamics).}\li0\ri0\sa0\sb0\fi0\ql\par} -{\f2 \line \li0\ri0\sa0\sb0\fi0\ql\par} -} -} \ No newline at end of file diff --git a/samples/winrt/ImageManipulations/C++/pch.cpp b/samples/winrt/ImageManipulations/pch.cpp similarity index 100% rename from samples/winrt/ImageManipulations/C++/pch.cpp rename to samples/winrt/ImageManipulations/pch.cpp diff --git a/samples/winrt/ImageManipulations/C++/pch.h b/samples/winrt/ImageManipulations/pch.h similarity index 100% rename from samples/winrt/ImageManipulations/C++/pch.h rename to samples/winrt/ImageManipulations/pch.h diff --git a/samples/winrt/ImageManipulations/C++/sample-utils/SampleTemplateStyles.xaml b/samples/winrt/ImageManipulations/sample-utils/SampleTemplateStyles.xaml similarity index 100% rename from samples/winrt/ImageManipulations/C++/sample-utils/SampleTemplateStyles.xaml rename to samples/winrt/ImageManipulations/sample-utils/SampleTemplateStyles.xaml