⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skin.ini_description_en.txt

📁 skin components for design of your applicastions
💻 TXT
📖 第 1 页 / 共 4 页
字号:
    * TR - TextRect.Right;
    * TB - TextRect.Bottom.

     8.5. Edit
     =========

   Names of all skin styles for TSXSkinEdit component have "_Edit" at the
beginning. I will name them edit-styles.
   There is an exhaustive list of radio button states:
      NU, NF, HU, HF, RU
   The first letter means: N - normal, H - highlighted, R - disabled.
   The second letter: U - unfocused, F - focused.
   I will call these two-letter abbreviations StatePrefixes.
   Properties for these states are set using this notation:
      StatePrefix_PropertyName=PropertyValue
   PropertyName can be one of these:
    - Style - name of general skin style for radio button background
      (background is everything except text);
    - font properties without additional prefixes (see section 3.1).
   The heredity principle is used when setting state properties. The
"lowest" state is NU, it means that properties for all other states
depend on properties of NU state. E.g. if you set NU_FontName=Arial and
don't set property HU_FontName, then HU_FontName=Arial too. This table
describes, which states are taken into account to set properties for each
state (if some properties are missing):

      ======================
      NU   NF   HU   HF   RU
      ======================
           NU   NU   HU   NU
                     NF
                     NU

   See inherited properties example in section 8.2.

   Common properties for all states (use without state prefixes):
    - HighlightInEdit* - parameters of the transform effect, which is
      used when edit state changes from normal to highlighted
      (see section 3.3);
    - HighlightOutEdit* - state changes from highlighted to normal;
    - EnableEdit* - state changes from disabled to enabled;
    - DisableEdit* - state changes from enabled to disabled;
    - FocusEdit* - state changes from unfocused to focused;
    - UnfocusEdit* - state changes from focused to unfocused;
    - TextLeftOffset - width of the left border in pixels;
    - TextTopOffset - width of the top border in pixels;
    - TextRightOffset - width of the right border in pixels;
    - TextBottomOffset - width of the bottom border in pixels.

   Variables, those can be used when defining general skin styles
elements parameters:
    * W - TSXSkinEdit.Width;
    * H - TSXSkinEdit.Height.

     8.6. GroupBox
     =============

   Names of all skin styles for TSXSkinGroupBox component have "_GroupBox"
at the beginning. I will name them groupbox-styles.
   There is an exhaustive list of group box states:
      NU, NF, HU, HF, RU
   The first letter means: N - normal, H - highlighted, R - disabled.
   The second letter: U - unfocused, F - focused.
   States NF, HU, HF are important only when group box is combines with
check box or radio button.
   I will call these two-letter abbreviations StatePrefixes.
   Properties for these states are set using this notation:
      StatePrefix_PropertyName=PropertyValue
   PropertyName can be one of these:
    - Style - name of general skin style for group box background;
    - OverStyle - name of general skin style for top background layer;
    - CaptionPosition - left or right (depending on caption alignment
      mode) offset of caption in pixels;
    - CaptionLeftOffset - offset of glyph and text inside the caption;
    - CaptionTopOffset;
    - CaptionRightOffset;
    - CaptionBottomOffset;
    - TextLeftOffset;
    - TextTopOffset;
    - TextRightOffset;
    - TextBottomOffset;
    - TransparentRect - since a group box is usually drawn as a frame with
      a caption, inner area of it is transparent; this property specifies
      this transparent area for drawing acceleration (see section 2.2).
   The heredity principle is used when setting state properties. The
"lowest" state is NU, it means that properties for all other states
depend on properties of NU state. E.g. if you set NU_FontName=Arial and
don't set property HU_FontName, then HU_FontName=Arial too. This table
describes, which states are taken into account to set properties for each
state (if some properties are missing):

      ======================
      NU   NF   HU   HF   RU
      ======================
           NU   NU   HU   NU
                     NF
                     NU

   See inherited properties example in section 8.2.

   Common properties for all states (use without state prefixes):
    - LabelStyle - name of label-style, which is used for drawing of group
      box caption by default;
    - GlyphWidth;
    - GlyphHeight;
    - ClientRect - data for calculating component ClientRect property in
      TWinControl.AdjustClientRect (see section 2.2).

   Variables, those can be used when defining StatePrefix_TransparentRect,
