Exemplo n.º 1
0
 public MHText()
 {
     m_nCharSet           = -1;
     m_HorizJ             = m_VertJ = Start;
     m_LineOrientation    = Horizontal;
     m_StartCorner        = UpperLeft;
     m_fTextWrap          = false;
     m_pDisplay           = null;
     m_OrigFont           = new MHFontBody();
     m_OriginalFontAttrs  = new MHOctetString();
     m_OriginalTextColour = new MHColour();
     m_OriginalBgColour   = new MHColour();
     m_textColour         = new MHColour();
     m_bgColour           = new MHColour();
     m_fontAttrs          = new MHOctetString();
     m_Content            = new MHOctetString();
 }
Exemplo n.º 2
0
        protected string m_Path; // Path from the root directory to this application.  Either the null string or
        // a string of the form /a/b/c .

        public MHApplication()
        {
            m_fIsApp        = true;
            m_nCharSet      = 0;
            m_nTextCHook    = 0;
            m_nIPCHook      = 0;
            m_nStrCHook     = 0;
            m_nBitmapCHook  = 0;
            m_nLineArtCHook = 0;

            m_pCurrentScene      = null;
            m_nLockCount         = 0;
            m_fRestarting        = false;
            m_OnSpawnCloseDown   = new MHActionSequence();
            m_OnRestart          = new MHActionSequence();
            m_BGColour           = new MHColour();
            m_TextColour         = new MHColour();
            m_ButtonRefColour    = new MHColour();
            m_HighlightRefColour = new MHColour();
            m_SliderRefColour    = new MHColour();
            m_Font         = new MHFontBody();
            m_FontAttrs    = new MHOctetString();
            m_DisplayStack = new MHSequence <MHVisible>();
        }