diff --git a/CMakeLists.txt b/CMakeLists.txt index ed2cc7c75..718a1e274 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -363,10 +363,15 @@ endif () if (MSVC) # Turn off ugly warnings add_compile_definitions ("_CRT_SECURE_NO_WARNINGS") - set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL") - # These options override sub-projects linking to incorrect standard libraries. + # Use NODEFAULTLIB to override sub-projects linking to incorrect standard libraries. # https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-6.0/aa267384(v=vs.60)?redirectedfrom=MSDN - add_link_options ("/NODEFAULTLIB:libcmt.lib" "/NODEFAULTLIB:libcmtd.lib" "/NODEFAULTLIB:msvcrtd.lib") + if (PARASOL_VLOG) + set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDebugDLL") + add_link_options ("/NODEFAULTLIB:libc.lib" "/NODEFAULTLIB:libcmt.lib" "/NODEFAULTLIB:libc.lib" "/NODEFAULTLIB:libcmtd.lib" "/NODEFAULTLIB:msvcrt.lib") + else () + set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL") + add_link_options ("/NODEFAULTLIB:libcmt.lib" "/NODEFAULTLIB:libcmtd.lib" "/NODEFAULTLIB:msvcrtd.lib") + endif () # add_link_options ("/VERBOSE:LIB") if (ENABLE_ANALYSIS) # Note that this option is not compatible with /ZI (edit-and-continue). To rectify complaints about the asan DLL, you may also need a line like this one added to each entry in launch.vs.json: @@ -583,8 +588,8 @@ if (PARASOL_INSTALL) if (NOT PARASOL_STATIC) install (CODE "file(REMOVE \"${PARASOL_ROOT}/config/classes.bin\")") - install (CODE "MESSAGE(STATUS \"${PARASOL_CMD_TARGET} --log-warning --verify\")") - install (CODE "execute_process(COMMAND \"${PARASOL_CMD_TARGET}\" --log-warning --verify WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}\")") + install (CODE "MESSAGE(STATUS \"${PARASOL_CMD_TARGET} --log-warning --gfx-driver=headless --verify\")") + install (CODE "execute_process(COMMAND \"${PARASOL_CMD_TARGET}\" --log-warning --gfx-driver=headless --verify WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}\")") endif () if (RUN_ANYWHERE) diff --git a/data/styles/default/scrollbar.fluid b/data/styles/default/scrollbar.fluid index 2a8445f53..58e459fb6 100644 --- a/data/styles/default/scrollbar.fluid +++ b/data/styles/default/scrollbar.fluid @@ -32,7 +32,7 @@ return { State.slider.bkRect = Viewport.new('VectorRectangle', { width = '100%', height = '100%', - stroke = 'rgb(148,149,160,255)', + stroke = 'rgba(148,149,160,1)', strokeWidth = 1, fill = 'url(#' .. gradient .. ')' }) @@ -40,7 +40,7 @@ return { State.slider.border = Viewport.new('VectorRectangle', { x = 1, y = 1, width = Viewport.width-2, height = Viewport.height-2, - stroke = 'rgb(255,255,255,150)' + stroke = 'rgba(255,255,255,.58)' }) State.slider.decoration = Viewport.new('VectorViewport', { @@ -52,13 +52,13 @@ return { local decA = dec.new('VectorPolygon', { strokeWidth = 1, - stroke = 'rgb(0,0,0,70)', + stroke = 'rgba(0,0,0,.25)', dashArray = '3,6' }) local decB = dec.new('VectorPolygon', { strokeWidth = 1, - stroke = 'rgb(255,255,255,70)', + stroke = 'rgba(255,255,255,.25)', dashArray = '3,6' }) @@ -116,7 +116,7 @@ return { }) State.negButton.arrow = Viewport.new('VectorPath', { -- Arrow - fill = 'rgb(0,0,0,128)', + fill = 'rgba(0,0,0,.5)', sequence = 'M 37.8516,35.625L 34.6849,38.7917L 23.6016,50.2708L 23.6016,39.9792L 37.8516,24.9375L 52.1016,39.9792L 52.1016,50.2708L 41.0182,38.7917L 37.8516,35.625 Z' }) @@ -147,7 +147,7 @@ return { }) State.posButton.arrow = Viewport.new('VectorPath', { - fill = 'rgb(0,0,0,128)', + fill = 'rgba(0,0,0,.5)', sequence = 'M 37.8516,35.625L 34.6849,38.7917L 23.6016,50.2708L 23.6016,39.9792L 37.8516,24.9375L 52.1016,39.9792L 52.1016,50.2708L 41.0182,38.7917L 37.8516,35.625 Z' }) @@ -160,17 +160,17 @@ return { end, negButtonPress = function(State, Value) if (Value == 1) then - State.negButton.arrow.fill = 'rgb(255,255,255,160)' + State.negButton.arrow.fill = 'rgba(255,255,255,.63)' else - State.negButton.arrow.fill = 'rgb(0,0,0,128)' + State.negButton.arrow.fill = 'rgba(0,0,0,.5)' end State.negButton.viewport.acDraw() end, posButtonPress = function(State, Value) if (Value == 1) then - State.posButton.arrow.fill = 'rgb(255,255,255,160)' + State.posButton.arrow.fill = 'rgba(255,255,255,.63)' else - State.posButton.arrow.fill = 'rgb(0,0,0,128)' + State.posButton.arrow.fill = 'rgba(0,0,0,.5)' end State.posButton.viewport.acDraw() end diff --git a/docs/html/modules/classes/audio.html b/docs/html/modules/classes/audio.html index a85d108c2..3053fde50 100644 --- a/docs/html/modules/classes/audio.html +++ b/docs/html/modules/classes/audio.html @@ -111,7 +111,7 @@

Error Codes

The new mixer value is set in the Volume field.

Optional flags may be set as follows:

NameDescription
SVF::CAPTURESet input, not output.
SVF::MUTEMute the audio for this channel.
SVF::UNMUTEUnmute the audio for this channel.
-

Error Codes

OkayThe new volume was applied successfully.
ArgsInvalid arguments passed to function.
OutOfRangeThe Volume or Index is out of the acceptable range.
NullArgsFunction call missing argument value(s)