Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxStatusBar.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxStatusBar : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxStatusBar(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxStatusBar obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual void StartProgressor(CFxString displayString) {
56 }
57
58 public virtual void StopProgressor() {
61 }
62
63 public virtual void MeterProgress(double dPos) {
66 }
67
68 public virtual CFxString GetText(bool useLeftLabel) {
69 CFxString ret = new CFxString(PCADGlobalsPINVOKE.CFxStatusBar_GetText(swigCPtr, useLeftLabel), true);
71 return ret;
72 }
73
74 public virtual void SetText(CFxString text, bool useLeftLabel) {
75 PCADGlobalsPINVOKE.CFxStatusBar_SetText(swigCPtr, CFxString.getCPtr(text), useLeftLabel);
77 }
78
79 public virtual void RefreshCoords(OdGePoint3d point, bool isInsideCommand, OdGePoint3d pBasePoint) {
82 }
83
84 public virtual void RefreshCoords(OdGePoint3d point, bool isInsideCommand) {
87 }
88
90 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxStatusBar_GetFxWidget(swigCPtr);
91 SWIGTYPE_p_CFxWidget ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxWidget(cPtr, false);
93 return ret;
94 }
95
96 public virtual IntPtr GetWindowHandle() {
97// test csout
98 /*SIMPLETYPE*/
101 return ret;
102 }
103
105 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxStatusBar_GetSubControl(swigCPtr, (int)id);
106 SWIGTYPE_p_CFxWidget ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CFxWidget(cPtr, false);
108 return ret;
109 }
110
111 public enum SubElementId {
112 eCoords = 1
113 }
114
115}
116
117}
virtual SWIGTYPE_p_CFxWidget GetSubControl(CFxStatusBar.SubElementId id)
virtual void Dispose(bool disposing)
Definition: CFxStatusBar.cs:41
virtual void StartProgressor(CFxString displayString)
Definition: CFxStatusBar.cs:53
virtual IntPtr GetWindowHandle()
Definition: CFxStatusBar.cs:96
virtual SWIGTYPE_p_CFxWidget GetFxWidget()
Definition: CFxStatusBar.cs:89
virtual CFxString GetText(bool useLeftLabel)
Definition: CFxStatusBar.cs:68
virtual void MeterProgress(double dPos)
Definition: CFxStatusBar.cs:63
static HandleRef getCPtr(CFxStatusBar obj)
Definition: CFxStatusBar.cs:28
CFxStatusBar(IntPtr cPtr, bool cMemoryOwn)
Definition: CFxStatusBar.cs:23
virtual void RefreshCoords(OdGePoint3d point, bool isInsideCommand, OdGePoint3d pBasePoint)
Definition: CFxStatusBar.cs:79
virtual void StopProgressor()
Definition: CFxStatusBar.cs:58
virtual void SetText(CFxString text, bool useLeftLabel)
Definition: CFxStatusBar.cs:74
virtual void RefreshCoords(OdGePoint3d point, bool isInsideCommand)
Definition: CFxStatusBar.cs:84
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static void CFxStatusBar_RefreshCoords__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void CFxStatusBar_StopProgressor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxStatusBar_StartProgressor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr CFxStatusBar_GetFxWidget(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxStatusBar_SetText(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static IntPtr CFxStatusBar_GetWindowHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxStatusBar_GetText(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxStatusBar_GetSubControl(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void CFxStatusBar_RefreshCoords__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void CFxStatusBar_MeterProgress(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_CFxStatusBar(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26