v4timelinecase.h

来自「一个用于智能手机的多媒体库适合S60 WinCE的跨平台开发库」· C头文件 代码 · 共 68 行

H
68
字号
/*  V4TimeLineCase.h    // TODO : description*/#ifndef _V4TimeLineCell_#define _V4TimeLineCell_#include <gpac/scenegraph_vrml.h>#include <wx/window.h>class V4TimeLineLine;// differents types of a cell -- differs with the line type#define CELL_TYPE_HDR       0#define CELL_TYPE_NORMAL    1// different states of a cell#define CELL_STATE_CLICKED  1#define CELL_STATE_SELECTED 2#define CELL_STATE_COMMAND  4class V4StudioFrame;class V4TimeLineCell: public wxWindow {  public:    // Constructor    V4TimeLineCell(V4TimeLineLine * parent, unsigned int num=0, unsigned int type=CELL_TYPE_NORMAL);     // Destructor    virtual ~V4TimeLineCell();    // Changes cell state    void SetState(unsigned int _state);    unsigned int GetState() const;    // returns a pointer to parent (used to retrieve line number and node ID)    V4TimeLineLine * GetParent() const;    // manipulates the commands list    void AddCommand(GF_Command *);    void DeleteCommands();    void DeleteCommand(const u32 n);    GF_Command * GetCommand(u32 n);  private:    unsigned int state; // possible values not yet defined    unsigned int type;  // type of cell    unsigned int num;    DECLARE_EVENT_TABLE()    V4StudioFrame * v4sf;    V4TimeLineLine * parent;    GF_List * commands; // actions to perform for this object (row) when entering the frame (col)    void OnLeftUp(wxMouseEvent &);    void OnPaint(wxPaintEvent &);};#endif

⌨️ 快捷键说明

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