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.


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)


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 

◆ 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 

Variable Documentation

◆ kDragThreshold

int kDragThreshold = 4

Definition at line 45 of file linear_sel_handler.cpp.

Referenced by CLinearSelHandler::x_HitTest().

◆ kSymbolBorder

const int kSymbolBorder = 6

Definition at line 579 of file linear_sel_handler.cpp.

Referenced by CLinearSelHandler::Render().

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