Enterprise LCD, Global.cfg - Colors & Text Size

If you have questions or comments concerning any non-support related 3Dconnexion topic, please use this forum.

Moderator: Moderators

Post Reply
Vix
Posts: 1
Joined: Thu Jun 13, 2024 4:29 pm

Enterprise LCD, Global.cfg - Colors & Text Size

Post by Vix »

Howdy howdy!
I wanted to make a global dark theme for my SpaceMouse Enterprise's LCD screen and this is coming along quite nicely.
Although, I've hit a bit of a snag. If I supplement the <Settings> block with <TextSize>Large</TextSize> then my colors end up being mangled.

Example without TextSize large:
Image

Example with TextSize large:
Image

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!--
(c) Copyright 3Dconnexion. All rights reserved. 
$Revision: 20533 $
-->
<Global xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Default="false" CfgFormatVersion="1.3" ThisFileVersion="1.35">
  <CfgProperties>
    <ID>ID_Global_Cfg</ID>
    <InheritsFromID>ID_Global_Cfg</InheritsFromID>
    <Name>STR_GLOBALCFG</Name>
  </CfgProperties>
  <AuthorInfo>
    <DriverVersion>17.8.20.20889</DriverVersion>
    <LastChange>
      <Tool>3DxSmartUI.exe</Tool>
      <Version>1.2.24106.20869</Version>
      <Date>6/13/2024 11:21:15 PM UTC</Date>
      <User>vix</User>
    </LastChange>
  </AuthorInfo>
  <Devices>
    <Device>
      <ID>ID_ProductID_C633</ID>
      <Settings>
        <LCDIntensity>100</LCDIntensity>
        <BackColor>#000000</BackColor>
        <ForeColor>#B4D455</ForeColor>
        <ButtonBackColor>#1c1c1c</ButtonBackColor>
        <ButtonForeColor>#B4D455</ButtonForeColor>
        <ButtonPressBackColor>#ff248dcf</ButtonPressBackColor>
        <TextSize>Large</TextSize>
      </Settings>
    </Device>
  </Devices>
</Global>
On another note; is there a comprehensive explanation of which functions can be used for visual customization?
I'd like to be able to change the size of the icons of custom macros, for instance.
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Enterprise LCD, Global.cfg - Colors & Text Size

Post by jwick »

The text background has been fixed for the next release. Thanks for pointing it out.

There is no external documentation on the XML format. It is a moving target.
For most cases, I put the available elements into Base.xml (as you have found). You can consider it the dictionary to pull words from for your app-specific cfg.
agiorgitis
Posts: 1
Joined: Fri Jun 21, 2024 8:39 pm

Re: Enterprise LCD, Global.cfg - Colors & Text Size

Post by agiorgitis »

The black background idea is excellent, can it be implemented in the official software too?
A dark theme.

I run almost all of my cad applications in dark mode and this would be very handy when working at night.
Post Reply