PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
PEBLObjects.h
Go to the documentation of this file.
1//* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
3// Name: src/libs/PEBLObjects.h
4// Purpose: Function Library for managing PEBL Objects
5// Author: Shane T. Mueller, Ph.D.
6// Copyright: (c) 2003-2026 Shane T. Mueller <smueller@obereed.net>
7// License: GPL 2
8//
9//
10//
11// This file is part of the PEBL project.
12//
13// PEBL is free software; you can redistribute it and/or modify
14// it under the terms of the GNU General Public License as published by
15// the Free Software Foundation; either version 2 of the License, or
16// (at your option) any later version.
17//
18// PEBL is distributed in the hope that it will be useful,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21// GNU General Public License for more details.
22//
23// You should have received a copy of the GNU General Public License
24// along with PEBL; if not, write to the Free Software
25// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27#ifndef __PEBLOBJECTS_H__
28#define __PEBLOBJECTS_H__
29
30#ifdef PEBL_VALIDATOR
31#include "../platforms/validator/PlatformEnvironment.h"
32#else
33#include "../platforms/sdl/PlatformEnvironment.h"
34#endif
35#include "../apps/Globals.h"
36
37class Variant;
38
39
40namespace PEBLObjects
41{
42
44 bool windowed,bool resizeable,bool unicode );
54
57
58
59 //These control TextBoxes
66
67
69
72
74
80
83
87
89
90 //Functions to create, load and play sounds.
105 Variant StartAudioMonitor(Variant v); // Real-time audio monitoring
108
109 //Functions to draw things.
118
120
123
126
127
129
130
133
135}
136
137
138#endif
PEBLVideoDepth
Definition Globals.h:69
PEBLVideoMode
Definition Globals.h:58
Variant SetEyeTrackerHandler(Variant v)
Variant SetPanning(Variant v)
Variant GetPixelColor(Variant v)
Variant SetEditable(Variant v)
Variant StartAudioMonitor(Variant v)
Variant DrawFor(Variant v)
Variant MakeColorRGB(Variant v)
Variant Line(Variant v)
Variant Move(Variant v)
Variant PrintProperties(Variant v)
Variant GetEyeObject(Variant v)
Variant ConnectEyeTracker(Variant v)
Variant GetPropertyList(Variant v)
void MakeEnvironment(PEBLVideoMode mode, PEBLVideoDepth depth, bool windowed, bool resizeable, bool unicode)
This function instantiates the namespace-viewable.
Variant Rectangle(Variant v)
Variant GetAudioStats(Variant v)
Variant MakeLabel(Variant v)
Variant MakeWindow(Variant v)
Variant ThickLine(Variant v)
Variant MakeCustomObject(Variant v)
Variant RotoZoom(Variant v)
Variant GetParent(Variant v)
Variant SetText(Variant v)
Variant RecordToBuffer(Variant v)
Variant SaveAudioToWaveFile(Variant v)
Variant SetPlayRepeats(Variant v)
Variant StartPlayback(Variant v)
Variant PlayForeground(Variant v)
Variant GetProperty(Variant v)
Variant MakeAudioInputBuffer(Variant v)
Variant MakeFont(Variant v)
Variant PausePlayback(Variant v)
Variant Bezier(Variant v)
Variant SetFont(Variant v)
Variant LoadMovie(Variant v)
Variant RemoveObject(Variant v)
This removes a child widget from the parent widget.
Variant SetPoint(Variant v)
Variant GetSize(Variant v)
Variant GetVocalResponseTime(Variant v)
Variant GetLineBreaks(Variant v)
Variant Draw(Variant v)
Variant Polygon(Variant v)
Variant Stop(Variant v)
Variant ResizeWindow(Variant v)
Variant Circle(Variant v)
Variant MakeSawtoothWave(Variant v)
Variant MakeTextBox(Variant v)
Variant PropertyExists(Variant v)
Variant MakeCanvas(Variant v)
Variant Ellipse(Variant v)
Variant GetText(Variant v)
Variant Hide(Variant v)
Variant LoadSound(Variant v)
Variant MakeColor(Variant v)
Variant Square(Variant v)
Variant LoadAudioFile(Variant v)
Variant SetCursorPosition(Variant v)
Variant StopAudioMonitor(Variant v)
Variant MakeSineWave(Variant v)
Variant SetProperty(Variant v)
Variant PlayBackground(Variant v)
Variant Show(Variant v)
Variant GetCursorPosition(Variant v)
Variant MakeChirp(Variant v)
Variant MakeImage(Variant v)
Variant MakeSquareWave(Variant v)
Variant AddObject(Variant v)
This function adds a widget to a parent widget.