---
name: "CT USER"
type: topic
aliases: ["DialogControls-User"]
source: https://community.bistudio.com/wiki/CT_USER
revid: 258325
updated: 2021-05-25T09:02:07Z
---

# CT USER

### Introduction

This control type is used by the engine for [Performance Profiling](../topics/Performance_Profiling.md) and has probably no use outside of it.

#### Related commands & functions

- Commands: General
- Commands: UI Eventhandlers

#### Related User Interface Eventhandlers

- [Events: General](../topics/User_Interface_Event_Handlers.md#generic-events)

### Alphabetical Order

> [!NOTE]
> TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [**here**](../topics/Arma~3A_GUI_Configuration.md#common-properties).

> [!WARNING]
> Not all of the listed attributes might have an effect nor might the list be complete. All attributes were gathered with [this](https://github.com/7erra/BIKI.VR/blob/master/fnc/generateCTPage.sqf) config crawler.

```cpp
#define CT_USER 99
```

#### C

##### colorBar

**Type:** Array

**Description:** n/a

```cpp
colorBar[] = {0.8,0.8,0.8,1};
```

##### colorLines

**Type:** Array

**Description:** n/a

```cpp
colorLines[] = {0,0,0,1};
```

##### colorSelection

**Type:** Array

**Description:** n/a

```cpp
colorSelection[] = {1,0,0,1};
```

##### colorShadow

**Type:** Array

**Description:** n/a

```cpp
colorShadow[] = {0,0,0,0.5};
```

#### F

##### fixedWidth

**Type:** Number

**Description:** n/a

```cpp
fixedWidth = 0;
```

#### L

##### linespacing

**Type:** Number

**Description:** n/a

```cpp
linespacing = 1;
```

### Default Classes

> [!NOTE]
> **Arma 3:** **AddOns:** Classes need to be initialised first with `class SomeClass;`
>
> ---
>
> **Missions:** Since Arma 3 v2.02 one can use `import SomeClass;` to initialise a class (see the [import](../topics/import_~28Config~29.md) keyword).
>
> In older versions, use `"Default" call BIS_fnc_exportGUIBaseClasses;` and paste the result into the [description.ext](../topics/Description.ext.md).

#### TimeLines

```cpp
class TimeLines
{
  type = CT_USER;
  style = 0;
  idc = 102;
  shadow = 0;
  x = "0.03 + 0.02";
  y = 0.53;
  w = "0.90 - 0.04";
  h = 0.26;
  class Scrollbar{};
  font = "TahomaB";
  colorLines[] = {0,0,0,1};
  colorBackground[] = {1,1,1,1};
  colorBar[] = {0.8,0.8,0.8,1};
  colorSelection[] = {1,0,0,1};
};
```

<sub>Source: [BI Community Wiki — CT USER](https://community.bistudio.com/wiki/CT_USER) (revision 258325).</sub>
