Page MenuHome

Add WM api to handle PanelType parent/child relationships
Needs ReviewPublic

Authored by Pratyaksh Raj (pratyaksh177) on Mon, Feb 6, 7:40 PM.

Details

Summary

I have Implemented a PanelType structure that includes an idname, a label, a parent, and a children list. The parent and children relation is used to create a hierarchy of PanelTypes. The functions WM_paneltype_add and WM_paneltype_remove allow adding and removing PanelTypes to/from the hierarchy. When a PanelType is added, it is also inserted in the children list of its parent. When a PanelType is removed, it is also removed from the children list of its parent. The parent and children relationship can be used to organize PanelTypes in a tree-like structure.

Diff Detail

Event Timeline

Pratyaksh Raj (pratyaksh177) requested review of this revision.Mon, Feb 6, 7:40 PM
Pratyaksh Raj (pratyaksh177) created this revision.