Dark menustrip renderer
Author: m | 2025-04-25
Change colors used for rendering a MenuStrip. 0. Menustrip (with code) 1. Recoloring MenuStrip. 0. Change colors used for rendering a MenuStrip. 0. Menustrip (with code) 1. Recoloring MenuStrip. 0. C MenuStrip use ToolStripProfessionalRenderer and
Custom Rendering for the ToolStrip, MenuStrip, and
Have you stared at your GUI and thought to yourself, I want it painted black?I have good news! No colors anymore! Now you can paint it black (and white), with new themes for your PowerShell GUIs.This feature is included with PowerShell Studio v5.6.164 or greater.New Form TemplateIf you creating a new form, you can select the new Dark and Light Themed Form template:The new template comes with a MenuStrip that contains a theme dropdown:Paint it BlackSelect the Dark theme option, and it will paint your form black:Paint it WhiteSelect the Light theme option, and it will paint your form white:Note: The designer will not reflect the themed colors. The themes are applied at runtime when the Set-ControlTheme function is invoked (see below).New Control SetHave an existing form? You can use the new Form – Dark and Light Theme control set to add a theme menu strip to your existing form:New SnippetIf you just want to use the underlying function, select the Set-ControlTheme snippet.This snippet contains the Set-ControlTheme function.The Set-ControlTheme FunctionAll the magic happens within the Set-ControlTheme function. The function has three parameters:Parameters:ControlThe Control parameter accepts a GUI control, typically the form itself. The function will then apply the theme to the control, and any child controls contained within.ThemeThe Theme parameter determines the theme to apply to the specified control. The two theme choices are:DarkLightCustomColorThe CustomColor parameter allows you to specify a HashTable that contains user-defined colors for the theme. This parameter overrides the selected theme’s default coloring.Keys to override theme Change colors used for rendering a MenuStrip. 0. Menustrip (with code) 1. Recoloring MenuStrip. 0. Change colors used for rendering a MenuStrip. 0. Menustrip (with code) 1. Recoloring MenuStrip. 0. C MenuStrip use ToolStripProfessionalRenderer and Format. This data can be transformed into a format acceptable for displaying in a FeatureLayer.Use dark colors for code blocksCopy{ "places": [ { "id": 1, "address": "200 N Spring St, Los Angeles, CA 90012", "longitude": -118.24354, "latitude": 34.05389 }, { "id": 2, "address": "419 N Fairfax Ave, Los Angeles, CA 90036", "longitude": -118.31966, "latitude": 34.13375 } ]}The first step to create a feature layer from the above JSON data is to transform each place into a Graphic object with the attributes and geometry properties.PropertyTypeDescriptionattributesObjectKey-value pairs used to store geographical information about the featuregeometryGeometryProvides the location for a feature relative to a coordinate system. Possible values are Point, Polygon, and Polyline objectsThe following code sample transforms the array of places into an array of Graphic objects.Use dark colors for code blocksCopyconst graphics = places.map((place) => { return new Graphic({ attributes: { ObjectId: place.id, address: place.address }, geometry: { type: "point", longitude: place.longitude, latitude: place.latitude }, symbol: { // autocasts as new SimpleMarkerSymbol() type: "simple-marker", color: [226, 119, 40], outline: { // autocasts as new SimpleLineSymbol() color: [255, 255, 255], width: 2 } } });});The second step in creating a FeatureLayer is to actually create a FeatureLayer object, and specify at least the objectIdField, fields, renderer, and source properties described in the following table.PropertyTypeDescriptionsourceCollection>The collection of Graphic objects used to create the feature layerrendererRendererThe renderer used to display a symbol at the feature's locationobjectIdFieldStringThe name of the field identifying the featurefieldsObject[]An array of JavaScript objects with field names and valuespopupTemplatePopupTemplateThe popup template for the featureThe following code sample creates a new FeatureLayer and explicitly sets the source property to graphics. Autocasting is used to set the renderer, popup, and fields properties.Use dark colors for code blocksCopyconst featureLayer = new FeatureLayer({ source: graphics, renderer: { type: "simple", // autocasts as new SimpleRenderer() symbol: { // autocasts as new SimpleMarkerSymbol() type: "simple-marker", color: "#102A44", outline: { // autocasts as new SimpleLineSymbol() color: "#598DD8", width: 2 } } }, popupTemplate: { // autocasts as new PopupTemplate() title: "Places in Los Angeles", content: [{ type: "fields", fieldInfos: [ { fieldName: "address", label: "Address", visible: true } ] }] }, objectIdField: "ObjectID", // This must be defined when creating a layer from `Graphic` objects fields: [ { name: "ObjectID", alias: "ObjectID", type: "oid" }, { name: "address", alias: "address", type: "string" } ]});map.layers.add(featureLayer);Server-side data sourcesFeatureLayer also supports collections of features returned from a a REST API serviceComments
Have you stared at your GUI and thought to yourself, I want it painted black?I have good news! No colors anymore! Now you can paint it black (and white), with new themes for your PowerShell GUIs.This feature is included with PowerShell Studio v5.6.164 or greater.New Form TemplateIf you creating a new form, you can select the new Dark and Light Themed Form template:The new template comes with a MenuStrip that contains a theme dropdown:Paint it BlackSelect the Dark theme option, and it will paint your form black:Paint it WhiteSelect the Light theme option, and it will paint your form white:Note: The designer will not reflect the themed colors. The themes are applied at runtime when the Set-ControlTheme function is invoked (see below).New Control SetHave an existing form? You can use the new Form – Dark and Light Theme control set to add a theme menu strip to your existing form:New SnippetIf you just want to use the underlying function, select the Set-ControlTheme snippet.This snippet contains the Set-ControlTheme function.The Set-ControlTheme FunctionAll the magic happens within the Set-ControlTheme function. The function has three parameters:Parameters:ControlThe Control parameter accepts a GUI control, typically the form itself. The function will then apply the theme to the control, and any child controls contained within.ThemeThe Theme parameter determines the theme to apply to the specified control. The two theme choices are:DarkLightCustomColorThe CustomColor parameter allows you to specify a HashTable that contains user-defined colors for the theme. This parameter overrides the selected theme’s default coloring.Keys to override theme
2025-03-29Format. This data can be transformed into a format acceptable for displaying in a FeatureLayer.Use dark colors for code blocksCopy{ "places": [ { "id": 1, "address": "200 N Spring St, Los Angeles, CA 90012", "longitude": -118.24354, "latitude": 34.05389 }, { "id": 2, "address": "419 N Fairfax Ave, Los Angeles, CA 90036", "longitude": -118.31966, "latitude": 34.13375 } ]}The first step to create a feature layer from the above JSON data is to transform each place into a Graphic object with the attributes and geometry properties.PropertyTypeDescriptionattributesObjectKey-value pairs used to store geographical information about the featuregeometryGeometryProvides the location for a feature relative to a coordinate system. Possible values are Point, Polygon, and Polyline objectsThe following code sample transforms the array of places into an array of Graphic objects.Use dark colors for code blocksCopyconst graphics = places.map((place) => { return new Graphic({ attributes: { ObjectId: place.id, address: place.address }, geometry: { type: "point", longitude: place.longitude, latitude: place.latitude }, symbol: { // autocasts as new SimpleMarkerSymbol() type: "simple-marker", color: [226, 119, 40], outline: { // autocasts as new SimpleLineSymbol() color: [255, 255, 255], width: 2 } } });});The second step in creating a FeatureLayer is to actually create a FeatureLayer object, and specify at least the objectIdField, fields, renderer, and source properties described in the following table.PropertyTypeDescriptionsourceCollection>The collection of Graphic objects used to create the feature layerrendererRendererThe renderer used to display a symbol at the feature's locationobjectIdFieldStringThe name of the field identifying the featurefieldsObject[]An array of JavaScript objects with field names and valuespopupTemplatePopupTemplateThe popup template for the featureThe following code sample creates a new FeatureLayer and explicitly sets the source property to graphics. Autocasting is used to set the renderer, popup, and fields properties.Use dark colors for code blocksCopyconst featureLayer = new FeatureLayer({ source: graphics, renderer: { type: "simple", // autocasts as new SimpleRenderer() symbol: { // autocasts as new SimpleMarkerSymbol() type: "simple-marker", color: "#102A44", outline: { // autocasts as new SimpleLineSymbol() color: "#598DD8", width: 2 } } }, popupTemplate: { // autocasts as new PopupTemplate() title: "Places in Los Angeles", content: [{ type: "fields", fieldInfos: [ { fieldName: "address", label: "Address", visible: true } ] }] }, objectIdField: "ObjectID", // This must be defined when creating a layer from `Graphic` objects fields: [ { name: "ObjectID", alias: "ObjectID", type: "oid" }, { name: "address", alias: "address", type: "string" } ]});map.layers.add(featureLayer);Server-side data sourcesFeatureLayer also supports collections of features returned from a a REST API service
2025-04-25(v1) 2.2.0+d6f2b0844ffabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.25+58f8c0124ffabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.41+78d798af4ffabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.39+df3654b34ffabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.0+a67ffb5d4ffabric-loot-api-v2: Fabric Loot API (v2) 2.1.8+78d798af4ffabric-message-api-v1: Fabric Message API (v1) 6.0.5+78d798af4ffabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.64+78d798af4ffabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.8+78d798af4ffabric-models-v0: Fabric Models (v0) 0.4.7+9386d8a74ffabric-networking-api-v1: Fabric Networking API (v1) 3.1.7+2e5ac5484ffabric-object-builder-api-v1: Fabric Object Builder API (v1) 13.0.13+080016e44ffabric-particles-v1: Fabric Particles (v1) 1.1.7+78d798af4ffabric-recipe-api-v1: Fabric Recipe API (v1) 2.0.20+78d798af4ffabric-registry-sync-v0: Fabric Registry Sync (v0) 4.0.19+58f8c0124ffabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.4+78d798af4ffabric-renderer-indigo: Fabric Renderer - Indigo 1.5.4+78d798af4ffabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.53+df3654b34ffabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.42+73761d2e4ffabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.1+e761c6694ffabric-rendering-v0: Fabric Rendering (v0) 1.1.56+df3654b34ffabric-rendering-v1: Fabric Rendering (v1) 3.2.0+6fd945a04ffabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.14+78d798af4ffabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.19+58f8c0124ffabric-screen-api-v1: Fabric Screen API (v1) 2.0.17+78d798af4ffabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.55+78d798af4ffabric-sound-api-v1: Fabric Sound API (v1) 1.0.17+78d798af4ffabric-transfer-api-v1: Fabric Transfer API (v1) 4.0.11+e84342304ffabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 5.0.14+78d798af4ffabricloader: Fabric Loader 0.15.7mixinextras: MixinExtras 0.3.5fastminecart: Fast Minecart 1.0.0ferritecore: FerriteCore 6.0.3giantspawn: Giant Spawn 5.0glowing-torchflower: Glowing Torchflower 1.0.0immediatelyfast: ImmediatelyFast 1.2.10+1.20.4net_lenni0451_reflect: Reflect 1.3.2infinite-music: Infinite Music 0.3.1java: OpenJDK 64-Bit Server VM 17keepthatmusic: Keep That Music 0.0.5krypton: Krypton 0.2.6com_velocitypowered_velocity-native: velocity-native 3.2.0-SNAPSHOTksyxis: Ksyxis 1.2.2lazydfu: LazyDFU 0.1.3legacy: Legacy4J 1.4.3blinkart: Linkart 5.4.1-1.20.2dark-matter-base: Dark Matter Base 3.0.0-1.19.2lithium: Lithium 0.12.1minecart-turning: Minecart Turning 1.0.0+1.20-1.20.4minecraft: Minecraft 1.20.4modmenu: Mod Menu 9.0.0mr_hybrid_beta: Cascades (Hybrid Beta) 1.0.2mr_mvp: More Vanilla Paintings 1.0naturallychargedcreepers: Naturally Charged Creepers 3.4seamless: Seamless 2.2.2skeletonhorsespawn: Skeleton Horse Spawn 3.8taxfreelevels: Tax Free Levels 1.3.9telepistons: Telepistons 1.1.3yet_another_config_lib_v3: YetAnotherConfigLib 3.3.2+1.20.4com_twelvemonkeys_common_common-image: common-image 3.10.0com_twelvemonkeys_common_common-io: common-io 3.10.0com_twelvemonkeys_common_common-lang: common-lang 3.10.0com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0org_quiltmc_parsers_gson: gson 0.2.1org_quiltmc_parsers_json: json 0.2.1zombiehorsespawn: Zombie Horse Spawn 4.8Launched Version: fabric-loader-0.15.7-1.20.4Launcher name: minecraft-launcherBackend library: LWJGL version 3.3.2-snapshotBackend API: AMD Radeon (TM) RX 580 GL version 3.2.14761 Core Profile Forward-Compatible Context 21.30.23.04 30.0.13023.4001, ATI Technologies Inc.Window size: 1280x720GL Caps: Using framebuffer using OpenGL 3.2GL debug messages:Using VBOs: YesIs Modded: Definitely; Client brand changed to 'fabric'Universe: 400921fb54442d18Type: Client (map_client.txt)Graphics mode: fancyRender Distance: 8/8 chunksResource Packs: vanilla, fabric, blocky-bubbles, custom-fog, dark-matter-base, disable_custom_worlds_advice, dynamic_fps, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, glowing-torchflower, immediatelyfast, infinite-music, keepthatmusic, krypton, lazydfu, legacy, linkart, lithium, minecart-turning, modmenu, seamless, taxfreelevels, telepistons, yet_another_config_lib_v3, file/ClassicCraft (incompatible), seamless:default_seamless_resourcepacks/default_seamless, telepistons:bellows_pistons_resourcepacks/bellows_pistons (incompatible)Current Language: en_usLocale: en_USCPU: 6x Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
2025-04-09What's new in this version: Updates:- Updated LAV Filters to 0.74.1-92-g88da5Changes/additions/improvements:- Added video preview functionality to the seekbar- You can enable this in: Options > TweaksFor performance reasons, preview is only shown in case of local file playback. It is - disabled for online streams and spinning discs.- Preview is currently also only enabled for files that have keyframes for fast seeking.To avoid interference with the main video playback, preview does not use hardware - accelerated decoding.Don't enable preview if you have a slow computer that already struggles with normal video - playback.- Added menu entries and hotkeys for toggling shaders on/off- Added support for CUE sheets- Increased default value for number of recent files that is remembered from 20 to 40- Reduced minimum allow playback rate from 0.125x to 0.05x- Some seeking improvements. Unprocessed seeks can no longer queue up when seeking is slow.The internal audio renderer can now fallback to default audio device if it fails to - initialize the output device that is selected in the optionsFixed:- Fixed some issues with parsing M3U playlists- Fixed issue with opening online .asx playlist- Fixed GDI resource leak in dark theme- Fixed hang with MPC Video Renderer if max subpic texture size was set to VIDEO- Fixed automatic metadata based rotation with MPC Video Renderer- Several crash fixes- Several other small fixes and improvements
2025-04-13By Lal-O » Wed Jun 07, 2017 6:18 am Hi !!! Sun Layer is not working when rendering with GPU. The preview gets full black and If you move the slider ( left or right ) Nothing happens. OnoSendai Posts: 6243 Joined: Sat May 20, 2006 6:16 pm Location: Wellington, NZ Contact: Re: Indigo Renderer 4.0.54 Beta Release Post by OnoSendai » Wed Jun 07, 2017 7:09 am Lal-O wrote:Hi !!! Sun Layer is not working when rendering with GPU. The preview gets full black and If you move the slider ( left or right ) Nothing happens.Yeah the sun layer is wrong on GPU, already fixed for next release Lal-O Posts: 348 Joined: Wed Sep 23, 2015 7:09 am Location: México 3D Software: SketchUp Contact: Re: Indigo Renderer 4.0.54 Beta Release Post by Lal-O » Thu Jun 08, 2017 7:54 am OnoSendai wrote:Lal-O wrote:Hi !!! Sun Layer is not working when rendering with GPU. The preview gets full black and If you move the slider ( left or right ) Nothing happens.Yeah the sun layer is wrong on GPU, already fixed for next release :)Great news!!! Another thing, i' ve also noticed that the satin glass (from the Skindigo plugin materials ) is not working as it should in GPU mode... It turns into a dark /mate material. It looks really weird. :p Camonra Posts: 1 Joined: Tue May 23, 2017 3:06 am Re: Indigo Renderer 4.0.54 Beta Release Post by Camonra » Wed Jun 14, 2017 5:30 am With the Zotac GTX 1080, I'm getting no readout for Samples and all-black render output. The Firestorm GPU utilization is less than 6% and the GPU Memory Utilization is under 20%. OnoSendai Posts: 6243 Joined: Sat May 20, 2006 6:16 pm Location: Wellington, NZ Contact: Re: Indigo Renderer 4.0.54 Beta Release Post by OnoSendai » Thu Jun 15, 2017 3:34 am Camonra wrote:With the Zotac GTX 1080, I'm getting no readout for Samples and all-black render output. The Firestorm GPU utilization is less than 6% and the GPU Memory Utilization is under 20%.Have a look at the render log (under
2025-03-27HX03-19 22:12:01 Loaded configuration for renderer: Sony Bravia W6/W8/W903-19 22:12:01 Loaded configuration for renderer: D-Link DSM-51003-19 22:12:01 Loaded configuration for renderer: DirecTV HR03-19 22:12:01 Loaded configuration for renderer: Freebox HD03-19 22:12:01 Loaded configuration for renderer: Freecom MusicPal03-19 22:12:02 Loaded configuration for renderer: Pioneer Kuro03-19 22:12:02 Loaded configuration for renderer: LG 42LA644V03-19 22:12:02 Loaded configuration for renderer: LG Smart TV Upgrader03-19 22:12:02 Loaded configuration for renderer: Nokia N90003-19 22:12:02 Loaded configuration for renderer: Netgear NeoTV03-19 22:12:02 Loaded configuration for renderer: OPPO BDP-8303-19 22:12:02 Loaded configuration for renderer: OPPO BDP-9303-19 22:12:02 Loaded configuration for renderer: Onkyo TX-NR71703-19 22:12:02 Loaded configuration for renderer: PlayStation 303-19 22:12:02 Loaded configuration for renderer: Panasonic TV03-19 22:12:02 Loaded configuration for renderer: Panasonic TX-L32V10E03-19 22:12:02 Loaded configuration for renderer: Philips Aurea03-19 22:12:02 Loaded configuration for renderer: Philips TV03-19 22:12:02 Loaded configuration for renderer: Popcorn Hour03-19 22:12:02 Loaded configuration for renderer: Realtek03-19 22:12:02 Loaded configuration for renderer: Sony SMP-N10003-19 22:12:02 Loaded configuration for renderer: Samsung SMT-G740003-19 22:12:02 Loaded configuration for renderer: Samsung D700003-19 22:12:02 Loaded configuration for renderer: Samsung AllShare03-19 22:12:02 Loaded configuration for renderer: Samsung Mobile03-19 22:12:02 Loaded configuration for renderer: Samsung WiseLink03-19 22:12:02 Loaded configuration for renderer: Sharp Aquos03-19 22:12:02 Loaded configuration for renderer: Showtime 303-19 22:12:02 Loaded configuration for renderer: Showtime 403-19 22:12:02 Loaded configuration for renderer: Sony Blu-ray03-19 22:12:02 Loaded configuration for renderer: Sony Home Theatre System03-19 22:12:02 Loaded configuration for renderer: Sony STR-DA5800ES03-19 22:12:02 Loaded configuration for renderer: Streamium03-19 22:12:02 Loaded configuration for renderer: Telstra T-Box03-19 22:12:02 Loaded configuration for renderer: VideoWeb TV03-19 22:12:02 Loaded configuration for renderer: Vizio Smart TV03-19 22:12:02 Loaded configuration for renderer: WD TV Live03-19 22:12:02 Loaded configuration for renderer: WMP03-19 22:12:02 Loaded configuration for renderer: XBMC03-19 22:12:02 Loaded configuration for renderer: Xbox 36003-19 22:12:02 Loaded configuration for renderer: Yamaha RX-A101003-19 22:12:02 Loaded configuration for renderer: Yamaha RX-V390003-19 22:12:02 Loaded configuration for renderer: Yamaha RX-V67103-19 22:12:02 Loaded configuration for renderer: iPad / iPhone03-19 22:12:02 Checking the fontconfig cache, this can take two minutes or so.03-19 22:12:02 Searching for plugins in /Applications/Universal Media Server.app/Contents/Resources/Java/plugins03-19 22:12:02 No plugins found03-19 22:12:02 Registering transcoding engine: FFmpeg Audio03-19 22:12:02 Registering transcoding engine: MEncoder03-19 22:12:02 Registering
2025-03-27