ClientRect and general skin styles elements parameters:
    * W - TSXSkinGroupBox.Width;
    * H - TSXSkinGroupBox.Height;
    * CL - CaptionRect.Left;
    * CT - CaptionRect.Top;
    * CR - CaptionRect.Right;
    * CB - CaptionRect.Bottom;
    * GlX - X-coordinate of glyph position;
    * GlY - Y-coordinate of glyph position;
    * GlW - glyph width;
    * GlH - glyph height;
    * TL - TextRect.Left;
    * TT - TextRect.Top;
    * TR - TextRect.Right;
    * TB - TextRect.Bottom.

     8.7. MultiState
     ===============

   All multistate-styles have "_MultiState" at the beginning of their
names. Multistate-style have these states:
    * normal;
    * highlighted;
    * down (pressed);
    * read-only (disabled).
   Properties of multistate-style (not state):
    - NStyle - general skin style, which is used for drawing when state
      is normal;
    - HStyle - general skin style for highlighted state;
    - DStyle - general skin style for down (pressed) state;
    - RStyle - general skin style for read-only (disabled) state.
   Multistate-styles usually are used as glyphs.

     8.8. MultiStateCheck
     ====================

   All multistatecheck-styles have "_MultiStateCheck" at the beginning
of their names. Multistatecheck-style have these states:
      NU, HU, DU, RU, NC, HC, DC, RC
   The first letter means: N - normal, H - highlighted,
                           D - down (pressed), R - read-only (disabled).
   The second letter: U - unchecked, C - checked.
   Properties of multistatecheck-style (not state):
    - NUStyle;
    - HUStyle;
    - DUStyle;
    - RUStyle;
    - NCStyle;
    - HCStyle;
    - DCStyle;
    - RCStyle.
   Multistatecheck-styles usually are used as glyphs for buttons with
CanBeChecked property set to True.

     8.9. Form
     =========

   All form-styles have "_Form" at the beginning of their names.
   All standard skins (which contain styles of buttons, check boxes, radio
buttons etc.) define two form-styles: "_Form" and "_FormSmallCaption", one
of which is choosen depending on BorderStyle property of parent TForm
conmponent (if BorderStyle in [bsDialog, bsSingle, bsSizeable], then _Form
is used, otherwise _FormSmallCaption is used).
   Form-style have these states:
      NU, MU, XU, NF, MF, XF
   The first letter means: N - normal, M - minimized, X - maximized,
   The second letter: U - unfocused (inactive), F - focused (active).
   I will call these two-letter abbreviations StatePrefixes.
   Properties for these states are set using this notation:
      StatePrefix_PropertyName=PropertyValue
   The foregoing list of states is temporal and will be extended in the
next version of SXSkinComponents library.
   Properties of form-state aren't finally defined too. Now they are:
    - MaskLeftWidth;
    - MaskRightWidth;
    - MaskTopHeight;
    - MaskBottomHeight;
    - MaskTopLeft;
    - MaskTopRight;
    - MaskBottomLeft;
    - MaskBottomRight;
    - MaskLeft;
    - MaskRight;
    - MaskTop;
    - MaskBottom;
    - FullMask;
    - ResizeTopLeft;
    - ResizeTopRight;
    - ResizeBottomLeft;
    - ResizeBottomRight;
    - ResizeLeft;
    - ResizeRight;
    - ResizeTop;
    - ResizeBottom;
    - CaptionRegion;
    - Caption;
    - LeftFrame;
    - RightFrame;
    - BottomFrame;
    - IconRect;
    - TextRect;
    - CloseRect;
    - MaximizeRect;
    - MinimizeRect;
    - HelpRect;
    - CloseButton;
    - MaximizeButton;
    - MinimizeButton;
    - RestoreButton;
    - HelpButton;
    - TextAlignment.
   Common properties for all states (use without state prefixes):
    - CaptionHeight;
    - LeftFrameWidth;
    - RightFrameWidth;
    - BottomFrameHeight.

     8.10. UpDown
     ============

   All updown-styles have "_UpDown" at the beginning of their names. I
