Usermode - Working on AxWin3 SubWin widget (also API change for SysSpawn)
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / renderer_widget.h
index 700540d..fd0fa42 100644 (file)
@@ -22,6 +22,7 @@ struct sAxWin_Element
 {
        enum eElementTypes      Type;
 
+       tWindow         *Window;
        uint32_t        ID;     //!< Application provided ID number
        tElement        *ListNext;      //!< Next element in bucket
        
@@ -47,26 +48,23 @@ struct sAxWin_Element
        
        // -- Attributes maitained by the element code
        // Not touched by the user
-       short   MinWith;        //!< Minimum long size
-       short   MinCross;       //!< Minimum cross size
+       short   MinW;   //!< Minimum long size
+       short   MinH;   //!< Minimum cross size
        void    *Data;  //!< Per-type data
        
        // -- Render Cache
        short   CachedX, CachedY;
        short   CachedW, CachedH;
-       
-       char    DebugName[];
 };
 struct sWidgetWin
 {
        tElement        RootElement;
+
+       tElement        *FocusedElement;
        
         int    TableSize;      //!< Number of entries, anything over will wrap
        tElement        *ElementTable[];        //!< Hash table essentially
 };
 
-// === FUNCTIONS === 
-extern void    Widget_Decorator_RenderWidget(tWindow *Window, tElement *Element);
-
 #endif
 

UCC git Repository :: git.ucc.asn.au