From 966f69e8f98e3e02f9f29cc93b85617913342156 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Sat, 4 Sep 2010 15:28:04 +0200 Subject: [PATCH] Makefile for FPDoc + more documentation --- LazDoc/Makefile | 16 ++++++++++++++++ LazDoc/dtm.xml | 13 +++++++++++++ LazDoc/mufasatypes.xml | 40 ++++++++++++++++++++++++++++++++++++++++ LazDoc/os_linux.xml | 32 +++++++++++++++++++++++++++++++- LazDoc/simbasettings.xml | 6 ++++++ 5 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 LazDoc/Makefile create mode 100644 LazDoc/dtm.xml create mode 100644 LazDoc/mufasatypes.xml create mode 100644 LazDoc/simbasettings.xml diff --git a/LazDoc/Makefile b/LazDoc/Makefile new file mode 100644 index 0000000..942fc0a --- /dev/null +++ b/LazDoc/Makefile @@ -0,0 +1,16 @@ + +.PHONY: default clean + +docunits := os_linux dtm mufasatypes +coreunits := os_linux dtm mufasatypes + +default: + + fpdoc --package=Simba \ + `echo $(docunits) | sed -r 's/\w+/--descr=&.xml/g'` \ + `echo $(coreunits) | sed -r 's/\w+/--input=..\/Units\/MMLCore\/&.pas/g'` \ + --output=simbafpcdoc/ + + +clean: + rm -rf simbafpcdoc diff --git a/LazDoc/dtm.xml b/LazDoc/dtm.xml new file mode 100644 index 0000000..8056879 --- /dev/null +++ b/LazDoc/dtm.xml @@ -0,0 +1,13 @@ + + + + + + DTM Class + + + Returns true if the DTM is valid. + + + + diff --git a/LazDoc/mufasatypes.xml b/LazDoc/mufasatypes.xml new file mode 100644 index 0000000..0b68aa3 --- /dev/null +++ b/LazDoc/mufasatypes.xml @@ -0,0 +1,40 @@ + + + + + + Structure containing pixel data pointer and information about the pointer + + + The directory seperator constant + + + Mouse press enum + + + Mouse down + + + Mouse up + + + Target Window Mode + + + Bitmap Window Mode + + + MS Windows Window Mode + + + HDC Window Mode + + + Raw Data Window Mode + + + X11 Window Mode + + + + diff --git a/LazDoc/os_linux.xml b/LazDoc/os_linux.xml index 02d737a..f287d9e 100644 --- a/LazDoc/os_linux.xml +++ b/LazDoc/os_linux.xml @@ -59,7 +59,7 @@ X Error Handler. - This is extremely hacky, but also very useful. + This is extremely hacky, but also very useful. We have to install a X error handler, because otherwise X will terminate out entire app on error. @@ -81,6 +81,36 @@ Returns the stored TWindow + + X11 display connection + + + Currently selected TWindow + + + XImage buffer + + + Used to determine wether we still have an image loaded or not. + + + keyinput class from Lazarus + + + The old X error handler + + + X Display Connection + + + Desktop TWindow + + + Critical Section used to handle X errors in a pretty way. + + + xerror contains the last known X error that hasn't been handled. + diff --git a/LazDoc/simbasettings.xml b/LazDoc/simbasettings.xml new file mode 100644 index 0000000..f7ef0d7 --- /dev/null +++ b/LazDoc/simbasettings.xml @@ -0,0 +1,6 @@ + + + + + +