Wavelength
Privacy-focused, cross-platform, and open-source communication application
Loading...
Searching...
No Matches
BlobConfig::BlobParameters Struct Reference

Structure holding parameters related to the blob's visual appearance and basic geometry. More...

#include <blob_config.h>

Collaboration diagram for BlobConfig::BlobParameters:

Public Attributes

QColor background_color
 The background color of the widget area.
 
double blob_radius = 250.0f
 The base radius of the blob shape in pixels.
 
QColor border_color
 The color of the blob's border and fill gradient base.
 
int border_width = 6
 The width of the main borderline in pixels.
 
int glow_radius = 10
 The radius/spread of the glow effect around the border in pixels.
 
QColor grid_color
 The color of the grid lines drawn on the background.
 
int grid_spacing
 The spacing between grid lines in pixels.
 
int num_of_points = 24
 The number of control points used to define the blob's shape.
 
int screen_height = 0
 The current height of the screen/widget area (used for border collisions, etc.).
 
int screen_width = 0
 The current width of the screen/widget area (used for border collisions, etc.).
 

Detailed Description

Structure holding parameters related to the blob's visual appearance and basic geometry.

Member Data Documentation

◆ background_color

QColor BlobConfig::BlobParameters::background_color

The background color of the widget area.

◆ blob_radius

double BlobConfig::BlobParameters::blob_radius = 250.0f

The base radius of the blob shape in pixels.

◆ border_color

QColor BlobConfig::BlobParameters::border_color

The color of the blob's border and fill gradient base.

◆ border_width

int BlobConfig::BlobParameters::border_width = 6

The width of the main borderline in pixels.

◆ glow_radius

int BlobConfig::BlobParameters::glow_radius = 10

The radius/spread of the glow effect around the border in pixels.

◆ grid_color

QColor BlobConfig::BlobParameters::grid_color

The color of the grid lines drawn on the background.

◆ grid_spacing

int BlobConfig::BlobParameters::grid_spacing

The spacing between grid lines in pixels.

◆ num_of_points

int BlobConfig::BlobParameters::num_of_points = 24

The number of control points used to define the blob's shape.

◆ screen_height

int BlobConfig::BlobParameters::screen_height = 0

The current height of the screen/widget area (used for border collisions, etc.).

◆ screen_width

int BlobConfig::BlobParameters::screen_width = 0

The current width of the screen/widget area (used for border collisions, etc.).


The documentation for this struct was generated from the following file: