Skip to content

Commit

Permalink
3.10.0-rgb.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bentroen committed Apr 1, 2022
1 parent 9e145cc commit 4c9d745
Show file tree
Hide file tree
Showing 13 changed files with 146 additions and 41 deletions.
9 changes: 9 additions & 0 deletions datafiles/Data/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Changes in v3.10.0-rgb.1 (2022.04.01):
* Made ~ C O L O R F U L ~ note blocks, buttons, dropdowns, scrollbars,
dragbars, radio buttons, instruments, layers, checkboxes, popups, text
fields, piano keys, windows, backgrounds and the workspace
* Removed boring gray looks from the interface
* Removed all themes, now everything is ~ C O L O R F U L ~
* Removed blackout mode. Why would you want to use that?!?!
* You'll never be bored while composing anymore!

Changes in v3.10.0-beta.1 (2022.03.29):
* The MP3 export back-end has been reworked from scratch:
* Added stereo support! Panning on notes and layers will now be rendered
Expand Down
4 changes: 3 additions & 1 deletion scripts/control_create/control_create.gml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ function control_create() {
update_success = 0
show_welcome = 1
scroll_wheel = 0
temptheme = 0
theme = 3 // Using Fluent as the default theme
fdark = 0 // Fluent dark mode
blackout = 0
blackout_timer = 0
editmode = 0
clickinarea = 0
dontplace = 0
Expand Down Expand Up @@ -127,7 +129,7 @@ function control_create() {
nocdrag = 0
resetcolor = 0
rainbow = 0
rainbowtoggle = 0
rainbowtoggle = 1
pingtime = current_time
debug_overlay = 0
debug_option = 0
Expand Down
41 changes: 34 additions & 7 deletions scripts/control_draw/control_draw.gml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ function control_draw() {
if (theme = 1) window_background = 13160660
if (theme = 2) window_background = c_dark
// if (theme = 3) window_background = c_white
if (theme = 3) window_background = 15987699
if (theme = 3 && fdark) window_background = 2105376
if (theme = 3) window_background = accent[7]
if (theme = 3 && fdark) window_background = accent[8]
draw_clear(window_background)
if (theme = 3 && acrylic && wpaperexist) draw_sprite_tiled_ext(wpaperblur, 0,
0 - window_get_x() * (1 / window_scale) - (sprite_get_width(wpaper) * (display_height / sprite_get_height(wpaper)) - display_width) * (1 / window_scale) * (wpaperside) / 2,
Expand All @@ -140,12 +140,20 @@ function control_draw() {
draw_set_color(15790320)
if (theme = 1) draw_set_color(13160660)
if (theme = 2) draw_set_color(c_dark)
if (theme = 3) draw_set_color(accent[7])
if (theme = 3 && acrylic && wpaperexist) draw_set_color(accent[7])
if (theme = 3 && fdark) draw_set_color(accent[8])
if (theme = 3 && fdark && acrylic && wpaperexist) draw_set_color(accent[8])
if (theme = 3 && acrylic && wpaperexist) draw_set_alpha(0.875)
draw_rectangle(0, 0, rw, rh, 0)

if (theme = 3) draw_set_color(15987699)
if (theme = 3 && acrylic && wpaperexist) draw_set_color(15198183)
if (theme = 3 && fdark) draw_set_color(2105376)
if (theme = 3 && fdark && acrylic && wpaperexist) draw_set_color(1315860)
if (theme = 3 && acrylic && wpaperexist) draw_set_alpha(0.875)
draw_set_alpha(0.6)
draw_rectangle(0, 0, rw, rh, 0)

draw_set_alpha(1)
}

Expand Down Expand Up @@ -336,6 +344,11 @@ function control_draw() {
draw_set_color(16382457)
if (fdark) draw_set_color(2565927)
draw_rectangle(x1 + 2, y1 + 34, x1 + 2 + 32 * totalcols, y1 + 34 + 32 * totalrows, false)
draw_set_alpha(0.4)
draw_set_color(accent[7])
if (fdark) draw_set_color(accent[8])
draw_rectangle(x1 + 2, y1 + 34, x1 + 2 + 32 * totalcols, y1 + 34 + 32 * totalrows, false)
draw_set_alpha(1)
}
}
note_offset = floor(((marker_pos - floor(marker_pos + 0.5 * !isplayer)) * 32) + 0.5) * ((playing && marker_follow && marker_pagebypage = 2 && (marker_pos - floor(totalcols / 2 + 0.5) < enda + 1 && marker_pos - floor(totalcols / 2 + 0.5) > 0)) || isplayer)
Expand Down Expand Up @@ -751,7 +764,7 @@ function control_draw() {
}
// Instrument shortcuts
if (keyboard_check_pressed(vk_f5) && keyboard_check(vk_control) && keyboard_check(vk_shift) && theme = 3) {
rainbowtoggle = !rainbowtoggle
rainbowtoggle = 1
if (language != 1) {
if (rainbowtoggle) {
set_msg("Rainbow mode => ON")
Expand Down Expand Up @@ -1135,17 +1148,30 @@ function control_draw() {
draw_set_color(15790320)
if (theme = 1) draw_set_color(13160660)
if (theme = 2) draw_set_color(c_dark)
if (theme = 3) draw_set_color(accent[7])
if (theme = 3 && acrylic && wpaperexist) draw_set_color(accent[7])
if (theme = 3 && fdark) draw_set_color(accent[8])
if (theme = 3 && fdark && acrylic && wpaperexist) draw_set_color(accent[8])
if (theme = 3 && acrylic && wpaperexist) draw_set_alpha(0.4)
else draw_set_alpha(0.3)
draw_rectangle(0, y1 + 1, x1, rh, 0)
draw_rectangle(0, 0, rw, y1, 0)
draw_rectangle(x1 + 1, y1 + totalrows * 32 + 52, rw, rh, 0)
draw_rectangle(x1 + totalcols * 32 + 20, y1 + 1, rw, y1 + totalrows * 32 + 51, 0)
draw_rectangle(x1 + totalcols * 32 + 2, y1 + totalrows * 32 + 32, x1 + totalcols * 32 + 2 + 17, y1 + totalrows * 32 + 32 + 18, 0)
draw_area(x1, y1, x1 + totalcols * 32 + 20, y1 + totalrows * 32 + 52)

if (theme = 3) draw_set_color(15987699)
if (theme = 3 && acrylic && wpaperexist) draw_set_color(c_white)
if (theme = 3 && fdark) draw_set_color(2105376)
if (theme = 3 && fdark && acrylic && wpaperexist) draw_set_color(1315860)
if (theme = 3 && acrylic && wpaperexist) draw_set_alpha(0.875)
draw_set_alpha(0.6)
draw_rectangle(0, y1 + 1, x1, rh, 0)
draw_rectangle(0, 0, rw, y1, 0)
draw_rectangle(x1 + 1, y1 + totalrows * 32 + 52, rw, rh, 0)
draw_rectangle(x1 + totalcols * 32 + 20, y1 + 1, rw, y1 + totalrows * 32 + 51, 0)
draw_rectangle(x1 + totalcols * 32 + 2, y1 + totalrows * 32 + 32, x1 + totalcols * 32 + 2 + 17, y1 + totalrows * 32 + 32 + 18, 0)
draw_area(x1, y1, x1 + totalcols * 32 + 20, y1 + totalrows * 32 + 52)

draw_set_alpha(1)
}
draw_theme_color()
Expand Down Expand Up @@ -1438,7 +1464,8 @@ function control_draw() {
} //from the if (!isplayer) up there

if (dropmode && theme = 3) {
draw_set_color(0)
var col = fdark ? accent[8] : accent[7]
draw_set_color(col)
draw_set_alpha(0.2 * dropalpha)
draw_roundrect_ext(0, 0, 530, 90, 20, 20, 0)
draw_set_alpha(dropalpha)
Expand Down
4 changes: 4 additions & 0 deletions scripts/draw_block/draw_block.gml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ function draw_block(argument0, argument1, argument2, argument3, argument4, argum
}
}
draw_sprite_ext(sprite, frame, xx, yy, 1, 1, 0, -1, alpha)
draw_set_color(accent[0])
draw_set_alpha(0.2)
draw_rectangle(xx, yy, xx + 31, yy + 31, false)

draw_set_alpha(1)
if (use_icons) {
if (iscustom) {
Expand Down
25 changes: 16 additions & 9 deletions scripts/draw_piano/draw_piano.gml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ function draw_piano(argument0, argument1, argument2, argument3) {
b = 0
d = -1
selectedkey = -1

alpha = max(0, 3 - startkey) * !isplayer + 3 * isplayer
midi_devices = midi_input_devices()
for (a = 0; a < midi_devices; a += 1) {
midi_keys[a] = midi_input_key_presses(a)
midi_releases[a] = midi_input_key_releases(a)
}
for (a = 0; a < k; a += 1) {

var colorful = make_color_hsv((255 - (a * 10) + rainbow * 360/255) % 255, 128, 255)

c = (startkey + a) mod 7
if (a > 0 && c != 2 && c != 5) { // Sharp key to the left
c1 = startkey + sharpkeys + b
Expand Down Expand Up @@ -59,9 +63,10 @@ function draw_piano(argument0, argument1, argument2, argument3) {
showclicks2 = !out && show_keynumbers
col = c_white
down[1] = 0
if (!isplayer) {
if (show_outofrange && out) col = 8224255
if (selected_key = c2 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[7]}
if (true) {
//if (show_outofrange && out) col = 8224255
if (selected_key = c2 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[5]}
if (!(selected_key = c2)) col = colorful
}
if (current_time - key_played[c2] < 300) {col = merge_color(col, c_yellow, 1 - (current_time - key_played[c2]) / 300) down[1] = ((current_time - key_played[c2]) / 300) * 2 if (down[1] > 1) down[1] = 2 - down[1] down[1] = floor(down[1] * 3) / 3}
if (key_midipress[c2] || key_press[c2] || key_click[c2]) down[1] = 0.75
Expand All @@ -72,9 +77,10 @@ function draw_piano(argument0, argument1, argument2, argument3) {
out = (c1 < 33 || c1 > 57)
showclicks1 = !out && show_keynumbers
col = c_white
if (!isplayer) {
if (show_outofrange && out) col = 8224255
if (selected_key = c1 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[7]}
if (true) {
//if (show_outofrange && out) col = 8224255
if (selected_key = c1 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[5]}
if (!(selected_key = c1)) col = colorful
}
if (current_time - key_played[c1] < 300) {col = merge_color(col, c_yellow, 1 - (current_time - key_played[c1]) / 300) down[0] = ((current_time - key_played[c1]) / 300) * 2 if (down[0] > 1) down[0] = 2 - down[0] down[0] = floor(down[0] * 3) / 3}
if (key_midipress[c1] || key_press[c1] || key_click[c1]) down[0] = 0.75
Expand Down Expand Up @@ -106,9 +112,10 @@ function draw_piano(argument0, argument1, argument2, argument3) {
showclicks1 = !out && show_keynumbers
col = c_white
down = 0
if (!isplayer) {
if (show_outofrange && out) col = 8224255
if (selected_key = c1 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[7]}
if (true) {
//if (show_outofrange && out) col = 8224255
if (selected_key = c1 && playing = 0) {if (theme != 3) col = 16753828 else col = accent[5]}
if (!(selected_key = c1)) col = colorful
}
if (current_time - key_played[c1] < 300) {col = merge_color(col, c_yellow, 1 - (current_time - key_played[c1]) / 300) down = ((current_time - key_played[c1]) / 300) * 2 if (down > 1) down = 2 - down down = floor(down * 3) / 3}
if (key_midipress[c1] || key_press[c1] || key_click[c1]) down = 0.75
Expand Down
18 changes: 10 additions & 8 deletions scripts/draw_scrollbar/draw_scrollbar.gml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ function draw_scrollbar(argument0, argument1, argument2, argument3, argument4, a
bpos = floor(bpos)

// Background
draw_sprite_ext(spr_scrollbar_h_background, theme + (fdark && theme = 3), xx, yy, mwh + 32, 1, 0, -1, draw_get_alpha())
var col = fdark ? accent[8] : accent[7]
draw_sprite_ext(spr_scrollbar_h_background, theme + (fdark && theme = 3), xx, yy, mwh + 32, 1, 0, col, draw_get_alpha())

// Bar
if (!locked) {
Expand All @@ -57,13 +58,13 @@ function draw_scrollbar(argument0, argument1, argument2, argument3, argument4, a
}
if (sb_drag = i) ind = 2

draw_sprite_ext(spr_scrollbar_h_bar_fill,(theme * 3) + ind + (fdark && theme = 3) * 3, xx + 20 + bpos, yy, floor(bwh) - 4 - 4 * (theme = 3), 1, 0, -1, draw_get_alpha())
draw_sprite_ext(spr_scrollbar_h_bar_fill,(theme * 3) + ind + (fdark && theme = 3) * 3, xx + 20 + bpos, yy, floor(bwh) - 4 - 4 * (theme = 3), 1, 0, col, draw_get_alpha())
if (theme != 3) {
draw_sprite(spr_scrollbar_h_bar_left, (theme * 3) + ind, xx + 17 + bpos, yy)
} else {
draw_sprite(spr_scrollbar_h_bar_left, (theme * 3) + ind + fdark * 3, xx + 17 + bpos - 1, yy)
draw_sprite_ext(spr_scrollbar_h_bar_left, (theme * 3) + ind + fdark * 3, xx + 17 + bpos - 1, yy, 1, 1, 0, col, 1)
}
draw_sprite(spr_scrollbar_h_bar_right, (theme * 3) + ind + (fdark && theme = 3) * 3, xx + 17 + bpos + ceil(bwh - 2) - 4, yy)
draw_sprite_ext(spr_scrollbar_h_bar_right, (theme * 3) + ind + (fdark && theme = 3) * 3, xx + 17 + bpos + ceil(bwh - 2) - 4, yy, 1, 1, 0, col, 1)
if (bwh > 20) draw_sprite(spr_scrollbar_h_bar_handle, (theme * 3) + ind, xx + 17 + floor(bpos + bwh / 2 - 8), yy)

}
Expand Down Expand Up @@ -171,7 +172,8 @@ function draw_scrollbar(argument0, argument1, argument2, argument3, argument4, a
sb_val[i] = median(0, sb_val[i], ms - s)
bpos = floor(bpos)
// Background
draw_sprite_ext(spr_scrollbar_v_background, theme + (fdark && theme = 3), xx, yy, 1, mwh + 32, 0, -1, draw_get_alpha())
var col = fdark ? accent[8] : accent[7]
draw_sprite_ext(spr_scrollbar_v_background, theme + (fdark && theme = 3), xx, yy, 1, mwh + 32, 0, col, draw_get_alpha())
// Bar
if (!locked) {
ind = 0
Expand All @@ -186,13 +188,13 @@ function draw_scrollbar(argument0, argument1, argument2, argument3, argument4, a
}
if (sb_drag = i) ind = 2

draw_sprite_ext(spr_scrollbar_v_bar_fill,(theme * 3) + ind + (fdark && theme = 3) * 3, xx, yy + 20 + bpos, 1, floor(bwh) - 6, 0, -1, draw_get_alpha())
draw_sprite_ext(spr_scrollbar_v_bar_fill,(theme * 3) + ind + (fdark && theme = 3) * 3, xx, yy + 20 + bpos, 1, floor(bwh) - 6, 0, col, draw_get_alpha())
if (theme != 3) {
draw_sprite(spr_scrollbar_v_bar_up, (theme * 3) + ind, xx, yy + 17 + bpos)
} else {
draw_sprite(spr_scrollbar_v_bar_up, (theme * 3) + ind + fdark * 3, xx, yy + 17 + bpos - 1)
draw_sprite_ext(spr_scrollbar_v_bar_up, (theme * 3) + ind + fdark * 3, xx, yy + 17 + bpos - 1, 1, 1, 0, col, 1)
}
draw_sprite(spr_scrollbar_v_bar_down, (theme * 3) + ind + (fdark && theme = 3) * 3, xx, yy + 17 + bpos + ceil(bwh - 6))
draw_sprite_ext(spr_scrollbar_v_bar_down, (theme * 3) + ind + (fdark && theme = 3) * 3, xx, yy + 17 + bpos + ceil(bwh - 6), 1, 1, 0, col, 1)
if (bwh > 20) draw_sprite(spr_scrollbar_v_bar_handle, (theme * 3) + ind, xx, yy + 17 + bpos + floor(bwh / 2) - 8)

}
Expand Down
41 changes: 41 additions & 0 deletions scripts/draw_window/draw_window.gml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,39 @@ function draw_window() {
if (argument_count > 4) {
sml = argument[4]
}

/* Test colors
var xx = x1
var yy = y1 - 100
draw_set_color(accent[0])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[1])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[2])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[3])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[4])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[5])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[6])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[7])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
draw_set_color(accent[8])
draw_rectangle(xx, yy, xx + 15, yy + 15, false)
xx += 20
*/

draw_set_color(15790320)
if (theme = 1) draw_set_color(13160660)
if (theme = 2) draw_set_color(c_dark)
Expand All @@ -25,9 +58,17 @@ function draw_window() {
draw_sprite(spr_shadow, 6 + 8, x2, y1 - 16)
draw_sprite_ext(spr_shadow, 7 + 8, x1, y1 - 16, x2 - x1, 1, 0, -1, draw_get_alpha())
}

if (fdark) draw_set_color(accent[8])
else draw_set_color(accent[7])
draw_roundrect(x1, y1, x2 - 1, y2 - 1, 0)

draw_set_color(15987699)
if (fdark) draw_set_color(2105376)
draw_set_alpha(0.6)
draw_roundrect(x1, y1, x2 - 1, y2 - 1, 0)
draw_set_alpha(1)

//draw_set_color(7368816)
draw_set_color(4144959)
draw_roundrect(x1, y1, x2 - 1, y2 - 1, 1)
Expand Down
25 changes: 18 additions & 7 deletions scripts/draw_window_preferences/draw_window_preferences.gml
Original file line number Diff line number Diff line change
Expand Up @@ -322,20 +322,31 @@ function draw_window_preferences() {
if (theme = 3) draw_theme_font(font_main)
draw_area(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 5, x1 + 140, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 5)
if (draw_abutton(x1 + 140 - 17, y1 + 74 + 17 + (theme = 3) * 22 + 5) && wmenu = 0) {
if (language != 1) menu = show_menu_ext("theme", x1 + 40, y1 + 74 + 16 + 21 + (theme = 3) * 22 + 5, check(theme = 0) + "Aqua|" + check(theme = 2) + "Dark|" + check(theme = 1) + "90s|" + check(theme = 3) + "Fluent")
else menu = show_menu_ext("theme", x1 + 40, y1 + 74 + 16 + 21 + (theme = 3) * 22 + 5, check(theme = 0) + "经典|" + check(theme = 2) + "暗黑|" + check(theme = 1) + "复古|" + check(theme = 3) + "Fluent")
if (language != 1) menu = show_menu_ext("theme", x1 + 40, y1 + 74 + 16 + 21 + (theme = 3) * 22 + 5, check(true) + "Rainbow") //|" + check(theme = 2) + "Dark|" + check(theme = 1) + "90s|" + check(theme = 3) + "Fluent")
else menu = show_menu_ext("theme", x1 + 40, y1 + 74 + 16 + 21 + (theme = 3) * 22 + 5, check(true) + "炫彩模式") //+ check(theme = 2) + "暗黑|" + check(theme = 1) + "复古|" + check(theme = 3) + "Fluent")
}
if (language != 1) draw_text_dynamic(x1 + 43, y1 + 74 + 19 + (theme = 3) * 22 + 5, condstr(theme = 0, "Aqua") + condstr(theme = 2, "Dark") + condstr(theme = 1, "90s") + condstr(theme = 3, "Fluent"))
else draw_text_dynamic(x1 + 43, y1 + 74 + 19 + (theme = 3) * 22 + 5, condstr(theme = 0, "经典") + condstr(theme = 2, "暗黑") + condstr(theme = 1, "复古") + condstr(theme = 3, "Fluent"))
if (language != 1) draw_text_dynamic(x1 + 43, y1 + 74 + 19 + (theme = 3) * 22 + 5, condstr(true, "Rainbow"))// + condstr(theme = 2, "Dark") + condstr(theme = 1, "90s") + condstr(theme = 3, "Fluent"))
else draw_text_dynamic(x1 + 43, y1 + 74 + 19 + (theme = 3) * 22 + 5, condstr(true, "炫彩模式"))// + condstr(theme = 2, "暗黑") + condstr(theme = 1, "复古") + condstr(theme = 3, "Fluent"))
//if (draw_radiobox(x1 + 40, y1 + (theme = 3) * 22 + 164 + 16, theme == 0, "Aqua", "Use the aqua theme.")) {theme = 0 change_theme()}
//if (draw_radiobox(x1 + 40, y1 + (theme = 3) * 22 + 164 + 16 + 20, theme == 2, "Dark", "Use the dark theme.")) {theme = 2 change_theme()}
//if (draw_radiobox(x1 + 40, y1 + (theme = 3) * 22 + 164 + 16 + 20 + 20, theme == 1, "90s", "Use the 90s theme.")) {theme = 1 change_theme()}
//if (draw_radiobox(x1 + 40, y1 + (theme = 3) * 22 + 164 + 16 + 20 + 20 + 20, theme == 3, "Fluent", "Use the fluent theme.")) {theme = 3 change_theme()}
if (language != 1) {
if (!isplayer) if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 20 + 20 + 25, blackout, "Blackout mode", "Makes the workspace background solid black, so you can\nremove in your video editor when recording the screen.", false, true)) blackout = !blackout
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 25, windowsound, "Navigation sound", "Whether to play sound effects when navigating the interface.\n(Only applies to the Fluent theme.)", (theme != 3), true)) windowsound = !windowsound
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 25, fdark, "Dark mode", "Whether to use darker colors on the interface.\n(Only applies to the Fluent theme.)", (theme != 3), true)) {fdark = !fdark if (fdark) window_set_darkmode() else window_unset_darkmode()}
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 20 + 25, acrylic, "Transparency effects", "Whether to show transparency effects on the interface.\n(Only applies to the Fluent theme.)", (theme != 3), true)) {acrylic = !acrylic change_theme()}

if (blackout == 1) {
blackout_timer += 1
}
if (blackout_timer > irandom_range(10, 20)) {
blackout = 0
blackout_timer = 0
play_sound(soundinvoke, 45, 100, 50, 0)
}


if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 25, windowsound, "Navigation sound", "Whether to play sound effects when navigating the interface.\n(Only applies to the Rainbow theme.)", (theme != 3), true)) windowsound = !windowsound
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 25, fdark, "Dark mode", "Whether to use darker colors on the interface.\n(Only applies to the Rainbow theme.)", (theme != 3), true)) {fdark = !fdark if (fdark) window_set_darkmode() else window_unset_darkmode()}
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 20 + 25, acrylic, "Transparency effects", "Whether to show transparency effects on the interface.\n(Only applies to the Rainbow theme.)", (theme != 3), true)) {acrylic = !acrylic change_theme()}
} else {
if (!isplayer) if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 20 + 20 + 25, blackout, "全黑模式", "使背景变为纯黑色,可以用于剪辑时扣掉。", false, true)) blackout = !blackout
if (draw_checkbox(x1 + 40, y1 + (theme = 3) * 22 + 74 + 16 + 20 + 20 + 25, windowsound, "界面音效", "是否在浏览时播放音效。\n(仅限 Fluent 主题)", (theme != 3), true)) windowsound = !windowsound
Expand Down
Loading

0 comments on commit 4c9d745

Please sign in to comment.