will name them updown-styles.
   There is an exhaustive list of updown states:
      NU, NF, HU, HF, DF, RU
   The first letter means: N - normal, H - highlighted, D - down (pressed),
                           R - disabled.
   The second letter: U - unfocused, F - focused.
   I will call these two-letter abbreviations StatePrefixes.
   Properties for these states are set using this notation:
      StatePrefix_PropertyName=PropertyValue
   PropertyName can be one of these:
    - Style - name of general skin style for updown control background,
      which is painted behind updown buttons;
    - OverStyle - name of general skin style for updown control
      foreground, which is painted in front of updown buttons.
   The heredity principle is used when setting state properties. The
"lowest" state is NU, it means that properties for all other states
depend on properties of NU state. E.g. if you set NU_Style=UpDown_N and
don't set property HU_Style, then HU_Style=UpDown_N too. This table
describes, which states are taken into account to set properties for each
state (if some properties are missing):

      ===========================
      NU   NF   HU   HF   DF   RU
      ===========================
           NU   NU   HU   NF   NU
                     NF   NU
                     NU

   See inherited properties example in section 8.2.

   Common properties for all states (use without state prefixes):
    - HighlightInUpDown* - parameters of the transform effect, which is
      used when updown state changes from normal to highlighted
      (see section 3.3);
    - HighlightOutUpDown* - state changes from highlighted to normal;
    - DownUpDown* - state changes from normal to down (pressed);
    - UpUpDown* - state changes from down (pressed) to normal;
    - EnableUpDown* - state changes from disabled to enabled;
    - DisableUpDown* - state changes from enabled to disabled;
    - FocusUpDown* - state changes from unfocused to focused;
    - UnfocusUpDown* - state changes from focused to unfocused;
    - UpButton - button-style, used to paint up-button (see section 8.2);
    - DownButton - button-style, used to paint down-button;
    - UpButtonRect - destination rectangle, where up-button is painted
      (see section 2.2);
    - DownButtonRect - destination rectangle, where down-button is painted;

   Variables, those can be used when defining general skin styles
elements parameters:
    * W - TSXSkinUpDown.Width;
    * H - TSXSkinUpDown.Height;
    * UL - up-button left coordinate;
    * UT - up-button top coordinate;
    * UR - up-button right coordinate;
    * UB - up-button bottom coordinate;
    * DL - down-button left coordinate;
    * DT - down-button top coordinate;
    * DR - down-button right coordinate;
    * DB - down-button bottom coordinate.

     8.11. SpinEdit
     ==============

   All updown-styles have "_SpinEdit" at the beginning of their names. I
will name them spinedit-styles.
   Properties of spinedit-styles:
    - Edit - edit-syle, which is used to paint SpinEdit (see section 8.5);
    - UpDown - updown-style (see section 8.10);
    - EditRect - coordinates of the rectangle, where Edit is drawn
      (see section 2.2);
    - UpDownRect - coordinates of the rectangle, where UpDown is drawn.


  ==========================
   9. Arithmetic operations
  ==========================

   These arithmetic operations are supported:
    * addition (+): A+B;
    * subtraction (-): A-B;
    * multiplication (*): A*B;
    * integer division (/): A/B (5/2=2, 2/3=0);
    * division with rounding (|): A|B (5|2=3, 2|3=1);
    * residue of division (%): A%B (5%2=1, 9%3=0);
    * square root ($): $A;
    * parenthesis: (A+B)*C.
   When defining selective-style rules, you can also use these logical and
comparison operations:
    * logical AND (&&): A=B&&C=D;
    * logical OR (||): A=B||C=D;
    * logical NOT (!): !(A=B);
    * equality (=): A=B;
    * inequality (!=): A!=B;
    * larger (>): A>B;
    * less (<): A<B;
    * larger or equal (>=): A>=B;
    * less or equal (<=): A<=B.

Web Site: http://www.saarixx.info/sxskincomponents/en/
E-Mail: sxskincomponents@saarixx.info

Copyright (C) 2006-2007, Alexey Sadovnikov. All Rights Reserved.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -