示例#1
0
        public void GLWindowAddAuxiliaryHint()
        {
            tlog.Debug(tag, $"GLWindowAddAuxiliaryHint START");
            string    name      = "myGLWindow";
            Rectangle rectangle = new Rectangle(20, 20, 100, 100);
            GLWindow  a1        = new GLWindow(name, rectangle, true);

            a1.AddAuxiliaryHint("myHint", "myValue");

            a1.Destroy();
            tlog.Debug(tag, $"GLWindowAddAuxiliaryHint END (OK)");
        }
示例#2
0
        public void GLWindowGetAuxiliaryHintId()
        {
            tlog.Debug(tag, $"GLWindowGetAuxiliaryHintId START");
            string    name      = "myGLWindow";
            Rectangle rectangle = new Rectangle(20, 20, 100, 100);
            GLWindow  a1        = new GLWindow(name, rectangle, true);

            uint pos = a1.AddAuxiliaryHint("myHint", "myValue");

            a1.GetAuxiliaryHintId("myHint");

            tlog.Debug(tag, $"GLWindowGetAuxiliaryHintId END (OK)");
            Assert.Pass("GLWindowGetAuxiliaryHintId");
        }