示例#1
0
        public void Init(RenderWindow RWind, ShaderProgram GUIShader)
        {
            this.RWind = RWind;
            Docs       = new List <FMLDocument>();

            Dev = new FishGfxDevice(RWind.WindowSize, GUIShader);
            Dev.RegisterEvents(RWind);

            NuklearAPI.Init(Dev);
        }
示例#2
0
        public void Init(RenderWindow RWind, ShaderProgram GUIShader)
        {
            this.RWind = RWind;
            Docs       = new List <FMLDocument>();

            Dev = new FishGfxDevice(RWind.WindowSize, GUIShader);
            Dev.RegisterEvents(RWind);

            NuklearAPI.Init(Dev);

            // TODO: Skinning
            ref nk_style style = ref NuklearAPI.Ctx->style;