Freeciv-3.1: color Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
color Struct Reference

`#include <colors.h>`

## Data Fields

GdkRGBA | color
QColor | qcolor
SDL_Color * | color
int | r
int | g
int | b

## Detailed Description

Definition at line 20 of file colors.h.

## Field Documentation

## ◆ b

int color::b

Definition at line 21 of file colors.h.

Referenced by color_alloc(), color_alloc_rgba(), gui_color_alloc(), and qtg_color_alloc().

## ◆ color [1/2]

GdkRGBA color::color

Definition at line 21 of file colors.h.

Referenced by color_alloc(), color_alloc_rgba(), create_frame(), create_line(), create_player_icon(), draw_reqtree(), get_game_color(), get_theme_color(), gui_color_alloc(), pixmap_put_overlay_tile_draw(), popup_find_dialog(), qtg_color_alloc(), and update_goto_dialog().

## ◆ color [2/2]

SDL_Color* color::color

Definition at line 38 of file colors.h.

## ◆ g

int color::g

Definition at line 21 of file colors.h.

Referenced by color_alloc(), color_alloc_rgba(), gui_color_alloc(), and qtg_color_alloc().

## ◆ qcolor

QColor color::qcolor

Definition at line 25 of file colors.h.

Referenced by plr_item::data(), diplo_wdg::diplo_wdg(), and city_production_delegate::paint().

## ◆ r

int color::r

Definition at line 21 of file colors.h.

Referenced by color_alloc(), color_alloc_rgba(), gui_color_alloc(), and qtg_color_alloc().