コード例 #1
0
 private void refreshCB2()
 {
     FuncMisc.refreshComboBox(comboBox2, new List <double>()
     {
         1, 2
     }, FormMain.numberStyle, false, comboBox2_SelectedIndexChanged);
 }
コード例 #2
0
 private void refreshWaterReflect()
 {
     FuncMisc.refreshComboBox(comboBoxWaterReflectTAB, new List <double>()
     {
         512, 1024, 2048
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Water", "iWaterReflectWidth"), false, comboBoxWaterReflect_SelectedIndexChanged);
 }
コード例 #3
0
 private void refreshLODObjects()
 {
     FuncMisc.refreshComboBox(comboBoxLODObjectsTAB, new List <double>()
     {
         12500, 25000, 40000, 75000
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "TerrainManager", "fTreeLoadDistance"), false, comboBoxLODObjects_SelectedIndexChanged);
 }
コード例 #4
0
 private void refreshPredictFPS()
 {
     FuncMisc.refreshComboBox(comboBoxPredictFPS, new List <double>()
     {
         0.0333, 0.0166, 0.0133, 0.0111, 0.0083, 0.0069, 0.0041
     }, FuncParser.doubleRead(FormMain.pathSkyrimINI, "HAVOK", "fMaxTime"), false, comboBoxPredictFPS_SelectedIndexChanged);
 }
コード例 #5
0
 private void refreshDecals()
 {
     FuncMisc.refreshComboBox(comboBoxDecalsTAB, new List <double>()
     {
         0, 20, 50, 100
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Display", "iMaxDecalsPerFrame"), false, comboBoxDecals_SelectedIndexChanged);
 }
コード例 #6
0
 private void refreshTextures()
 {
     FuncMisc.refreshComboBox(comboBoxTexturesTAB, new List <double>()
     {
         0, 1, 2
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Display", "iTexMipMapSkip"), false, comboBoxTextures_SelectedIndexChanged);
 }
コード例 #7
0
 private void refreshShadow()
 {
     FuncMisc.refreshComboBox(comboBoxShadowResTAB, new List <double>()
     {
         512, 1024, 2048, 4096
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Display", "iShadowMapResolution"), false, comboBoxShadowRes_SelectedIndexChanged);
 }
コード例 #8
0
 private void refreshAF()
 {
     FuncMisc.refreshComboBox(comboBoxAFTAB, new List <double>()
     {
         0, 2, 4, 8, 16
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Display", "iMaxAnisotropy"), false, comboBoxAF_SelectedIndexChanged);
 }
コード例 #9
0
 private void refreshAA()
 {
     FuncMisc.refreshComboBox(comboBoxAATAB, new List <double>()
     {
         0, 2, 4, 8
     }, FuncParser.intRead(FormMain.pathSkyrimPrefsINI, "Display", "iMultiSample"), false, comboBoxAA_SelectedIndexChanged);
 }
コード例 #10
0
 private void refreshMemory()
 {
     if (File.Exists(FormMain.pathENBLocalINI))
     {
         comboBox_Memory.Enabled = true;
         FuncMisc.refreshComboBox(comboBox_Memory, new List <double>()
         {
             64, 128, 256, 384, 512, 640, 768, 896, 1024
         }, FuncParser.intRead(FormMain.pathENBLocalINI, "MEMORY", "ReservedMemorySizeMb"), false, comboBox_Memory_SelectedIndexChanged);
     }
     else
     {
         comboBox_Memory.SelectedIndex = -1;
         comboBox_Memory.Enabled       = false;
     }
 }
コード例 #11
0
 private void refreshFPS()
 {
     fps = FuncMisc.refreshButton(button_FPS, FormMain.pathENBLocalINI, "LIMITER", "EnableFPSLimit", null, false);
     if (fps)
     {
         FuncMisc.refreshComboBox(comboBox_FPS, new List <double>()
         {
             30, 60, 75, 90, 120, 144, 240
         }, FuncParser.intRead(FormMain.pathENBLocalINI, "LIMITER", "FPSLimit"), false, comboBox_FPS_SelectedIndexChanged);
     }
     else
     {
         comboBox_FPS.SelectedIndex = -1;
     }
     comboBox_FPS.Enabled = fps;
 }
コード例 #12
0
 private void refreshAF()
 {
     af = FuncMisc.refreshButton(button_AF, FormMain.pathENBLocalINI, "ENGINE", "ForceAnisotropicFiltering", null, false);
     if (af)
     {
         FuncMisc.refreshComboBox(comboBox_AF, new List <double>()
         {
             0, 2, 4, 8, 16
         }, FuncParser.intRead(FormMain.pathENBLocalINI, "ENGINE", "MaxAnisotropy"), false, comboBox_AF_SelectedIndexChanged);
     }
     else
     {
         comboBox_AF.SelectedIndex = -1;
     }
     comboBox_AF.Enabled = af;
 }