Class tgripframe

Unit

Declaration

type tgripframe = class(tcaptionframe, iobjectpicker, iface)

Description

No description available, ancestor tcaptionframe description follows
No description available, ancestor tcustomcaptionframe description follows
No description available, ancestor tcustomframe description follows
No description available, ancestor toptionalpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected frects: array[dbr_first..dbr_last] of rectty;
Protected fedges: array[dbr_first..dbr_last] of edgesty;
Protected fgriprect: rectty;
Protected fgripstate: gripstatesty;
Protected factgripsize: integer;
Protected fmousebutton: dockbuttonrectty;

Methods

Protected procedure checkgripsize;
Protected procedure updatewidgetstate; override;
Protected procedure updaterects; override;
Protected procedure updatestate; override;
Protected procedure getpaintframe(var frame: framety); override;
Protected function ishintarea(const apos: pointty; var aid: int32): boolean; override;
Protected function calcsizingrect(const akind: sizingkindty; const offset: pointty): rectty;
Protected procedure drawgripbutton(const acanvas: tcanvas; const akind: dockbuttonrectty; const arect: rectty; const acolorglyph,acolorbutton: colorty; const ahiddenedges: edgesty); virtual;
Protected function getclientrect: rectty;
Protected procedure invalidatewidget();
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
Protected function translatecolor(const acolor: colorty): colorty;
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
Protected function getcomponentstate: tcomponentstate;
Protected procedure widgetregioninvalid;
Protected function getwidget: twidget;
Protected function getcursorshape(const sender: tobjectpicker; var shape: cursorshapety): boolean;
Protected procedure getpickobjects(const sender: tobjectpicker; var objects: integerarty);
Protected procedure beginpickmove(const sender: tobjectpicker);
Protected procedure pickthumbtrack(const sender: tobjectpicker);
Protected procedure endpickmove(const sender: tobjectpicker);
Protected procedure cancelpickmove(const sender: tobjectpicker);
Protected procedure paintxorpic(const sender: tobjectpicker; const canvas: tcanvas);
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
Public constructor create(const aintf: icaptionframe; const acontroller: tdockcontroller);
Public destructor destroy; override;
Public procedure createface();
Public procedure createfaceactive();
Public procedure checktemplate(const sender: tobject) override;
Public procedure showhint(const aid: int32; var info: hintinfoty); override;
Public procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
Public procedure mouseevent(var info: mouseeventinfoty);
Public function getminimizedsize(out apos: captionposty): sizety;
Public function griprect: rectty;

Properties

Public property buttonrects[constindex:dockbuttonrectty]: rectty read getbuttonrects;
Published property grip_size: integer read fgrip_size write setgrip_size stored true;
Published property grip_textflagstop: textflagsty read fgrip_textflagstop write setgrip_textflagstop default defaulttextflagstop;
Published property grip_textflagsleft: textflagsty read fgrip_textflagsleft write setgrip_textflagsright default defaulttextflagsleft;
Published property grip_textflagsbottom: textflagsty read fgrip_textflagsbottom write setgrip_textflagsbottom default defaulttextflagsbottom;
Published property grip_textflagsright: textflagsty read fgrip_textflagsright write setgrip_textflagsrright default defaulttextflagsright;
Published property grip_captiondist: integer read fgrip_captiondist write setgrip_captiondist default 1;
Published property grip_captionoffset: integer read fgrip_captionoffset write setgrip_captionoffset default 0;
Published property grip_grip: stockbitmapty read fgrip_grip write setgrip_grip default defaultgripgrip;
Published property grip_color: colorty read fgrip_color write setgrip_color default defaultgripcolor;
Published property grip_coloractive: colorty read fgrip_coloractive write setgrip_coloractive default defaultgripcoloractive;
Published property grip_colorglyph: colorty read fgrip_colorglyph write setgrip_colorglyph default cl_glyph;
Published property grip_colorglyphactive: colorty read fgrip_colorglyphactive write setgrip_colorglyphactive default cl_glyphactive;
Published property grip_colorbutton: colorty read fgrip_colorbutton write setgrip_colorbutton default cl_transparent;
Published property grip_colorbuttonactive: colorty read fgrip_colorbuttonactive write setgrip_colorbuttonactive default cl_transparent;
Published property grip_options: gripoptionsty read fgrip_options write setgrip_options default defaultgripoptions;
Published property grip_face: tface read getgrip_face write setgrip_face;
Published property grip_faceactive: tface read getgrip_faceactive write setgrip_faceactive;
Published property grip_hint: msestring read fgrip_hint write fgrip_hint;

Description

Fields

Protected frects: array[dbr_first..dbr_last] of rectty;
 
Protected fedges: array[dbr_first..dbr_last] of edgesty;
 
