79 Star 313 Fork 53

不在乎y/govcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
trackbar.go 16.63 KB
一键复制 编辑 原始数据 按行查看 历史
不在乎y 提交于 2018-06-03 05:10 . Squashed commit of the following:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/ying32/govcl/vcl/types"
)
type TTrackBar struct {
IWinControl
instance uintptr
}
func NewTrackBar(owner IComponent) *TTrackBar {
t := new(TTrackBar)
t.instance = TrackBar_Create(CheckPtr(owner))
return t
}
func TrackBarFromInst(inst uintptr) *TTrackBar {
t := new(TTrackBar)
t.instance = inst
return t
}
func TrackBarFromObj(obj IObject) *TTrackBar {
t := new(TTrackBar)
t.instance = CheckPtr(obj)
return t
}
func (t *TTrackBar) Free() {
if t.instance != 0 {
TrackBar_Free(t.instance)
t.instance = 0
}
}
func (t *TTrackBar) Instance() uintptr {
return t.instance
}
func (t *TTrackBar) IsValid() bool {
return t.instance != 0
}
func TTrackBarClass() TClass {
return TrackBar_StaticClassType()
}
func (t *TTrackBar) SetTick(Value int32) {
TrackBar_SetTick(t.instance, Value)
}
func (t *TTrackBar) CanFocus() bool {
return TrackBar_CanFocus(t.instance)
}
func (t *TTrackBar) FlipChildren(AllLevels bool) {
TrackBar_FlipChildren(t.instance, AllLevels)
}
func (t *TTrackBar) Focused() bool {
return TrackBar_Focused(t.instance)
}
func (t *TTrackBar) HandleAllocated() bool {
return TrackBar_HandleAllocated(t.instance)
}
func (t *TTrackBar) Invalidate() {
TrackBar_Invalidate(t.instance)
}
func (t *TTrackBar) Realign() {
TrackBar_Realign(t.instance)
}
func (t *TTrackBar) Repaint() {
TrackBar_Repaint(t.instance)
}
func (t *TTrackBar) ScaleBy(M int32, D int32) {
TrackBar_ScaleBy(t.instance, M , D)
}
func (t *TTrackBar) SetBounds(ALeft int32, ATop int32, AWidth int32, AHeight int32) {
TrackBar_SetBounds(t.instance, ALeft , ATop , AWidth , AHeight)
}
func (t *TTrackBar) SetFocus() {
TrackBar_SetFocus(t.instance)
}
func (t *TTrackBar) Update() {
TrackBar_Update(t.instance)
}
func (t *TTrackBar) BringToFront() {
TrackBar_BringToFront(t.instance)
}
func (t *TTrackBar) ClientToScreen(Point TPoint) TPoint {
return TrackBar_ClientToScreen(t.instance, Point)
}
func (t *TTrackBar) ClientToParent(Point TPoint, AParent IWinControl) TPoint {
return TrackBar_ClientToParent(t.instance, Point , CheckPtr(AParent))
}
func (t *TTrackBar) Dragging() bool {
return TrackBar_Dragging(t.instance)
}
func (t *TTrackBar) HasParent() bool {
return TrackBar_HasParent(t.instance)
}
func (t *TTrackBar) Hide() {
TrackBar_Hide(t.instance)
}
func (t *TTrackBar) Perform(Msg uint32, WParam uintptr, LParam int) int {
return TrackBar_Perform(t.instance, Msg , WParam , LParam)
}
func (t *TTrackBar) Refresh() {
TrackBar_Refresh(t.instance)
}
func (t *TTrackBar) ScreenToClient(Point TPoint) TPoint {
return TrackBar_ScreenToClient(t.instance, Point)
}
func (t *TTrackBar) ParentToClient(Point TPoint, AParent IWinControl) TPoint {
return TrackBar_ParentToClient(t.instance, Point , CheckPtr(AParent))
}
func (t *TTrackBar) SendToBack() {
TrackBar_SendToBack(t.instance)
}
func (t *TTrackBar) Show() {
TrackBar_Show(t.instance)
}
func (t *TTrackBar) GetTextBuf(Buffer string, BufSize int32) int32 {
return TrackBar_GetTextBuf(t.instance, Buffer , BufSize)
}
func (t *TTrackBar) GetTextLen() int32 {
return TrackBar_GetTextLen(t.instance)
}
func (t *TTrackBar) FindComponent(AName string) *TComponent {
return ComponentFromInst(TrackBar_FindComponent(t.instance, AName))
}
func (t *TTrackBar) GetNamePath() string {
return TrackBar_GetNamePath(t.instance)
}
func (t *TTrackBar) Assign(Source IObject) {
TrackBar_Assign(t.instance, CheckPtr(Source))
}
func (t *TTrackBar) DisposeOf() {
TrackBar_DisposeOf(t.instance)
}
func (t *TTrackBar) ClassType() TClass {
return TrackBar_ClassType(t.instance)
}
func (t *TTrackBar) ClassName() string {
return TrackBar_ClassName(t.instance)
}
func (t *TTrackBar) InstanceSize() int32 {
return TrackBar_InstanceSize(t.instance)
}
func (t *TTrackBar) InheritsFrom(AClass TClass) bool {
return TrackBar_InheritsFrom(t.instance, AClass)
}
func (t *TTrackBar) Equals(Obj IObject) bool {
return TrackBar_Equals(t.instance, CheckPtr(Obj))
}
func (t *TTrackBar) GetHashCode() int32 {
return TrackBar_GetHashCode(t.instance)
}
func (t *TTrackBar) ToString() string {
return TrackBar_ToString(t.instance)
}
func (t *TTrackBar) Align() TAlign {
return TrackBar_GetAlign(t.instance)
}
func (t *TTrackBar) SetAlign(value TAlign) {
TrackBar_SetAlign(t.instance, value)
}
func (t *TTrackBar) Anchors() TAnchors {
return TrackBar_GetAnchors(t.instance)
}
func (t *TTrackBar) SetAnchors(value TAnchors) {
TrackBar_SetAnchors(t.instance, value)
}
func (t *TTrackBar) BorderWidth() int32 {
return TrackBar_GetBorderWidth(t.instance)
}
func (t *TTrackBar) SetBorderWidth(value int32) {
TrackBar_SetBorderWidth(t.instance, value)
}
func (t *TTrackBar) DoubleBuffered() bool {
return TrackBar_GetDoubleBuffered(t.instance)
}
func (t *TTrackBar) SetDoubleBuffered(value bool) {
TrackBar_SetDoubleBuffered(t.instance, value)
}
func (t *TTrackBar) DragCursor() TCursor {
return TrackBar_GetDragCursor(t.instance)
}
func (t *TTrackBar) SetDragCursor(value TCursor) {
TrackBar_SetDragCursor(t.instance, value)
}
func (t *TTrackBar) DragKind() TDragKind {
return TrackBar_GetDragKind(t.instance)
}
func (t *TTrackBar) SetDragKind(value TDragKind) {
TrackBar_SetDragKind(t.instance, value)
}
func (t *TTrackBar) DragMode() TDragMode {
return TrackBar_GetDragMode(t.instance)
}
func (t *TTrackBar) SetDragMode(value TDragMode) {
TrackBar_SetDragMode(t.instance, value)
}
func (t *TTrackBar) Enabled() bool {
return TrackBar_GetEnabled(t.instance)
}
func (t *TTrackBar) SetEnabled(value bool) {
TrackBar_SetEnabled(t.instance, value)
}
func (t *TTrackBar) LineSize() int32 {
return TrackBar_GetLineSize(t.instance)
}
func (t *TTrackBar) SetLineSize(value int32) {
TrackBar_SetLineSize(t.instance, value)
}
func (t *TTrackBar) Max() int32 {
return TrackBar_GetMax(t.instance)
}
func (t *TTrackBar) SetMax(value int32) {
TrackBar_SetMax(t.instance, value)
}
func (t *TTrackBar) Min() int32 {
return TrackBar_GetMin(t.instance)
}
func (t *TTrackBar) SetMin(value int32) {
TrackBar_SetMin(t.instance, value)
}
func (t *TTrackBar) Orientation() TTrackBarOrientation {
return TrackBar_GetOrientation(t.instance)
}
func (t *TTrackBar) SetOrientation(value TTrackBarOrientation) {
TrackBar_SetOrientation(t.instance, value)
}
func (t *TTrackBar) ParentCtl3D() bool {
return TrackBar_GetParentCtl3D(t.instance)
}
func (t *TTrackBar) SetParentCtl3D(value bool) {
TrackBar_SetParentCtl3D(t.instance, value)
}
func (t *TTrackBar) ParentDoubleBuffered() bool {
return TrackBar_GetParentDoubleBuffered(t.instance)
}
func (t *TTrackBar) SetParentDoubleBuffered(value bool) {
TrackBar_SetParentDoubleBuffered(t.instance, value)
}
func (t *TTrackBar) ParentShowHint() bool {
return TrackBar_GetParentShowHint(t.instance)
}
func (t *TTrackBar) SetParentShowHint(value bool) {
TrackBar_SetParentShowHint(t.instance, value)
}
func (t *TTrackBar) PageSize() int32 {
return TrackBar_GetPageSize(t.instance)
}
func (t *TTrackBar) SetPageSize(value int32) {
TrackBar_SetPageSize(t.instance, value)
}
func (t *TTrackBar) PopupMenu() *TPopupMenu {
return PopupMenuFromInst(TrackBar_GetPopupMenu(t.instance))
}
func (t *TTrackBar) SetPopupMenu(value IComponent) {
TrackBar_SetPopupMenu(t.instance, CheckPtr(value))
}
func (t *TTrackBar) Frequency() int32 {
return TrackBar_GetFrequency(t.instance)
}
func (t *TTrackBar) SetFrequency(value int32) {
TrackBar_SetFrequency(t.instance, value)
}
func (t *TTrackBar) Position() int32 {
return TrackBar_GetPosition(t.instance)
}
func (t *TTrackBar) SetPosition(value int32) {
TrackBar_SetPosition(t.instance, value)
}
func (t *TTrackBar) PositionToolTip() TPositionToolTip {
return TrackBar_GetPositionToolTip(t.instance)
}
func (t *TTrackBar) SetPositionToolTip(value TPositionToolTip) {
TrackBar_SetPositionToolTip(t.instance, value)
}
func (t *TTrackBar) SliderVisible() bool {
return TrackBar_GetSliderVisible(t.instance)
}
func (t *TTrackBar) SetSliderVisible(value bool) {
TrackBar_SetSliderVisible(t.instance, value)
}
func (t *TTrackBar) SelEnd() int32 {
return TrackBar_GetSelEnd(t.instance)
}
func (t *TTrackBar) SetSelEnd(value int32) {
TrackBar_SetSelEnd(t.instance, value)
}
func (t *TTrackBar) SelStart() int32 {
return TrackBar_GetSelStart(t.instance)
}
func (t *TTrackBar) SetSelStart(value int32) {
TrackBar_SetSelStart(t.instance, value)
}
func (t *TTrackBar) ShowHint() bool {
return TrackBar_GetShowHint(t.instance)
}
func (t *TTrackBar) SetShowHint(value bool) {
TrackBar_SetShowHint(t.instance, value)
}
func (t *TTrackBar) ShowSelRange() bool {
return TrackBar_GetShowSelRange(t.instance)
}
func (t *TTrackBar) SetShowSelRange(value bool) {
TrackBar_SetShowSelRange(t.instance, value)
}
func (t *TTrackBar) TabOrder() uint16 {
return TrackBar_GetTabOrder(t.instance)
}
func (t *TTrackBar) SetTabOrder(value uint16) {
TrackBar_SetTabOrder(t.instance, value)
}
func (t *TTrackBar) TabStop() bool {
return TrackBar_GetTabStop(t.instance)
}
func (t *TTrackBar) SetTabStop(value bool) {
TrackBar_SetTabStop(t.instance, value)
}
func (t *TTrackBar) ThumbLength() int32 {
return TrackBar_GetThumbLength(t.instance)
}
func (t *TTrackBar) SetThumbLength(value int32) {
TrackBar_SetThumbLength(t.instance, value)
}
func (t *TTrackBar) TickMarks() TTickMark {
return TrackBar_GetTickMarks(t.instance)
}
func (t *TTrackBar) SetTickMarks(value TTickMark) {
TrackBar_SetTickMarks(t.instance, value)
}
func (t *TTrackBar) TickStyle() TTickStyle {
return TrackBar_GetTickStyle(t.instance)
}
func (t *TTrackBar) SetTickStyle(value TTickStyle) {
TrackBar_SetTickStyle(t.instance, value)
}
func (t *TTrackBar) Visible() bool {
return TrackBar_GetVisible(t.instance)
}
func (t *TTrackBar) SetVisible(value bool) {
TrackBar_SetVisible(t.instance, value)
}
func (t *TTrackBar) StyleElements() TStyleElements {
return TrackBar_GetStyleElements(t.instance)
}
func (t *TTrackBar) SetStyleElements(value TStyleElements) {
TrackBar_SetStyleElements(t.instance, value)
}
func (t *TTrackBar) SetOnContextPopup(fn TContextPopupEvent) {
TrackBar_SetOnContextPopup(t.instance, fn)
}
func (t *TTrackBar) SetOnChange(fn TNotifyEvent) {
TrackBar_SetOnChange(t.instance, fn)
}
func (t *TTrackBar) SetOnDragDrop(fn TDragDropEvent) {
TrackBar_SetOnDragDrop(t.instance, fn)
}
func (t *TTrackBar) SetOnDragOver(fn TDragOverEvent) {
TrackBar_SetOnDragOver(t.instance, fn)
}
func (t *TTrackBar) SetOnEndDock(fn TEndDragEvent) {
TrackBar_SetOnEndDock(t.instance, fn)
}
func (t *TTrackBar) SetOnEndDrag(fn TEndDragEvent) {
TrackBar_SetOnEndDrag(t.instance, fn)
}
func (t *TTrackBar) SetOnEnter(fn TNotifyEvent) {
TrackBar_SetOnEnter(t.instance, fn)
}
func (t *TTrackBar) SetOnExit(fn TNotifyEvent) {
TrackBar_SetOnExit(t.instance, fn)
}
func (t *TTrackBar) SetOnKeyDown(fn TKeyEvent) {
TrackBar_SetOnKeyDown(t.instance, fn)
}
func (t *TTrackBar) SetOnKeyPress(fn TKeyPressEvent) {
TrackBar_SetOnKeyPress(t.instance, fn)
}
func (t *TTrackBar) SetOnKeyUp(fn TKeyEvent) {
TrackBar_SetOnKeyUp(t.instance, fn)
}
func (t *TTrackBar) SetOnStartDock(fn TStartDockEvent) {
TrackBar_SetOnStartDock(t.instance, fn)
}
func (t *TTrackBar) DockSite() bool {
return TrackBar_GetDockSite(t.instance)
}
func (t *TTrackBar) SetDockSite(value bool) {
TrackBar_SetDockSite(t.instance, value)
}
func (t *TTrackBar) Brush() *TBrush {
return BrushFromInst(TrackBar_GetBrush(t.instance))
}
func (t *TTrackBar) ControlCount() int32 {
return TrackBar_GetControlCount(t.instance)
}
func (t *TTrackBar) Handle() HWND {
return TrackBar_GetHandle(t.instance)
}
func (t *TTrackBar) ParentWindow() HWND {
return TrackBar_GetParentWindow(t.instance)
}
func (t *TTrackBar) SetParentWindow(value HWND) {
TrackBar_SetParentWindow(t.instance, value)
}
func (t *TTrackBar) UseDockManager() bool {
return TrackBar_GetUseDockManager(t.instance)
}
func (t *TTrackBar) SetUseDockManager(value bool) {
TrackBar_SetUseDockManager(t.instance, value)
}
func (t *TTrackBar) Action() *TAction {
return ActionFromInst(TrackBar_GetAction(t.instance))
}
func (t *TTrackBar) SetAction(value IComponent) {
TrackBar_SetAction(t.instance, CheckPtr(value))
}
func (t *TTrackBar) BiDiMode() TBiDiMode {
return TrackBar_GetBiDiMode(t.instance)
}
func (t *TTrackBar) SetBiDiMode(value TBiDiMode) {
TrackBar_SetBiDiMode(t.instance, value)
}
func (t *TTrackBar) BoundsRect() TRect {
return TrackBar_GetBoundsRect(t.instance)
}
func (t *TTrackBar) SetBoundsRect(value TRect) {
TrackBar_SetBoundsRect(t.instance, value)
}
func (t *TTrackBar) ClientHeight() int32 {
return TrackBar_GetClientHeight(t.instance)
}
func (t *TTrackBar) SetClientHeight(value int32) {
TrackBar_SetClientHeight(t.instance, value)
}
func (t *TTrackBar) ClientRect() TRect {
return TrackBar_GetClientRect(t.instance)
}
func (t *TTrackBar) ClientWidth() int32 {
return TrackBar_GetClientWidth(t.instance)
}
func (t *TTrackBar) SetClientWidth(value int32) {
TrackBar_SetClientWidth(t.instance, value)
}
func (t *TTrackBar) ExplicitLeft() int32 {
return TrackBar_GetExplicitLeft(t.instance)
}
func (t *TTrackBar) ExplicitTop() int32 {
return TrackBar_GetExplicitTop(t.instance)
}
func (t *TTrackBar) ExplicitWidth() int32 {
return TrackBar_GetExplicitWidth(t.instance)
}
func (t *TTrackBar) ExplicitHeight() int32 {
return TrackBar_GetExplicitHeight(t.instance)
}
func (t *TTrackBar) Floating() bool {
return TrackBar_GetFloating(t.instance)
}
func (t *TTrackBar) Parent() *TWinControl {
return WinControlFromInst(TrackBar_GetParent(t.instance))
}
func (t *TTrackBar) SetParent(value IWinControl) {
TrackBar_SetParent(t.instance, CheckPtr(value))
}
func (t *TTrackBar) AlignWithMargins() bool {
return TrackBar_GetAlignWithMargins(t.instance)
}
func (t *TTrackBar) SetAlignWithMargins(value bool) {
TrackBar_SetAlignWithMargins(t.instance, value)
}
func (t *TTrackBar) Left() int32 {
return TrackBar_GetLeft(t.instance)
}
func (t *TTrackBar) SetLeft(value int32) {
TrackBar_SetLeft(t.instance, value)
}
func (t *TTrackBar) Top() int32 {
return TrackBar_GetTop(t.instance)
}
func (t *TTrackBar) SetTop(value int32) {
TrackBar_SetTop(t.instance, value)
}
func (t *TTrackBar) Width() int32 {
return TrackBar_GetWidth(t.instance)
}
func (t *TTrackBar) SetWidth(value int32) {
TrackBar_SetWidth(t.instance, value)
}
func (t *TTrackBar) Height() int32 {
return TrackBar_GetHeight(t.instance)
}
func (t *TTrackBar) SetHeight(value int32) {
TrackBar_SetHeight(t.instance, value)
}
func (t *TTrackBar) Cursor() TCursor {
return TrackBar_GetCursor(t.instance)
}
func (t *TTrackBar) SetCursor(value TCursor) {
TrackBar_SetCursor(t.instance, value)
}
func (t *TTrackBar) Hint() string {
return TrackBar_GetHint(t.instance)
}
func (t *TTrackBar) SetHint(value string) {
TrackBar_SetHint(t.instance, value)
}
func (t *TTrackBar) Margins() *TMargins {
return MarginsFromInst(TrackBar_GetMargins(t.instance))
}
func (t *TTrackBar) SetMargins(value *TMargins) {
TrackBar_SetMargins(t.instance, CheckPtr(value))
}
func (t *TTrackBar) CustomHint() *TCustomHint {
return CustomHintFromInst(TrackBar_GetCustomHint(t.instance))
}
func (t *TTrackBar) SetCustomHint(value IComponent) {
TrackBar_SetCustomHint(t.instance, CheckPtr(value))
}
func (t *TTrackBar) ComponentCount() int32 {
return TrackBar_GetComponentCount(t.instance)
}
func (t *TTrackBar) ComponentIndex() int32 {
return TrackBar_GetComponentIndex(t.instance)
}
func (t *TTrackBar) SetComponentIndex(value int32) {
TrackBar_SetComponentIndex(t.instance, value)
}
func (t *TTrackBar) Owner() *TComponent {
return ComponentFromInst(TrackBar_GetOwner(t.instance))
}
func (t *TTrackBar) Name() string {
return TrackBar_GetName(t.instance)
}
func (t *TTrackBar) SetName(value string) {
TrackBar_SetName(t.instance, value)
}
func (t *TTrackBar) Tag() int {
return TrackBar_GetTag(t.instance)
}
func (t *TTrackBar) SetTag(value int) {
TrackBar_SetTag(t.instance, value)
}
func (t *TTrackBar) Controls(Index int32) *TControl {
return ControlFromInst(TrackBar_GetControls(t.instance, Index))
}
func (t *TTrackBar) Components(AIndex int32) *TComponent {
return ComponentFromInst(TrackBar_GetComponents(t.instance, AIndex))
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ying32/govcl.git
git@gitee.com:ying32/govcl.git
ying32
govcl
govcl
v1.1.20

搜索帮助

0d507c66 1850385 C8b1a773 1850385