Example #1
0
 /*!
  * The default implementation initializes the HBaseView object and the view key.
  */
 public void Init()
 {
     if (m_pHView == null)
     {
         return;
     }
     HCS.Open_Segment_By_Key(m_pHView.GetViewKey());
     HCS.Set_Driver_Options("debug = 0x00000040");
     HCS.Close_Segment();
 }
Example #2
0
        public HPanel()
            : base()
        {
            IntPtr winid = this.Handle;

            //Do some HOOPS prep stuff

            HCS.Delete_Segment("?picture");
            HCS.UnDefine_Alias("?picture");
            HCS.Define_Alias("?picture", "?driver/dx9/window0");

            HCS.Open_Segment("?picture");
            HCS.Set_Driver_Options("use window ID = " + winid);
            HCS.Close_Segment();
        }