Freeciv-3.3: mouse_button_behavior Struct Reference

Freeciv-3.3

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

`#include <gui_main.h>`

## Data Fields

bool | counting
Uint32 | button_down_ticks
enum mouse_button_hold_state | hold_state
SDL_MouseButtonEvent * | event
struct tile * | ptile

## Detailed Description

Definition at line 91 of file gui_main.h.

## Field Documentation

## ◆ button_down_ticks

Uint32 mouse_button_behavior::button_down_ticks

Definition at line 93 of file gui_main.h.

Referenced by main_mouse_button_down_handler(), main_mouse_button_up_handler(), ui_init(), and update_button_hold_state().

## ◆ counting

bool mouse_button_behavior::counting

Definition at line 92 of file gui_main.h.

Referenced by main_mouse_button_down_handler(), main_mouse_button_up_handler(), main_mouse_motion_handler(), ui_init(), and update_button_hold_state().

## ◆ event

SDL_MouseButtonEvent * mouse_button_behavior::event

Definition at line 95 of file gui_main.h.

Referenced by button_down_on_map(), button_up_on_map(), main_mouse_button_down_handler(), main_mouse_button_up_handler(), ui_init(), and ui_main().

## ◆ hold_state

enum mouse_button_hold_state mouse_button_behavior::hold_state

Definition at line 94 of file gui_main.h.

Referenced by button_down_on_map(), button_up_on_map(), main_mouse_button_down_handler(), main_mouse_motion_handler(), ui_init(), and update_button_hold_state().

## ◆ ptile

struct tile * mouse_button_behavior::ptile

Definition at line 96 of file gui_main.h.

Referenced by main_mouse_button_down_handler(), and main_mouse_motion_handler().