NCBI C++ ToolKit
Functions | Variables
linear_sel_handler.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/gl/linear_sel_handler.hpp>
#include <gui/opengl/glhelpers.hpp>
#include <gui/opengl/irender.hpp>
#include <math.h>
#include <wx/window.h>
+ Include dependency graph for linear_sel_handler.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

void RenderRect (const TModelRect &rc, TModelUnit offset_x, TModelUnit offset_y, CRgbaColor &color, GLenum type)
 
static void s_RenderSymbol (TModelUnit x, TModelUnit y, TModelUnit w, TModelUnit line_w, TModelUnit scale_x, TModelUnit scale_y, CLinearSelHandler::EOpType type, bool b_horz)
 

Variables

static int kDragThreshold = 4
 
static const int kSymbolBorder = 6
 

Function Documentation

◆ RenderRect()

void RenderRect ( const TModelRect rc,
TModelUnit  offset_x,
TModelUnit  offset_y,
CRgbaColor color,
GLenum  type 
)
inline

◆ s_RenderSymbol()

static void s_RenderSymbol ( TModelUnit  x,
TModelUnit  y,
TModelUnit  w,
TModelUnit  line_w,
TModelUnit  scale_x,
TModelUnit  scale_y,
CLinearSelHandler::EOpType  type,
bool  b_horz 
)
static

Variable Documentation

◆ kDragThreshold

int kDragThreshold = 4
static

Definition at line 45 of file linear_sel_handler.cpp.

Referenced by CLinearSelHandler::x_HitTest().

◆ kSymbolBorder

const int kSymbolBorder = 6
static

Definition at line 579 of file linear_sel_handler.cpp.

Referenced by CLinearSelHandler::Render().

Modified on Tue Apr 23 07:39:32 2024 by modify_doxy.py rev. 669887