mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
34 lines
709 B
C
34 lines
709 B
C
|
/*
|
||
|
* file class_treeprojectfiles.h
|
||
|
*/
|
||
|
|
||
|
#ifndef CLASS_TREEPROJECTFILES_H
|
||
|
#define CLASS_TREEPROJECTFILES_H
|
||
|
|
||
|
/** Class TREEPROJECTFILES
|
||
|
* This is the class to show (as a tree) the files in the project directory
|
||
|
*/
|
||
|
class TREEPROJECTFILES : public wxTreeCtrl
|
||
|
{
|
||
|
DECLARE_DYNAMIC_CLASS( TREEPROJECTFILES )
|
||
|
private:
|
||
|
TREE_PROJECT_FRAME* m_Parent;
|
||
|
wxImageList* m_ImageList;
|
||
|
|
||
|
public:
|
||
|
|
||
|
TREE_PROJECT_FRAME* GetParent()
|
||
|
{
|
||
|
return m_Parent;
|
||
|
}
|
||
|
|
||
|
|
||
|
TREEPROJECTFILES( TREE_PROJECT_FRAME* parent );
|
||
|
~TREEPROJECTFILES();
|
||
|
private:
|
||
|
/* overridden sort function */
|
||
|
int OnCompareItems( const wxTreeItemId& item1, const wxTreeItemId& item2 );
|
||
|
};
|
||
|
|
||
|
#endif // CLASS_TREEPROJECTFILES_H
|