11#include "GUIDefinitions.h"
31 typedef size_t __H_FLImaging_GUI_CGUIViewBase;
32 typedef size_t __H_FLImaging_GUI_CKeyEventProcedure;
141 void MoveWindow(int32_t i32X, int32_t i32Y, int32_t i32Width, int32_t i32Height,
bool bRepaint);
163 bool SetWindowPos(
size_t stHandleInsertAfter, int32_t i32X, int32_t i32Y, int32_t i32CX, int32_t i32CY, uint32_t u32Flags);
979 const CResult InternalRegisterHandle(
size_t stParentHandle);
980 const CResult InternalSetParentWindowAndFit(
size_t stParentHandle,
bool bAutoFit);
986 DeclareGetClassType();
989 __H_FLImaging_GUI_CGUIViewBase m_hView;
990 size_t m_stViewHandle;
991 size_t m_stParentHandle;
996 friend class CGUIManagerViewWrap;
997 friend class CGUIManager;
Template type array class.
Definition RangeTree.h:19
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition INIUtilities.h:20
Simplified class representing a rectangle.
Definition TRect.h:37
FLImaging module execution result object.
Definition ResultsDef.h:1514
A class representing a rectangle.
Definition FLRect.h:24
A class of view base.
Definition GUIViewImageBase.h:43
A base class of View C API wrapping class.
Definition GUIViewImageBaseWrap.h:28
virtual EGUIViewImageFontWeight GetDrawingFigureTextFontWeight() const
A function that retrieves the default font weight applied when drawing text on a layer if no specific...
virtual EGUIViewImageTextAlignment GetDrawingFigureTextAlignment() const
A function that retrieves the default alignment of a string's position when drawing text on a layer i...
const CResult DesynchronizeWindow(const CGUIViewImageBaseWrap *pTargetView)
Disable synchronization for the window of the parameter.
virtual float GetDrawingFigureLineColorAlphaRatio() const
A function that retrieves the default alpha ratio of the line color for a drawing figure when drawing...
CGUIViewImageBaseWrap()
Default constructor.
virtual void SetDrawingFigureLineColorAlphaRatio(float f32LineColorAlphaRatio)
A function that sets the default alpha ratio of the line color for a drawing figure when drawing on a...
virtual bool IsViewListRegistrationEnabled() const
Checks whether this view can be registered in the view list of each class object that inherits CGUIPr...
void Unlock()
Unlocks the object.
bool SetWindowPos(size_t stHandleInsertAfter, int32_t i32X, int32_t i32Y, int32_t i32CX, int32_t i32CY, uint32_t u32Flags)
Sets the size, location, and Z order of the windows.
virtual void SetDrawingFigurePenStyle(EGUIViewImagePenStyle ePenStyle)
A function that sets the default pen style for a drawing figure when drawing on a layer if no specifi...
virtual void SetDrawingFigureTextFontWeight(EGUIViewImageFontWeight eFontWeight)
A function that sets the default font weight to be applied when drawing text on a layer if no specifi...
virtual void SetDrawingFigureLineWidth(int32_t i32LineWidth)
A function that sets the default line width for a drawing figure when no specific width is specified.
virtual uint32_t GetDrawingFigureFillColor() const
A function that retrieves the current default fill color of a drawing figure.
virtual void EnableAttributeDrawingRealSizeLineWidth(bool bEnable)
Sets the default RealSizeLineWidth enable state when drawing shapes on the layer, in cases where the ...
bool IsAvailable()
Check window validity of view.
virtual const CResult AddKeyUpEventProcedure(__H_FLImaging_GUI_CKeyEventProcedure hProcedure)
Add handlers to receive key-up events when using key event parent notifications.
virtual size_t SetFocus()
Sets the keyboard focus to the specified window.
CGUIViewImageBaseWrap * GetRootSyncWindow() const
Gets the wrapping class of the root view that is currently synchronized with the image window.
virtual void EnableDrawingFigureTextItalic(bool bItalic)
A function that sets the default italic style for the font when drawing text on a layer if no specifi...
virtual void SetDrawingFigureTextFontSize(float f32FontSize)
A function that sets the default font size to be applied when drawing text on a layer if no specific ...
void BringToBottom()
Move the Z-Order of the window to the bottom.
virtual float GetDrawingFigureTextFontSize() const
A function that retrieves the default font size applied when drawing text on a layer if no specific f...
void Lock()
Sets a lock on the object.
virtual const CResult EnableViewListRegistration(bool bEnable=true)
Determines whether to register this view in the view list of each class object that inherits CGUIProp...
virtual bool IsToolBarVisible()
Determines whether the ToolBar is shown or hidden.
virtual void ShowUnavailableContextMenu(bool bEnable)
Sets whether to hide or show the disabled context menu. The activation/deactivation of the context me...
virtual bool IsScrollBarVisible()
Determines whether the ScrollBar is shown or hidden.
virtual bool IsAttributeDrawingRealSizeLineWidthEnabled() const
Gets the default RealSizeLineWidth enable state when drawing shapes on the layer, in cases where the ...
virtual void SetDrawingFigureTextAngle(double f64Angle)
A function that sets the default angle of a string when drawing text on a layer if no specific angle ...
virtual int32_t GetDrawingFigureLineWidth() const
A function that retrieves the current default line width of a drawing figure.
virtual bool IsUnavailableContextMenuVisible() const
Returns whether the disabled context menu is hidden or shown.
virtual void SetDrawingFigureTextAlignment(EGUIViewImageTextAlignment eAlign)
A function that sets the default alignment of a string's position when drawing text on a layer if no ...
virtual void SetDrawingFigureEdgeColor(uint32_t u32EdgeColor)
A function that sets the default edge color for a drawing figure when no specific color is specified.
void RedrawWindow()
Update the screen of the view.
void BringToTop()
Move the Z-Order of the window to the top.
Foundation::CFLRect< int32_t > GetClientRect()
Gets the window client area of the view.
void MoveWindow(int32_t i32X, int32_t i32Y, int32_t i32Width, int32_t i32Height, bool bRepaint)
Move the window.
bool ShowWindow(int32_t i32CmdShow)
Set the display status of the window.
virtual ~CGUIViewImageBaseWrap()
Default destructor.
virtual void EnableKeyEventParentNotification(bool bEnable)
Sets whether key event parent notifications are enabled.
virtual void SetDrawingFigureTextFontName(const Base::CFLString< wchar_t > &strFontName)
A function that sets the default font name to be applied when drawing text on a layer if no specific ...
virtual const CResult ShowToolBar(bool bShow)
Sets whether the ToolBar is show/hide.
const CResult SynchronizeWindow(const CGUIViewImageBaseWrap *pTargetView)
Synchronizes the window of the parameter with the current window.
const CResult DesynchronizeWindowAll()
Disconnects the current window.
bool IsAvailableHandle()
Check window handle validity of view.
virtual EGUIViewImagePenStyle GetDrawingFigurePenStyle() const
A function that retrieves the default pen style applied to a drawing figure when drawing on a layer i...
virtual const CResult AddKeyDownEventProcedure(__H_FLImaging_GUI_CKeyEventProcedure hProcedure)
Add handlers to receive key-down events when using key event parent notifications.
virtual const CResult ClearIgnoreShortcut()
Clears the ignore shortcut.
const CResult ResignRootWindow()
If the root view of synchronized windows is the current image window, replace the root view with anot...
virtual void UnlockUpdate()
Unlock the update of the image on the screen.
virtual bool IsLButtonDown() const
Returns whether the left mouse button is currently pressed.
void UpdateWindow()
Immediately update the screen of the view (synchronous function).
virtual Base::CFLString< wchar_t > GetDrawingFigureTextFontName() const
A function that retrieves the default font name applied when drawing text on a layer if no specific f...
Foundation::CFLRect< int32_t > GetClientRectCanvasRegion()
Gets the window canvas area of the view.
virtual float GetDrawingFigureFillColorAlphaRatio() const
A function that retrieves the default alpha ratio of the fill color for a drawing figure when drawing...
virtual uint32_t GetDrawingFigureEdgeColor() const
A function that retrieves the current default edge color of a drawing figure.
virtual const CResult AddIgnoreShortcut(const Base::CFLArray< int32_t > &flaKeySequence)
Add shortcuts to ignore.
void Invalidate(bool bErase=true)
Invalidate the screen of the view (asynchronous function).
virtual bool IsDrawingFigureTextRealSizeEnabled() const
A function that retrieves the default setting for whether to draw text at actual size when no specifi...
virtual size_t GetViewPtr()
Retrieves a pointer to the view.
virtual void SetDrawingFigureTextFontName(const Base::CFLString< wchar_t > *pStrFontName)
A function that sets the default font name to be applied when drawing text on a layer if no specific ...
virtual bool IsContextMenuEnabled()
Gets the context menu availability.
virtual bool IsStatusBarVisible()
Determines whether the StatusBar is shown or hidden.
virtual bool IsRButtonDown() const
Returns whether the right mouse button is currently pressed.
virtual double GetDrawingFigureTextAngle() const
A function that retrieves the default angle of a string when drawing text on a layer if no specific a...
virtual void LockUpdate()
Lock the update of the image on the screen.
virtual bool IsDrawingFigureTextItalicEnabled() const
A function that retrieves the default italic style applied to the font when drawing text on a layer i...
virtual size_t GetMessageCallerPtr()
Returns the pointer of the broadcast caller object.
virtual void SetDrawingFigureFillColorAlphaRatio(float f32FillColorAlphaRatio)
A function that sets the default alpha ratio of the fill color for a drawing figure when drawing on a...
virtual void SetDrawingFigureFillColor(uint32_t u32FillColor)
A function that sets the default fill color for a drawing figure when no specific color is specified.
virtual void SetDrawingFigureLineColor(uint32_t u32LineColor)
A function that sets the default line color used when drawing figures or text on a layer,...
bool IsSynchronizedWindow()
Returns whether the current image window is synchronized with another image window....
virtual bool IsMButtonDown() const
Returns whether the middle mouse button is currently pressed.
virtual bool IsShortcutIgnored(const Base::CFLArray< int32_t > &flaKeySequence) const
Returns whether the shortcut is ignored.
bool IsWindowVisible()
Gets the visibility status of the window.
virtual Base::TRect< int32_t > GetRestoreWindowRect()
Gets the restore window area of the view.
virtual uint32_t GetDrawingFigureLineColor() const
A function that retrieves the current default line color for a drawing figure.
virtual void EnableDrawingFigureTextRealSize(bool bRealSize)
A function that sets the default value for drawing text at actual size when no specific size setting ...
virtual bool IsKeyEventParentNotificationEnabled() const
Determines whether key event parent notifications are enabled.
virtual void EnableContextMenu(bool bEnable)
Sets the availability of the context menu.
A class of image view.
Definition GUIViewImage.h:319
EGUIViewImageTextAlignment
Alignment text in an image view.
Definition GUIDefinitions.h:5096
EGUIViewImagePenStyle
Pen Style in Image View.
Definition GUIDefinitions.h:4810
EGUIViewImageFontWeight
Font thickness of image view.
Definition GUIDefinitions.h:4916