Protected fgriprect: rectty;
 
Protected fgripstate: gripstatesty;
 
Protected factgripsize: integer;
 
Protected fmousebutton: dockbuttonrectty;
 

Methods

Protected procedure checkgripsize;
 
Protected procedure updatewidgetstate; override;
 
Protected procedure updaterects; override;
 
Protected procedure updatestate; override;
 
Protected procedure getpaintframe(var frame: framety); override;
 
Protected function ishintarea(const apos: pointty; var aid: int32): boolean; override;
 
Protected function calcsizingrect(const akind: sizingkindty; const offset: pointty): rectty;
 
Protected procedure drawgripbutton(const acanvas: tcanvas; const akind: dockbuttonrectty; const arect: rectty; const acolorglyph,acolorbutton: colorty; const ahiddenedges: edgesty); virtual;
 
Protected function getclientrect: rectty;
 
Protected procedure invalidatewidget();
 
Protected procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false);
 
Protected function translatecolor(const acolor: colorty): colorty;
 
Protected procedure setlinkedvar(const source: tmsecomponent; var dest: tmsecomponent; const linkintf: iobjectlink = nil);
 
Protected function getcomponentstate: tcomponentstate;
 
Protected procedure widgetregioninvalid;
 
Protected function getwidget: twidget;
 
Protected function getcursorshape(const sender: tobjectpicker; var shape: cursorshapety): boolean;
 
Protected procedure getpickobjects(const sender: tobjectpicker; var objects: integerarty);
 
Protected procedure beginpickmove(const sender: tobjectpicker);
 
Protected procedure pickthumbtrack(const sender: tobjectpicker);
 
Protected procedure endpickmove(const sender: tobjectpicker);
 
Protected procedure cancelpickmove(const sender: tobjectpicker);
 
Protected procedure paintxorpic(const sender: tobjectpicker; const canvas: tcanvas);
 
Protected procedure internalpaintoverlay(const canvas: tcanvas; const arect: rectty) override;
 
Public constructor create(const aintf: icaptionframe; const acontroller: tdockcontroller);
 
Public destructor destroy; override;
 
Public procedure createface();
 
Public procedure createfaceactive();
 
Public procedure checktemplate(const sender: tobject) override;
 
Public procedure showhint(const aid: int32; var info: hintinfoty); override;
 
Public procedure updatemousestate(const sender: twidget; const info: mouseeventinfoty); override;
 
Public procedure mouseevent(var info: mouseeventinfoty);
 
Public function getminimizedsize(out apos: captionposty): sizety;
 
Public function griprect: rectty;
 

Properties

Public property buttonrects[constindex:dockbuttonrectty]: rectty read getbuttonrects;
 
Published property grip_size: integer read fgrip_size write setgrip_size stored true;
 
Published property grip_textflagstop: textflagsty read fgrip_textflagstop write setgrip_textflagstop default defaulttextflagstop;
 
Published property grip_textflagsleft: textflagsty read fgrip_textflagsleft write setgrip_textflagsright default defaulttextflagsleft;
 
Published property grip_textflagsbottom: textflagsty read fgrip_textflagsbottom write setgrip_textflagsbottom default defaulttextflagsbottom;
 
Published property grip_textflagsright: textflagsty read fgrip_textflagsright write setgrip_textflagsrright default defaulttextflagsright;
 
Published property grip_captiondist: integer read fgrip_captiondist write setgrip_captiondist default 1;
 
Published property grip_captionoffset: integer read fgrip_captionoffset write setgrip_captionoffset default 0;
 
Published property grip_grip: stockbitmapty read fgrip_grip write setgrip_grip default defaultgripgrip;
 
Published property grip_color: colorty read fgrip_color write setgrip_color default defaultgripcolor;
 
Published property grip_coloractive: colorty read fgrip_coloractive write setgrip_coloractive default defaultgripcoloractive;
 
Published property grip_colorglyph: colorty read fgrip_colorglyph write setgrip_colorglyph default cl_glyph;
 
Published property grip_colorglyphactive: colorty read fgrip_colorglyphactive write setgrip_colorglyphactive default cl_glyphactive;
 
Published property grip_colorbutton: colorty read fgrip_colorbutton write setgrip_colorbutton default cl_transparent;
 
Published property grip_colorbuttonactive: colorty read fgrip_colorbuttonactive write setgrip_colorbuttonactive default cl_transparent;
 
Published property grip_options: gripoptionsty read fgrip_options write setgrip_options default defaultgripoptions;
 
Published property grip_face: tface read getgrip_face write setgrip_face;
 
Published property grip_faceactive: tface read getgrip_faceactive write setgrip_faceactive;
 
Published property grip_hint: msestring read fgrip_hint write fgrip_hint;
 

Generated by PasDoc 0.16.0.