Page MenuHomeFeedback Tracker

[Bug] CT_STATIC controls with ST_MULTI + ST_WITH_RECT style have broken rectangle (only diagonal line)
Closed, ResolvedPublic

Description

It creates diagonal lines instead of "borders":

Details

Severity
Trivial
Resolution
Not A Bug
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

Create this ctrl in config:

#define ST_WITH_RECT			0xA0
#define ST_MULTI				0x10

//ST_MULTI = 16; ST_WITH_RECT = 160

import RscText;

class TestText: RscText {
 colorText[] = {1,1,1,1};
 style = ST_MULTI + ST_WITH_RECT;
 x = 0.5-0.2;
 y = 0.5-0.2;
 w = 0.4;
 h = 0.4;
};

script:

(findDisplay 46 createDisplay "RscDisplayEmpty") ctrlCreate ["TestText", -1];

Event Timeline

Leopard20 renamed this task from [Bug] CT_STATIC controls with ST_MULTI + ST_WITH_RECT style have broken rectangle to [Bug] CT_STATIC controls with ST_MULTI + ST_WITH_RECT style have broken rectangle (only diagonal line).
Leopard20 updated the task description. (Show Details)Tue, Jan 12, 12:01 PM
LouMontana closed this task as Resolved.Tue, Jan 12, 12:48 PM
LouMontana changed Resolution from Open to Not A Bug.