From 07805fc51aa34031f8f3493b43fd1110b715b34c Mon Sep 17 00:00:00 2001 From: blaszijk Date: Sun, 1 Jan 2012 22:49:57 +0000 Subject: [PATCH] initial import of documentation git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2208 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../nvidia-widgets/doc/nvglutwidgets.xml | 31 +++++ components/nvidia-widgets/doc/nvglwidgets.xml | 8 ++ .../nvidia-widgets/doc/nvshaderutils.xml | 8 ++ components/nvidia-widgets/doc/nvwidgets.xml | 124 ++++++++++++++++++ 4 files changed, 171 insertions(+) create mode 100644 components/nvidia-widgets/doc/nvglutwidgets.xml create mode 100644 components/nvidia-widgets/doc/nvglwidgets.xml create mode 100644 components/nvidia-widgets/doc/nvshaderutils.xml create mode 100644 components/nvidia-widgets/doc/nvwidgets.xml diff --git a/components/nvidia-widgets/doc/nvglutwidgets.xml b/components/nvidia-widgets/doc/nvglutwidgets.xml new file mode 100644 index 000000000..813d3fa53 --- /dev/null +++ b/components/nvidia-widgets/doc/nvglutwidgets.xml @@ -0,0 +1,31 @@ + + + + + + Translate non-ascii keys from GLUT to nvWidgets + + + UI method for processing key events + Call this method from the glutReshapeFunc callback + + + UI method for processing GLUT mouse button events + Call this method from the glutMouseFunc callback, the modifier parameter maps to glutGetModifiers. + + + One time initialization + + + UI destructor + + + UI constructor + Allows for overriding the standard painter + + + Variable indicating a default painter object + + + + diff --git a/components/nvidia-widgets/doc/nvglwidgets.xml b/components/nvidia-widgets/doc/nvglwidgets.xml new file mode 100644 index 000000000..45cf19d1d --- /dev/null +++ b/components/nvidia-widgets/doc/nvglwidgets.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/components/nvidia-widgets/doc/nvshaderutils.xml b/components/nvidia-widgets/doc/nvshaderutils.xml new file mode 100644 index 000000000..95a29896f --- /dev/null +++ b/components/nvidia-widgets/doc/nvshaderutils.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/components/nvidia-widgets/doc/nvwidgets.xml b/components/nvidia-widgets/doc/nvwidgets.xml new file mode 100644 index 000000000..04c3c14d5 --- /dev/null +++ b/components/nvidia-widgets/doc/nvwidgets.xml @@ -0,0 +1,124 @@ + + + + + + + + 2D point object + + + Initialize the point object + + + Rectangle object + + + X position of top left point + + + Y position of top left point + + + Width of rectangle + + + Height of rectangle + + + An enum to identify the left mouse button + + + An enum to identify the middle mouse button + + + An enum to identify the right mouse button + + + UI method for processing window size events + + + Check if the UI is currently on Focus + + + UI method for processing mouse events + + + Group record + + + anchor point + width and height of the region + + + group behavior + + + border + + + interior + + + UI method for processing mouse motion events + + + UI method for processing key events + + + UI method for entering UI processing mode + This function must be used to begin the UI processing + + + UI method for leaving UI processing mode + This function must be used to end the UI processing + + + UI method for drawing a static text label + The label display a non interactive text. +The text can have multiple lines + + + optionally provides a location and size for the label + + + Text to display for the label (can have several lines) + + + optional style flag to modify the look + + + UI method for rendering and processing a push button + + + optionally provides a location and size for the button + + + text to display on the button + + + whether the button is depressed + if state is NULL; the button behave like a touch button else; the button behave like a toggle button + + + optional style flag to modify the look + + + UI method for rendering and processing a check button + Check button behaves similarly as a toggle button used to display and edit a bool property. + + + optionally provides a location and size for the button + + + text to display on the button + + + whether the check button is checked or not + if state is NULL; the buttoin behave like if a touch button unchecked + + + optional style flag to modify the look + + + +