Commit 6e212851 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Add a skeleton TextGadgets internal header file.

The error base and, where possible, error numbers are set to be the same as used in the RISC OS Ltd version of the TextGadgets module.

Version 0.15. Tagged as 'Common-0_15'
parent 3e73fa00
/* (0.14)
/* (0.15)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.14
#define Module_MajorVersion_CMHG 0.15
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Oct 2008
#define Module_Date_CMHG 28 Feb 2010
#define Module_MajorVersion "0.14"
#define Module_Version 14
#define Module_MajorVersion "0.15"
#define Module_Version 15
#define Module_MinorVersion ""
#define Module_Date "07 Oct 2008"
#define Module_Date "28 Feb 2010"
#define Module_ApplicationDate "07-Oct-08"
#define Module_ApplicationDate "28-Feb-10"
#define Module_ComponentName "Common"
#define Module_ComponentPath "castle/RiscOS/Sources/Toolbox/Common"
#define Module_FullVersion "0.14"
#define Module_HelpVersion "0.14 (07 Oct 2008)"
#define Module_LibraryVersionInfo "0:14"
#define Module_FullVersion "0.15"
#define Module_HelpVersion "0.15 (28 Feb 2010)"
#define Module_LibraryVersionInfo "0:15"
/* Copyright 2010 Castle Technology Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* File: gadgets.h
* Purpose: Text Gadgets
*
*/
#ifndef __objects_gadgets_h
#define __objects_gadgets_h
#ifndef __toolbox_h
#include "objects/toolbox.h"
#endif
/* Gadgets SWI calls ****************************************************************************/
#define TextGadgets_SWIChunkBase 0x140180
#define TextGadgets_TextArea (TextGadgets_SWIChunkBase + 0)
#define TextGadgets_TextField (TextGadgets_SWIChunkBase + 1)
#define TextGadgets_ScrollList (TextGadgets_SWIChunkBase + 2)
#define TextGadgets_Scrollbar (TextGadgets_SWIChunkBase + 3)
#define TextGadgets_RedrawAll (TextGadgets_SWIChunkBase + 4)
#define TextGadgets_Filter (TextGadgets_SWIChunkBase + 5)
/* Gadgets Errors *******************************************************************************/
#ifndef Program_Error
#define Program_Error 0x1B000000
#endif
#define TextGadgets_ErrorBase (Program_Error | 0x0081A300)
#define TextGadgets_TasksActive (TextGadgets_ErrorBase+0x00) /* Gadgets has tasks active */
#define TextGadgets_DuffColour (TextGadgets_ErrorBase+0x01) /* Invalid desktop colour */
#define TextGadgets_AllocFailed (TextGadgets_ErrorBase+0x02) /* Out of memory */
#define TextGadgets_BarAllocFailed (TextGadgets_ErrorBase+0x03) /* Out of memory for scrollbar */
#define TextGadgets_ListAllocFailed (TextGadgets_ErrorBase+0x04) /* Out of memory for scrolllist */
#define TextGadgets_AreaAllocFailed (TextGadgets_ErrorBase+0x05) /* Out of memory for textarea */
#define TextGadgets_FontScanStrange (TextGadgets_ErrorBase+0x06) /* Font_ScanString strange */
#define TextGadgets_IntMallocFail (TextGadgets_ErrorBase+0x07) /* Int err - out of memory */
#define TextGadgets_IntNoSuchBlock (TextGadgets_ErrorBase+0x08) /* Int err - no such block */
#define TextGadgets_IntReinitMem (TextGadgets_ErrorBase+0x09) /* Int err - attempt to reinit block */
#define TextGadgets_IntNeverInit (TextGadgets_ErrorBase+0x0A) /* Int err - memory not init'd */
#define TextGadgets_UKScrollbar (TextGadgets_ErrorBase+0x0B) /* No such scrollbar */
#define TextGadgets_UKScrollList (TextGadgets_ErrorBase+0x0C) /* No such scrollbar */
#define TextGadgets_UKTextArea (TextGadgets_ErrorBase+0x0D) /* No such text area */
#define TextGadgets_BadIndex (TextGadgets_ErrorBase+0x0E) /* Bad index */
#endif
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* File: Toolbox.h
/* File: toolbox.h
* Purpose: The RISC OS Toolbox module
* Author: Ian Johnson
* History: 8-Dec-93: IDJ: created
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* File: generic.h
/* File: window.h
* Purpose: client-visible information for the Window Object class
* Author: Ian Johnson
* History: 08-Dec-93: IDJ: created
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment