Exemple #1
0
 protected void set_lunar_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.LUNAR)
     {
         return;
     }
     currentTheme = THEMES.LUNAR;
     internalWebView.newTheme("lunar_theme.html");
 }
Exemple #2
0
 protected void set_corduroy_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.CORDUROY)
     {
         return;
     }
     currentTheme = THEMES.CORDUROY;
     internalWebView.newTheme("corduroy_theme.html");
 }
Exemple #3
0
 protected void set_midnight_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.MIDNIGHT)
     {
         return;
     }
     currentTheme = THEMES.MIDNIGHT;
     internalWebView.newTheme("midnight_theme.html");
 }
Exemple #4
0
 protected void set_dark_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.DARK)
     {
         return;
     }
     currentTheme = THEMES.DARK;
     internalWebView.newTheme("dark_theme.html");
 }
Exemple #5
0
 protected void set_forest_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.FOREST)
     {
         return;
     }
     currentTheme = THEMES.FOREST;
     internalWebView.newTheme("forest_theme.html");
 }
Exemple #6
0
 protected void set_desert_theme(object sender, EventArgs e)
 {
     if (currentTheme == THEMES.DESERT)
     {
         return;
     }
     currentTheme = THEMES.DESERT;
     internalWebView.newTheme("desert_theme.html");
 }
Exemple #7
0
 protected void apply_custom_theme(object sender, EventArgs e)
 {
     currentTheme = THEMES.CUSTOM;
     internalWebView.newTheme("custom_theme.html");
 }