home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 51 / PCGamer51_17Demos.iso / games / CM / CyclingManagerDemoCangas.exe / CyclingManagerDemo / scripts / common / barre_outils / barre_outils.cnh < prev   
Text File  |  2001-06-07  |  3KB  |  102 lines

  1. // func void ToolBar_create()
  2. typedef func void TYPE_ToolBar_create();
  3. var TYPE_ToolBar_create ToolBar_create;
  4.  
  5. // func i32x ToolBar_event(i32x _iComponentID, i32x _iEvent)
  6. typedef func i32x TYPE_ToolBar_event(i32x _iComponentID, i32x _iEvent);
  7. var TYPE_ToolBar_event ToolBar_event;
  8.  
  9. // func void ToolBar_init_members()
  10. typedef func void TYPE_ToolBar_init_members();
  11. var TYPE_ToolBar_init_members ToolBar_init_members;
  12.  
  13. // func void Set_Tool_Bar_Text(szx text)
  14. typedef func void TYPE_Set_Tool_Bar_Text(szx text);
  15. var TYPE_Set_Tool_Bar_Text Set_Tool_Bar_Text;
  16.  
  17. // func void Set_Tool_Bar_TextID(i32x textID)
  18. typedef func void TYPE_Set_Tool_Bar_TextID(i32x textID);
  19. var TYPE_Set_Tool_Bar_TextID Set_Tool_Bar_TextID;
  20.  
  21. // func void TitleBar_create()
  22. typedef func void TYPE_TitleBar_create();
  23. var TYPE_TitleBar_create TitleBar_create;
  24.  
  25. // func i32x TitleBar_event(i32x _iComponentID, i32x _iEvent)
  26. typedef func i32x TYPE_TitleBar_event(i32x _iComponentID, i32x _iEvent);
  27. var TYPE_TitleBar_event TitleBar_event;
  28.  
  29. // func void TitleBar_init_members()
  30. typedef func void TYPE_TitleBar_init_members();
  31. var TYPE_TitleBar_init_members TitleBar_init_members;
  32.  
  33. // func void Set_Title_Bar_Text(szx text)
  34. typedef func void TYPE_Set_Title_Bar_Text(szx text);
  35. var TYPE_Set_Title_Bar_Text Set_Title_Bar_Text;
  36.  
  37. //func void Set_Config_Button_VisibleStatus(i32x _status)
  38. typedef func void TYPE_Set_Config_Button_VisibleStatus(i32x _status);
  39. var TYPE_Set_Config_Button_VisibleStatus Set_Config_Button_VisibleStatus;
  40.  
  41. // func void Reset_Tool_Bar_Text()
  42. typedef func void TYPE_Reset_Tool_Bar_Text();
  43. var TYPE_Reset_Tool_Bar_Text Reset_Tool_Bar_Text;
  44.  
  45. // func i32x ToolBar_GetHelpStringID()
  46. typedef func i32x TYPE_ToolBar_GetHelpStringID();
  47. var TYPE_ToolBar_GetHelpStringID ToolBar_GetHelpStringID;
  48.  
  49. //func void Set_Tool_Bar_String(szx _szText)
  50. typedef func void TYPE_Set_Tool_Bar_String(szx _szText);
  51. var TYPE_Set_Tool_Bar_String Set_Tool_Bar_String;
  52.  
  53. //func szx Get_Tool_Bar_String()
  54. typedef func szx TYPE_Get_Tool_Bar_String();
  55. var TYPE_Get_Tool_Bar_String Get_Tool_Bar_String;
  56.  
  57. // func void Update_Title_Bar_Text()
  58. typedef func void TYPE_Update_Title_Bar_Text();
  59. var TYPE_Update_Title_Bar_Text Update_Title_Bar_Text;
  60.  
  61. // -------------------------------------------------------------------------
  62.  
  63. typedef struct stToolBar
  64. {
  65.     component m_pthis;
  66.  
  67.     // Component index
  68.     i32x m_cVideoCfg;
  69.     i32x m_cCredit;
  70.     i32x m_cTextArea;
  71.     i32x m_cText;
  72.     i32x m_cQuit;
  73.  
  74.     i32x m_cHourArea;
  75.     i32x m_cHour;
  76.  
  77.     i32x m_cPlay;
  78.     i32x m_cNext;
  79.     i32x m_cStop;
  80.  
  81.     i32x m_iCounter;
  82.     i32x m_iStringID;
  83.     szx m_szString;
  84.  
  85.     ObjectFunc ofunc;
  86. } stToolBar;
  87. var stToolBar oToolBar;
  88.  
  89. typedef struct stTitleBar
  90. {
  91.     component m_pthis;
  92.  
  93.     // Component index
  94.     i32x m_cBackground;
  95.     i32x m_cText;
  96.  
  97.     szx m_szText;
  98.  
  99.     ObjectFunc ofunc;
  100. } stTitleBar;
  101. var stTitleBar oTitleBar;
  102.