⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 builder_data.hpp

📁 uclinux 下的vlc播放器源代码
💻 HPP
📖 第 1 页 / 共 2 页
字号:
/***************************************************************************** * builder_data.hpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id: builder_data.hpp 16778 2006-09-21 23:56:47Z hartman $ * * Authors: Cyril Deguet     <asmax@via.ecp.fr> *          Olivier Teuliere <ipkiss@via.ecp.fr> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************///File generated by gen_builder.py//DO NOT EDIT BY HAND !#ifndef BUILDER_DATA_HPP#define BUILDER_DATA_HPP#include <vlc/vlc.h>#include <list>#include <map>#include <string>using namespace std;/// Structure for mapping data from XML filestruct BuilderData{    /// Type definition    struct Theme    {        Theme( const string & tooltipfont, int magnet, uint32_t alpha, uint32_t moveAlpha ):m_tooltipfont( tooltipfont ), m_magnet( magnet ), m_alpha( alpha ), m_moveAlpha( moveAlpha ) {}        string m_tooltipfont;        int m_magnet;        uint32_t m_alpha;        uint32_t m_moveAlpha;    };    /// List    list<Theme> m_listTheme;    /// Type definition    struct Bitmap    {        Bitmap( const string & id, const string & fileName, uint32_t alphaColor, int nbFrames, int fps ):m_id( id ), m_fileName( fileName ), m_alphaColor( alphaColor ), m_nbFrames( nbFrames ), m_fps( fps ) {}        string m_id;        string m_fileName;        uint32_t m_alphaColor;        int m_nbFrames;        int m_fps;    };    /// List    list<Bitmap> m_listBitmap;    /// Type definition    struct SubBitmap    {        SubBitmap( const string & id, const string & parent, int x, int y, int width, int height, int nbFrames, int fps ):m_id( id ), m_parent( parent ), m_x( x ), m_y( y ), m_width( width ), m_height( height ), m_nbFrames( nbFrames ), m_fps( fps ) {}        string m_id;        string m_parent;        int m_x;        int m_y;        int m_width;        int m_height;        int m_nbFrames;        int m_fps;    };    /// List    list<SubBitmap> m_listSubBitmap;    /// Type definition    struct BitmapFont    {        BitmapFont( const string & id, const string & file, const string & type ):m_id( id ), m_file( file ), m_type( type ) {}        string m_id;        string m_file;        string m_type;    };    /// List    list<BitmapFont> m_listBitmapFont;    /// Type definition    struct Font    {        Font( const string & id, const string & fontFile, int size ):m_id( id ), m_fontFile( fontFile ), m_size( size ) {}        string m_id;        string m_fontFile;        int m_size;    };    /// List    list<Font> m_listFont;    /// Type definition    struct PopupMenu    {        PopupMenu( const string & id ):m_id( id ) {}        string m_id;    };    /// List    list<PopupMenu> m_listPopupMenu;    /// Type definition    struct MenuItem    {        MenuItem( const string & label, const string & action, int pos, const string & popupId ):m_label( label ), m_action( action ), m_pos( pos ), m_popupId( popupId ) {}        string m_label;        string m_action;        int m_pos;        string m_popupId;    };    /// List    list<MenuItem> m_listMenuItem;    /// Type definition    struct MenuSeparator    {        MenuSeparator( int pos, const string & popupId ):m_pos( pos ), m_popupId( popupId ) {}        int m_pos;        string m_popupId;    };    /// List    list<MenuSeparator> m_listMenuSeparator;    /// Type definition    struct Window    {        Window( const string & id, int xPos, int yPos, bool visible, bool dragDrop, bool playOnDrop ):m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_dragDrop( dragDrop ), m_playOnDrop( playOnDrop ) {}        string m_id;        int m_xPos;        int m_yPos;        bool m_visible;        bool m_dragDrop;        bool m_playOnDrop;    };    /// List    list<Window> m_listWindow;    /// Type definition    struct Layout    {        Layout( const string & id, int width, int height, int minWidth, int maxWidth, int minHeight, int maxHeight, const string & windowId ):m_id( id ), m_width( width ), m_height( height ), m_minWidth( minWidth ), m_maxWidth( maxWidth ), m_minHeight( minHeight ), m_maxHeight( maxHeight ), m_windowId( windowId ) {}        string m_id;        int m_width;        int m_height;        int m_minWidth;        int m_maxWidth;        int m_minHeight;        int m_maxHeight;        string m_windowId;    };    /// List    list<Layout> m_listLayout;    /// Type definition    struct Anchor    {        Anchor( int xPos, int yPos, const string & leftTop, int range, int priority, const string & points, const string & layoutId ):m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_range( range ), m_priority( priority ), m_points( points ), m_layoutId( layoutId ) {}        int m_xPos;        int m_yPos;        string m_leftTop;        int m_range;        int m_priority;        string m_points;        string m_layoutId;    };    /// List    list<Anchor> m_listAnchor;    /// Type definition    struct Button    {        Button( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, bool xKeepRatio, bool yKeepRatio, const string & visible, const string & upId, const string & downId, const string & overId, const string & actionId, const string & tooltip, const string & help, int layer, const string & windowId, const string & layoutId ):m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_xKeepRatio( xKeepRatio ), m_yKeepRatio( yKeepRatio ), m_visible( visible ), m_upId( upId ), m_downId( downId ), m_overId( overId ), m_actionId( actionId ), m_tooltip( tooltip ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}        string m_id;        int m_xPos;        int m_yPos;        string m_leftTop;        string m_rightBottom;        bool m_xKeepRatio;        bool m_yKeepRatio;        string m_visible;        string m_upId;        string m_downId;        string m_overId;        string m_actionId;        string m_tooltip;        string m_help;        int m_layer;        string m_windowId;        string m_layoutId;    };    /// List    list<Button> m_listButton;    /// Type definition    struct Checkbox    {        Checkbox( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, bool xKeepRatio, bool yKeepRatio, const string & visible, const string & up1Id, const string & down1Id, const string & over1Id, const string & up2Id, const string & down2Id, const string & over2Id, const string & state, const string & action1, const string & action2, const string & tooltip1, const string & tooltip2, const string & help, int layer, const string & windowId, const string & layoutId ):m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_xKeepRatio( xKeepRatio ), m_yKeepRatio( yKeepRatio ), m_visible( visible ), m_up1Id( up1Id ), m_down1Id( down1Id ), m_over1Id( over1Id ), m_up2Id( up2Id ), m_down2Id( down2Id ), m_over2Id( over2Id ), m_state( state ), m_action1( action1 ), m_action2( action2 ), m_tooltip1( tooltip1 ), m_tooltip2( tooltip2 ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}        string m_id;        int m_xPos;        int m_yPos;        string m_leftTop;        string m_rightBottom;        bool m_xKeepRatio;        bool m_yKeepRatio;        string m_visible;        string m_up1Id;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -