JaxCore
GithubWebsiteSupport Server
  • JaxCore - Documentation
  • 🚀Getting Started
    • Introduction
    • Installation
    • User Interface
    • Additional requisites
    • Changing global options
    • Uninstallation
    • FAQs
      • New user FAQs
      • JaxCore FAQs
      • Miscellaneous FAQs
      • Anti-virus, false positive FAQs
      • Modules FAQs
        • YourFlyouts
        • YourMixer
        • ValliStart
        • IdleStyle
        • Keylaunch
        • Keystrokes OSD
      • Widget FAQs
        • ModularClocks
        • ModularVisualizer
        • Plainext
      • Media Player FAQs
      • Performance FAQs
  • 📦Modules
    • Introduction
    • YourFlyouts
    • YourMixer
    • IdleStyle
    • ValliStart
  • 🌥️Widgets
    • Introduction
    • ModularClocks
    • ModularPlayers
    • ModularVisualizer
    • Overlayer
    • Plainext
    • FAQ
  • Coding a module
    • Code formatting
    • Variables
    • Dynamic & Reactive user interface
    • Measures
    • MeterStyles
    • AutoHotkey usage
    • CoreInstaller
Powered by GitBook
On this page
  • General variables
  • Custom skin dimensions

Was this helpful?

Export as PDF
  1. Coding a module

Variables

General variables

You should always append these customizable variables to ./@Resources/Vars.inc

[Variables]
Scale=
FontFace=
Pri_Color=
Text_Color=
Accent_Color=

You should always append these variables to the main skin file

[Variables]
W=([num]*#Scale#)        ; Width
H=([num]*#Scale#)        ; Height
P=([num]*#Scale#)        ; Padding
R=([num]*#Scale#)        ; Rounding

Custom skin dimensions

If you plan to allow users to set the skin's dimensions, you can:

[./@Resources/Vars.inc]
user.W=[num]
user.H=[num]
user.P=[num]
user.R=[num]


[Main.ini]
W=(user.W*#Scale#)
H=(user.H*#Scale#)
P=(user.P*#Scale#)
R=(user.R*#Scale#)

PreviousCode formattingNextDynamic & Reactive user interface

Last updated 3 years ago

Was this helpful?