Проблему со скролингом решил. Вот, если кому надо:
class BT_delo_textscroll
{
access = 2; // Control access (0 - ReadAndWrite, 1 - ReadAndCreate, 2 - ReadOnly, 3 - ReadOnlyVerified)
idc = 4567; // Control identification (without it, the control won't be displayed)
type = CT_CONTROLS_GROUP; // Type
style = LB_TEXTURES; // Style
blinkingPeriod = 0; // Time in which control will fade out and back in. Use 0 to disable the effect.
x = 0.448438 * safezoneW + safezoneX;
y = 0.313 * safezoneH + safezoneY;
w = 0.242031 * safezoneW;
h = 0.385 * safezoneH;
class Controls
{
class BT_delo: RscStructuredText
{
idc = 1055;
text = "Личное дело"; //--- ToDo: Localize;
align = "left";
valign = "top";
x = 0.29 * safezoneW + safezoneX;
y = 0.22 * safezoneH + safezoneY;
w = 0.232031 * safezoneW;
h = 0.9 * safezoneH;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0};
};
};
// Scrollbar configuration (applied only when LB_TEXTURES style is used)
class VScrollBar
{
width = 0.021; // Unknown?
height = 0; // Unknown?
scrollSpeed = 0.01; // Unknown?
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; // Arrow
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; // Arrow when clicked on
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; // Slider background (stretched vertically)
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; // Dragging element (stretched vertically)
color[] = {1,1,1,1}; // Scrollbar color
//autoScrollEnabled = 0; // 1 to enable automatic scrolling
//autoScrollDelay = 1; // Time after autoscroll is initiated
//autoScrollRewind = 1; // Repeat the autoscroll once it's finished
//autoScrollSpeed = 1; // Autoscroll speed
};
class HScrollBar
{
width = 0; // Unknown?
height = 0.028; // Unknown?
scrollSpeed = 0.01; // Unknown?
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; // Arrow
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; // Arrow when clicked on
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; // Slider background (stretched vertically)
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; // Dragging element (stretched vertically)
color[] = {1,1,1,1}; // Scrollbar color
};
//onCanDestroy = "systemChat str ['onCanDestroy',_this]; true";
//onDestroy = "systemChat str ['onDestroy',_this]; false";
//onMouseButtonDown = "systemChat str ['onMouseButtonDown',_this]; false";
//onMouseButtonUp = "systemChat str ['onMouseButtonUp',_this]; false";
//onMouseButtonClick = "systemChat str ['onMouseButtonClick',_this]; false";
//onMouseButtonDblClick = "systemChat str ['onMouseButtonDblClick',_this]; false";
//onMouseZChanged = "systemChat str ['onMouseZChanged',_this]; false";
//onMouseMoving = "";
//onMouseHolding = "";
};