Skip to content

QFS ‐ QFCCFD ‐ Config ‐ Global.inc

Steve Hsu edited this page Jan 21, 2025 · 3 revisions

Navigation

QFSQFCCFDConfig - Global.inc

This article only introduces what you might need when writing skins.

Included Files

Variables

Constant Variables

Variable Name Friendly Name Description
🟨 Pk@ The location of the package's @ folder Use this variable to access the contents of the @ folder in your package. You will see this variable in many places.
🟨 Ac.Variants A group of commands that are executed when the "Variants..." option is selected in the skin's context menu or elsewhere Executing this command group will change the context menu used by the skin to the "Variants" list menu, changing back to the normal context menu when deselected.
🟨 Ac.Skin_Settings A group of commands that are executed when the "Skin Settings" option is selected in the skin's context menu or elsewhere Executing this command group can switch the skin to SkinSettings.ini to provide a graphical interface so that users can easily set skin parameters.
🟨 Ac.Manage_Project A group of commands that are executed when the "Manage Quanto Flx" option is selected in the skin's context menu or elsewhere Execute this command group to open the Quanto Flx Manager.
🟨 Ac.Unload A group of commands that are executed when the "Unload" option is selected in the skin's context menu or elsewhere Even though you can write [!DeactivateConfig "#CURRENTCONFIG#"], it is recommended to use this variable to perform the unloadation of the skin.
🟩 Lorem Test text "Lorem Ipsum" Use this variable when you need to test your typography.
🟩 Tf_* The format used to represent the current time when Tf is * Typically, use nested variables ([#Tf_[#Tf]]) to use it.
🟩 Tf_*_Ex The format used when Tf is * to represent the current time, extended with an AM/PM indicator Typically, use nested variables ([#Tf_[#Tf]_Ex]) to use it.
🟩 Tf_*_AMPM AM/PM indicator used when Tf is * Typically, use nested variables ([#Tf_[#Tf]_AMPM]) to use it.
🟩 Da.Sk Disable stroke in Shape Meters This segment can be inserted in any Shape key in the Shape Meter to disable the default border of a shape.
🟩 Da.Bg Disable background in Shape Meters to make a blank shape It's usually used in restricted zone.
🟩 Fl.Cl.Bd Shape Modifier: Fill in the color of borders -
🟩 Fl.Cl.Ob Shape Modifier: Fill in the color of option background -
🟩 Fl.Cl.Hv Shape Modifier: Fill in the color of hover background -
🟩 Cl.Cb.* The color of the check box when the value is * Typically, use nested variables ([#Cl.Cb.[#AnyVariable]]) to use it. The value of AnyVariable must be -1, 0, or 1.

Variables

Variable Name Friendly Name Description
🟥 CM The name of the context menu currently in use You can use this command group to change the currently used context menu: [!SetVariable "CM" "#Sk.Nm#.YourCustomContextMenu"][!Delay 16][!Update][!SkinCustomMenu][!Delay 16][!Update][!SetVariable "CM" "#Sk.Nm#.CMCommon"][!Update]

Meter Styles

Style Name Friendly Name Description Suitable Meter Types Apply with ... Style
🟨 St.ZnCt Set Mt.Zn as Container In a Panel or Window type skin, all Meters except the Meters necessary for the panel appearance must have this Style applied. (All Meter Type) -
🟨 St.Ft Global Font Style All String Meters need to apply this Style, otherwise the text will be displayed abnormally. String -
🟨 St.Mi Monochrome Icon Style When using a monochrome icon, you must apply this Style so that the icon is tinted with the foreground color. Image -
🟩 St.ZnCt2 Set Mt.Zn2 as Container - (All Meter Type) -
🟩 St.ZnCt3 Set Mt.Zn3 as Container - (All Meter Type) -
🟩 St.ZnCt4 Set Mt.Zn4 as Container - (All Meter Type) -
🟩 St.Hv Hover Style Applying this Style makes the Meter hidden by default. (All Meter Type) -
🟩 St.Rz Restricted Zone Style Applying this Style will make it impossible for the skin to be dragged from this Meter. (All Meter Type) -
🟩 St.Sl Protect text (Global Font) or Monochrome Icons from Op.Fg - String and Image St.Ft or St.Mi
🟩 St.Ft.Bd Make the text (Global Font) Bolder - String St.Ft
🟩 St.Ft.Ww Word warp - String St.Ft
🟩 St.Ft.Splk Superlink Style - String St.Ft
🟩 St.Ft.Splk.Sl Superlink Style, protecting text from Op.Fg - String St.Ft
🟩 St.Ft.CmTxFm Quanto Flx Common Text Formats (QFCTF) Apply this Style to enable QFCTF. Learn more about it. String St.Ft
🟩 St.Bt.Gn Button Style, in response to one Hover Meter Apply this Style in response to a single hover Meter named H#CURRENTSECTION#. Learn more about it. (All Meter Type) -
🟩 St.Bt.Mt Button Style, in response to multiple Hover Meters in a Group Apply this Style in response to a hover Meter group named H#CURRENTSECTION#. Learn more about it. (All Meter Type) -
🟩 St.Bt.Sp Button Style for Shape Meters Apply this Style in response to a hover Shape in this section. Learn more about it. Shape -
🟩 St.MOAHdCs Makes the cursor conform to the style of the button logic Change the shape of the mouse to a hand shape when it passes over the Meter. (All Meter Type) -
🟩 St.Rsz The entry of "Quick Resizing" Change the properties of the Image Meter so that it becomes a Quick Resize portal. Learn more about it. Image St.Mi
Clone this wiki locally