repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
Lynnvon/FlightSimulator | ThirdParty/JSBSim/include/models/propulsion/FGTurboProp.h | <filename>ThirdParty/JSBSim/include/models/propulsion/FGTurboProp.h
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Header: FGTurboProp.h
Author: Jiri "Javky" Javurek
based on SimTurbine and Turbine engine from David Culp
Date started: 05/14/2004
-------... |
Lynnvon/FlightSimulator | ThirdParty/JSBSim/include/math/FGNelderMead.h | /*
* FGNelderMead.h
* Copyright (C) <NAME> 2010 <<EMAIL>>
*
* FGNelderMead.h is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 2 of the License, or
* (at your option) any later versi... |
Lynnvon/FlightSimulator | ThirdParty/JSBSim/include/models/FGAuxiliary.h | <gh_stars>1-10
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Header: FGAuxiliary.h
Author: <NAME>
Date started: 01/26/99
------------- Copyright (C) 1999 <NAME> (<EMAIL>) -------------
This program is free software; you can redistribute it and/or modify it under
... |
Lynnvon/FlightSimulator | ThirdParty/JSBSim/include/models/flight_control/FGSensorOrientation.h | <reponame>Lynnvon/FlightSimulator
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Header: FGSensorOrientation.h
Author: <NAME>
Date started: September 2009
------------- Copyright (C) 2009 -------------
This program is free software; you can redistribute it and/or mo... |
michaelrsweet/xcs | cups/service.h | <gh_stars>0
/*
* CUPS service definitions.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
#ifndef _CUPS_SERVICE_H_
# define _CUPS_SERVICE_H_
/*
* Include necessary headers...
*/
#include <cups/cups.h>
/*
* C++ magic...
... |
michaelrsweet/xcs | cups/service-system.c | <filename>cups/service-system.c
/*
* CUPS service definitions.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
#ifndef _CUPS_SERVICE_H_
# define _CUPS_SERVICE_H_
/*
* Include necessary headers...
*/
/*
* C++ magic...
*/
... |
michaelrsweet/xcs | cups/service-job.c | /*
* CUPS service job object code.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers...
*/
#include "service-private.h"
VAR const char * const server_jreasons[29]
VALUE({ /* Strings for bits ... |
michaelrsweet/xcs | cups/service-printer.c | /*
* CUPS service printer object code.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers...
*/
#include "service-private.h"
VAR const char * const server_preasons[20]
VALUE({ /* Strings for b... |
michaelrsweet/xcs | cups/service-private.h | <reponame>michaelrsweet/xcs
/*
* Private CUPS service definitions.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
#ifndef _CUPS_SERVICE_PRIVATE_H_
# define _CUPS_SERVICE_PRIVATE_H_
/*
* Include necessary headers...
*/
#incl... |
michaelrsweet/xcs | cups/service-subscription.c | /*
* CUPS service subscription/notification code.
*
* Copyright © 2007-2018 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
*/
/*
* Include necessary headers...
*/
#include "service-private.h"
VAR const char * const server_events[31]
VALUE({ /* Stri... |
anshumang/gunrock-swched-swmm | gunrock/gunrock.h | // ----------------------------------------------------------------------------
// Gunrock -- Fast and Efficient GPU Graph Library
// ----------------------------------------------------------------------------
// This source code is distributed under the terms of LICENSE.TXT
// in the root directory of this source dis... |
jerryweihuajing/SemiGlobalMatching | SemiGlobalMatching/sgm_types.h | /* -*-c++-*- SemiGlobalMatching - Copyright (C) 2020.
* Author : <NAME>(<NAME>) <<EMAIL>>
* https://github.com/ethan-li-coding/SemiGlobalMatching
* Describe : header of sgm_types
*/
#pragma once
#include <cstdint>
#include <limits>
/** \brief float无效值 */
constexpr auto Invalid_Float = std::numeric_limits<float>::in... |
silversson/particle_growengine | DS18B20/DS18B20.h | #include "Particle-OneWire.h"
#include "application.h"
#define MAX_NAME 8
#define MAX_RETRIES 3
// Device resolution
#define TEMP_9_BIT 0x1F // 9 bit
#define TEMP_10_BIT 0x3F // 10 bit
#define TEMP_11_BIT 0x5F // 11 bit
#define TEMP_12_BIT 0x7F // 12 bit
//Parasite Powered or Not
#define READPOWERSUPPLY 0xB4
class... |
srichs/Timer | Timer.h | /*
* Timer.h
* created: Dec 2020
*/
#ifndef TIMER_h
#define TIMER_h
#include "Arduino.h"
#include "PT6961.h"
#define TIMER_DEBUG 0
/*!
* A Library that is used in conjunction with a PT6961 driven, 4 digit,
* 7 segment display, for use as a stopwatch or timer.
* \author srichs
*/
class Timer {
public:
/*!
... |
yspjack/DrawConic | Main.h | #ifndef __DrawConic_Main
#define __DrawConic_Main
double EPS = 0.01;
double FROM;
double TO;
int dx, dy;
int zoomx, zoomy;
extern "C"
{
void Draw(SDL_Surface * s);
void DrawConic(SDL_Surface * screen, double (*fx) (double),
double (*fy) (double), Uint8 r, Uint8 g, Uint8 b);
void DrawPolar(SDL_Surface * ... |
chromaScript/chroma.io | source/include/ctoolfile/TFSettingsWriter.h | <reponame>chromaScript/chroma.io
#ifndef TFSETTINGSWRITER_H
#define TFSETTINGSWRITER_H
#include "ChromaToolFile.h"
#include "../tool/Toolbox.h"
#include "../tool/Tool.h"
#include "../tool/ToolSettings.h"
#include <string>
#include <memory>
#include <iostream>
#include <vector>
#include <map>
class TFSettingsWriter
{... |
chromaScript/chroma.io | source/include/ctoolfile/ChromaToolFile.h | #ifndef CHROMATOOLFILE_H
#define CHROMATOOLFILE_H
#include "TFForward.h"
class Application;
class TFLexer;
class TFParser;
class TFInterpreter;
class Toolbox;
class Tool;
class TFSettingsWriter;
#include <vector>
#include <filesystem>
#include <string>
#include <iostream>
#include <memory>
#include <map>
class Chrom... |
chromaScript/chroma.io | source/include/Canvas.h | <reponame>chromaScript/chroma.io
#ifndef CANVAS_H
#define CANVAS_H
#include <glm.hpp>
#include "structs.h"
#include "Color.h"
#include "../include/entities/Layer.h"
#include "../include/Shader.h"
#include "../include/Camera.h"
class Application;
#include <memory>
class Canvas : public VisualEntity
{
private:
// O... |
chromaScript/chroma.io | source/include/entities/layers/Filter.h | #ifndef FILTER_H
#define FILTER_H
#include "../VisualEntity.h"
class Filter : public VisualEntity
{
private:
protected:
public:
};
#endif |
chromaScript/chroma.io | source/include/entities/layers/LayerProperties.h | #ifndef LAYERPROPERTIES_H
#define LAYERPROPERTIES_H
struct LayerProperties
{
bool alphaLock;
bool dataLock;
bool positionLock;
bool mergeLock;
LayerProperties();
};
// GroupProperties is used to hold group information
struct GroupProperties
{
};
#endif // !LAYERPROPERTIES_H
|
chromaScript/chroma.io | source/include/tool/toolSettings/gen/TSet_Image.h | #ifndef TSET_IMAGE_H
#define TSET_IMAGE_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
#define TSET_IMAGE_TIPSIZE_MIN 1
#define TSET_IMAGE_TIPSIZE_MAX 500
#... |
chromaScript/chroma.io | source/include/entities/visuals/StrokeShard.h | #ifndef STROKESHARD_H
#define STROKESHARD_H
#include <glm.hpp>
#include "../../math/Color.h"
#include "../../input/input.h"
struct StrokeShard
{
int ID = 0;
glm::vec3 pos = glm::vec3(0.0f, 0.0f, 0.0f);
glm::vec3 dir = glm::vec3(0.0f, 0.0f, 0.0f);
glm::vec4 scale = glm::vec4(1.0f);
glm::vec2 vec0 = glm::vec2(0.0f... |
chromaScript/chroma.io | source/include/cscript/CExpr.h | #ifndef CEXPR_H
#define CEXPR_H
#include "CForward.h"
#include "CInterpreter.h"
#include "CToken.h"
#include "CVisitors.h"
#include "CObject.h"
#include <memory>
#include <string>
class CExpr
{
public:
virtual void accept(CExprVisitor_Abstract<void>& visitor) = 0;
virtual std::shared_ptr<CObject> acceptInterpreter... |
chromaScript/chroma.io | source/include/clayout/LToken.h | <reponame>chromaScript/chroma.io
#ifndef LTOKEN_H
#define LTOKEN_H
#include "LEnums.h"
#include "LForward.h"
#include <string>
#include <memory>
class LToken
{
public:
LTokenType type = LTokenType::NIL;
std::string lexeme = "";
int line = 0;
// Constructors
LToken();
LToken(const LToken& ctoken);
LToken(LToke... |
chromaScript/chroma.io | source/include/tool/toolSettings/gen/TSet_Smoothing.h | #ifndef TSET_SMOOTHING_H
#define TSET_SMOOTHING_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
class TSet_Smoothing : public ToolSettings // 3700
{
public:
... |
chromaScript/chroma.io | source/include/tool/toolSettings/controls/TSet_ContinuousControl.h | <reponame>chromaScript/chroma.io<filename>source/include/tool/toolSettings/controls/TSet_ContinuousControl.h
#ifndef TSET_CONTINUOUSCONTROL_H
#define TSET_CONTINUOUSCONTROL_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#inclu... |
chromaScript/chroma.io | source/include/ctoolfile/TFForward.h | <reponame>chromaScript/chroma.io<filename>source/include/ctoolfile/TFForward.h<gh_stars>0
#ifndef TFFORWARD_H
#define TFFORWARD_H
//
class ChromaToolFile;
class CEnvironment;
class TFInterpreter;
class CObject;
class TFToken;
//
class TFExpr;
class TFExpr_Value;
class TFExpr_Name;
//
class TFStmt;
class TFStmt_Tool;... |
chromaScript/chroma.io | source/include/entities/widgets/ImageWidget.h | <reponame>chromaScript/chroma.io
#ifndef IMAGEWIDGET_H
#define IMAGEWIDGET_H
#include "Widget.h"
#include "../../Shader.h"
#include "../../math/transform.h"
class ImageWidget : public Widget
{
private:
protected:
// Layout defined image, overrides the style defined image
std::filesystem::path image;
public:
// Con... |
chromaScript/chroma.io | source/include/methods/IOClasses.h | #include "inputMethods/In_NoInput.h"
#include "inputMethods/In_Pan.h"
#include "inputMethods/In_Rotate.h"
#include "inputMethods/In_Zoom.h"
#include "inputMethods/In_Draw.h"
#include "inputMethods/In_Lasso.h"
#include "inputMethods/In_Line.h"
#include "inputMethods/In_MultiSpline.h"
#include "inputMethods/In_Sampler.h"... |
chromaScript/chroma.io | source/include/clayout/LEnums.h | <reponame>chromaScript/chroma.io<filename>source/include/clayout/LEnums.h
#ifndef LENUMS_H
#define LENUMS_H
#include <string>
#include <vector>
#include <map>
enum class LTokenType
{
// Literals
NIL, IDENTIFIER, STRING, BOOL, NUM,
// Syntax bits
ANGLE_LEFT, ANGLE_RIGHT, CLOSE, EQUAL,
// Root Attrib Types
DEFA... |
chromaScript/chroma.io | source/include/clayout/LParser.h | #ifndef LPARSER_H
#define LPARSER_H
#include "LEnums.h"
#include "LForward.h"
#include "ChromaLayout.h"
#include <string>
#include <vector>
#include <memory>
class LParser
{
private:
std::vector<std::shared_ptr<LToken>> openTags;
//
std::shared_ptr<ChromaLayout> console = nullptr;
//
std::vector<std::shared_ptr... |
chromaScript/chroma.io | source/include/cscript/CStmt.h | <reponame>chromaScript/chroma.io<filename>source/include/cscript/CStmt.h
#ifndef CSTMT_H
#define CSTMT_H
#include "CForward.h"
#include "CInterpreter.h"
#include "CToken.h"
#include "CVisitors.h"
#include <memory>
#include <string>
class CStmt
{
public:
virtual void accept(CStmtVisitor_Abstract<void>& visitor) = 0;... |
chromaScript/chroma.io | source/include/cscript/CResolver.h | <reponame>chromaScript/chroma.io
#ifndef CRESOLVER_H
#define CRESOLVER_H
#include <memory>
#include <vector>
#include <string>
#include <map>
#include <stack>
#include "CForward.h"
#include "CEnums.h"
#include "CVisitors.h"
class CInterpreter;
class CResolver : public CExprVisitor_Abstract<void>, public CStmtVisitor... |
chromaScript/chroma.io | source/include/cstyle/SToken.h | #ifndef STOKEN_H
#define STOKEN_H
#include "SEnums.h"
#include "SForward.h"
#include <string>
#include <memory>
class SToken
{
public:
STokenType type = STokenType::NIL;
std::string lexeme = "";
int line = 0;
unsigned char special = 0;
// Constructors
SToken();
SToken(const SToken& ctoken);
SToken(STokenType... |
chromaScript/chroma.io | source/include/entities/visuals/VertexData.h | #ifndef VERTEXDATA_H
#define VERTEXDATA_H
#include "FragmentAnchor.h"
#include "../../input/keys.h"
#include "../../math/blend.h"
#include "../../analytics/AutoShapeType.h"
// VertexData is used to hold the data processed from an InputData object. This is what gets stored as history and canvas objects. The original
/... |
chromaScript/chroma.io | source/include/methods/inputMethods/In_Sampler.h | #ifndef IN_SAMPLER_H
#define IN_SAMPLER_H
#include "../InputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
#include <iostream>
class In_Sampler : public InputMethod
{
private:
protected:
int sampleCount = 0;
TSet_Sampler sampler;
... |
chromaScript/chroma.io | source/include/tool/toolSettings/method/TSet_PolyLine.h | #ifndef TSET_POLYLINE_H
#define TSET_POLYLINE_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
///////////////////////////////////////////////////////////////... |
chromaScript/chroma.io | source/include/cscript/CReturn.h | #ifndef CRETURN_H
#define CRETURN_H
#include "CForward.h"
#include <vector>
#include <memory>
class CReturn
{
public:
CReturn();
CReturn(std::vector<int> anticipatedReturns, std::vector<int> countedReturn);
//
int returnCount;
std::vector<int> anticipatedReturns;
std::vector<int> countedReturns;
size_t stride... |
chromaScript/chroma.io | source/include/clayout/LProc.h | #ifndef LPROC_H
#define LPROC_H
#include "LForward.h"
#include "LToken.h"
#include "LVisitors.h"
class Widget;
#include <memory>
#include <string>
////////////////////////////////////////////////////////////////////////////////////////////////
//
// layoutParser Statements
//
////////////////////////////////////////... |
chromaScript/chroma.io | source/include/tool/ToolSettings.h | <filename>source/include/tool/ToolSettings.h<gh_stars>0
#ifndef TOOLSETTINGS_H
#define TOOLSETTINGS_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
#include <deque>
#include "../math/string.h"
#include "../input... |
chromaScript/chroma.io | source/include/cscript/lib/CCLib_UI.h | #ifndef CCLIB_UI
#define CCLIB_UI
#include "../CCallable_Lib.h"
#include "../CEnums.h"
#include "../CForward.h"
#include "../CToken.h"
#include "../CCallable.h"
class Application;
class UI;
class Widget;
#include <string>
#include <vector>
#include <memory>
class CStd_cUi : public CClass
{
public:
CStd_cUi(std::sh... |
chromaScript/chroma.io | source/include/entities/layers/Canvas.h | <reponame>chromaScript/chroma.io<gh_stars>0
#ifndef CANVAS_H
#define CANVAS_H
#include <glm.hpp>
#include "../../math/Color.h"
#include "Layer.h"
#include "../../Shader.h"
#include "../../Camera.h"
class Application;
#include <memory>
#include <string>
class Canvas : public VisualEntity, std::enable_shared_from_th... |
chromaScript/chroma.io | source/include/Shader.h | <reponame>chromaScript/chroma.io<filename>source/include/Shader.h
#ifndef SHADER_H
#define SHADER_H
#include <glm.hpp>
#include <iostream>
class Shader
{
private:
std::string name;
void checkCompileErrors(unsigned int shader, std::string type);
std::string loadShaderFile(const char* shaderPath);
protected:
public... |
chromaScript/chroma.io | source/include/cstyle/SParser.h | #ifndef SPARSER_H
#define SPARSER_H
#include "SEnums.h"
#include "SForward.h"
#include "ChromaStyle.h"
#include <string>
#include <vector>
#include <memory>
class SParser
{
private:
//
std::shared_ptr<ChromaStyle> console = nullptr;
//
std::vector<std::shared_ptr<SToken>> tokens;
size_t current = 0;
//
std::s... |
chromaScript/chroma.io | source/include/ctoolfile/TFExpr.h | #ifndef TFEXPR_H
#define TFEXPR_H
#include "TFForward.h"
#include "TFInterpreter.h"
#include "TFToken.h"
#include "TFVisitors.h"
#include "../cscript/CObject.h"
#include <memory>
#include <string>
class TFExpr
{
public:
virtual void accept(TFExprVisitor_Abstract<void>& visitor) = 0;
virtual std::shared_ptr<CObject... |
chromaScript/chroma.io | source/include/tool/Tool.h | <gh_stars>0
#ifndef TOOL_H
#define TOOL_H
#include "../input/keys.h"
#include "../CustomCursor.h"
#include "../math/Color.h"
#include "../methods/InputMethod.h"
#include "../methods/OutputMethod.h"
#include "../methods/MethodType.h"
#include "ToolSettings.h"
#include "toolSettings/ToolSettings_Forward.h"
class Tool... |
chromaScript/chroma.io | source/include/ctoolfile/TFVisitors.h | <filename>source/include/ctoolfile/TFVisitors.h
#ifndef TFVISITORS_H
#define TFVISITORS_H
#include "TFForward.h"
#include <memory>
//
template <class _ReturnType>
class TFExprVisitor_Abstract
{
public:
virtual _ReturnType visit(std::shared_ptr<TFExpr_Value> expr) = 0;
virtual _ReturnType visit(std::shared_ptr<TFEx... |
chromaScript/chroma.io | source/include/entities/widgets/WidgetStyle.h | #ifndef CSTYLE_H
#define CSTYLE_H
#include "../../cscript/CForward.h"
#include "../../cstyle/SEnums.h"
#include "../../cstyle/SForward.h"
#include "../../math/Color.h"
#include <string>
#include <vector>
#include <filesystem>
#include <map>
// Widget Event Types
#define UI_WEVENT_NULL 0
#define UI_WEVENT_CANCEL 1
#d... |
chromaScript/chroma.io | source/include/math/transform.h | #ifndef TRANSFORM_H
#define TRANSFORM_H
#include "math.h"
#include <glm.hpp>
// ObjectTransform is used to condense multiple direction vectors into a single container
struct ObjectTransform
{
glm::vec3 up = glm::vec3(0, 0, 0);
glm::vec3 right = glm::vec3(0, 0, 0);
glm::vec3 fwd = glm::vec3(0, 0, 0);
ObjectTransf... |
chromaScript/chroma.io | source/include/clayout/LInterpreter.h | <filename>source/include/clayout/LInterpreter.h<gh_stars>0
#ifndef LBUILDER_H
#define LBUILDER_H
#include <memory>
#include <vector>
#include <string>
#include <map>
#include <stack>
#include <filesystem>
class CStmt;
class Widget;
class CObject;
class UI;
#include "../cscript/CEnvironment.h"
#include "LForward.h"
#... |
chromaScript/chroma.io | source/include/entities/layers/DataLayer.h | #ifndef DATALAYER_H
#define DATALAYER_H
#include "Layer.h"
#include "../../Shader.h"
#include "../../math/Color.h"
#include "../../math/transform.h"
class DataLayer : public Layer
{
private:
protected:
public:
DataLayer(glm::ivec2 dimensions, std::string name, CColor fill, std::shared_ptr<Shader> shader);
virtual ... |
chromaScript/chroma.io | source/include/methods/MethodType.h | #ifndef METHODTYPE_H
#define METHODTYPE_H
#include <map>
#include <string>
enum class MethodType : int
{
null = 0,
// 1-99
in_draw = 4,
in_fan = 18,
in_lasso = 9,
in_line = 5,
in_multiSpline = 32,
in_noInput = 404,
in_pan = 11,
in_point = 13,
in_polygon = 10,
in_polyLine = 22,
in_radialField = 28,
in_ra... |
chromaScript/chroma.io | source/include/cscript/lib/CCLib_Toolbox.h | <filename>source/include/cscript/lib/CCLib_Toolbox.h
#ifndef CCLIB_TOOLBOX
#define CCLIB_TOOLBOX
#include "../CCallable_Lib.h"
#include "../CEnums.h"
#include "../CForward.h"
#include "../CToken.h"
#include "../CCallable.h"
class Application;
class UI;
class Widget;
#include <string>
#include <vector>
#include <memo... |
chromaScript/chroma.io | source/include/tool/toolSettings/gen/TSet_Alpha.h | #ifndef TSET_ALPHA_H
#define TSET_ALPHA_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
////////////////////////////////////////////////////////////////
// A... |
chromaScript/chroma.io | source/include/tool/toolSettings/controls/TSet_Zoom.h | #ifndef TSET_ZOOM_H
#define TSET_ZOOM_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
////////////////////////////////////////////////////////////////
// Zoo... |
chromaScript/chroma.io | source/include/cscript/CEnums.h | <filename>source/include/cscript/CEnums.h
#ifndef CENUMS_H
#define CENUMS_H
#include <string>
#include <vector>
#include <map>
enum class CTokenType
{
// Single-Character Tokens
// Enclosures
PAREN_LEFT, PAREN_RIGHT, CURLY_LEFT, CURLY_RIGHT, SQUARE_LEFT, SQUARE_RIGHT,
// Member Access
DOT,
// Seperator
COMMA, C... |
chromaScript/chroma.io | source/include/math/string.h | <filename>source/include/math/string.h<gh_stars>0
#ifndef STRINGFUNC_H
#define STRINGFUNC_H
#include <glm.hpp>
#include <deque>
#include <vector>
#include <memory>
#include <filesystem>
#include <iostream>
#include <fstream>
#include <sstream>
#include <Ole2.h>
// Note: These structs should only contain generic dat... |
chromaScript/chroma.io | source/include/methods/inputMethods/In_ShapeLine.h | #ifndef IN_SHAPELINE_H
#define IN_SHAPELINE_H
#include "../InputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
#include <glm.hpp>
class Application;
#include <iostream>
class In_ShapeLine : public InputMethod
{
private:
// Tool Se... |
chromaScript/chroma.io | source/include/entities/widgets/Widget.h | #ifndef WIDGET_H
#define WIDGET_H
#include "../VisualEntity.h"
#include "WidgetStyle.h"
#include "../../cscript/CObject.h"
#include "../../clayout/LEnums.h"
#include "../../cscript/CStmt.h"
#include "../../input/input.h"
#include "../../math/transform.h"
class CInterpreter;
#include <map>
#include <memory>
#include... |
chromaScript/chroma.io | source/include/entities/VisualEntity.h | <reponame>chromaScript/chroma.io
#ifndef VISUALENTITY_H
#define VISUALENTITY_H
#include <glm.hpp>
#include "../math/Color.h"
#include "../math/blend.h"
#include "../math/transform.h"
#include <memory>
class Shader;
class VisualEntity
{
private:
protected:
// Constructor / Destructor
VisualEntity() {}; // Visua... |
chromaScript/chroma.io | source/include/tool/toolSettings/effects/TSet_FX_BrightContrast.h | #ifndef TSET_FX_BRIGHTCONTRAST_H
#define TSET_FX_BRIGHTCONTRAST_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
#define TSET_FX_BRIGHT_BRIGHT_MIN -1.0f
#defi... |
chromaScript/chroma.io | source/include/Application.h | #ifndef APPLICATION_H
#define APPLICATION_H
#include <RTSCOM.h>
#include <glm.hpp>
typedef struct GLFWwindow GLFWwindow;
class UI;
class Camera;
class Toolbox;
class WidgetStyle;
#include "methods/IOClasses.h"
#include "methods/InputMethod.h"
#include "methods/OutputMethod.h"
#include "../include/WinStylusHandler.h"... |
chromaScript/chroma.io | source/include/cscript/CObject.h | <gh_stars>0
#ifndef COBJECTS_H
#define COBJECTS_H
#include "CEnums.h"
#include "CForward.h"
#include "CStmt.h"
#include "CCallable.h"
#include "CLiteral.h"
#include <glm.hpp>
class Application;
class UI;
class Toolbox;
class Widget;
#include <map>
#include <vector>
#include <string>
#include <memory>
#include <vari... |
chromaScript/chroma.io | source/include/entities/widgets/GradientBox.h | <gh_stars>0
#ifndef GRADIENTBOX_H
#define GRADIENTBOX_H
#include <glm.hpp>
#include "Widget.h"
#include "../../Shader.h"
#include "../../math/transform.h"
#include <map>
class GradientBox : public Widget
{
private:
protected:
// Gradient-Box Specific Vertex Data
// Note: Later the vertexData for VisualEntity will... |
chromaScript/chroma.io | source/include/ctoolfile/TFInterpreter.h | #ifndef TFINTERPRETER_H
#define TFINTERPRETER_H
#include <memory>
#include <vector>
#include <string>
#include <map>
#include <glm.hpp>
#include "TFEnums.h"
#include "TFExpr.h"
#include "../cscript/CObject.h"
#include "TFForward.h"
#include "TFVisitors.h"
#include "TFToken.h"
#include "../tool/ToolSettings.h"
#incl... |
chromaScript/chroma.io | source/include/input/keys.h | #ifndef KEYS_H
#define KEYS_H
class CObject;
#include "../math/math.h"
#include <string>
#include <map>
#include <memory>
enum class InputAction : int {
press = 1,
release = 0,
repeat = 2,
move = 3
};
// Documentation: Use these as flags for input flow gates
enum class InputHandlerFlag : int {
reject = 86,
rele... |
chromaScript/chroma.io | source/include/gladHelper.h | #ifndef GLADHELPER_H
#define GLADHELPER_H
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#endif |
chromaScript/chroma.io | source/include/loadImageData.h | <filename>source/include/loadImageData.h
#ifndef LOADIMAGEDATA_H
#define LOADIMAGEDATA_H
unsigned char* loadImageData(const char* imagePath, int* width, int* height, int* nrChannels, bool doFlip);
#endif |
chromaScript/chroma.io | source/include/methods/outputMethods/Out_ZoomCamera.h | #ifndef OUT_ZOOMCAMERA_H
#define OUT_ZOOMCAMERA_H
#include "../OutputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
class Application;
#include <iostream>
class Out_ZoomCamera : public OutputMethod
{
private:
protected:
TSet_Zoom ... |
chromaScript/chroma.io | source/include/ctoolfile/TFParser.h | <reponame>chromaScript/chroma.io
#ifndef TFPARSER_H
#define TFPARSER_H
#include "TFEnums.h"
#include "TFForward.h"
#include "ChromaToolFile.h"
#include <string>
#include <vector>
#include <memory>
class TFParser
{
private:
//
std::shared_ptr<ChromaToolFile> console = nullptr;
//
std::vector<std::shared_ptr<TFTok... |
chromaScript/chroma.io | source/include/methods/InputMethod.h | #ifndef INPUTMETHOD_H
#define INPUTMETHOD_H
#include "../tool/ToolSettings.h"
#include "../tool/toolSettings/ToolSettings_Forward.h"
#include "../entities/visuals/VertexData.h"
#include "MethodType.h"
#include "../input/keys.h"
class Application;
class Tool;
#include <vector>
#include <string>
class InputMethod
{
p... |
chromaScript/chroma.io | source/include/cscript/lib/CCLib_STDWidget.h | #ifndef CCLIB_STDWIDGET_H
#define CCLIB_STDWIDGET_H
#include "../CCallable_Lib.h"
#include "../CEnums.h"
#include "../CForward.h"
#include "../CToken.h"
#include "../CCallable.h"
class Application;
class UI;
class Widget;
#include <string>
#include <vector>
#include <memory>
////////////////////////////////////////... |
chromaScript/chroma.io | source/include/cscript/CLexer.h | #ifndef CLEXER_H
#define CLEXER_H
#include "CEnums.h"
#include "CToken.h"
#include "ChromaScript.h"
#include <string>
#include <vector>
#include <memory>
class CLexer
{
private:
//
std::shared_ptr<ChromaScript> console = nullptr;
//
std::vector<std::shared_ptr<CToken>> tokens;
//
void addToken(CTokenType type,... |
chromaScript/chroma.io | source/include/math/collision.h | #ifndef COLLISION_H
#define COLLISION_H
#include <glm.hpp>
bool boxCollision_point(glm::vec3* point, glm::vec3* p1, glm::vec3* p2);
#endif |
chromaScript/chroma.io | source/include/cscript/CToken.h | <filename>source/include/cscript/CToken.h
#ifndef CTOKEN_H
#define CTOKEN_H
#include "CEnums.h"
#include "CForward.h"
#include <string>
#include <memory>
class CToken
{
public:
CTokenType type = CTokenType::NIL;
std::string lexeme = "";
int line = 0;
// Constructors
CToken();
CToken(const CToken& ctoken);
CTo... |
chromaScript/chroma.io | source/include/input/input.h | <filename>source/include/input/input.h
#ifndef INPUT_H
#define INPUT_H
#include "keys.h"
#include <glm.hpp>
#include <deque>
#include <vector>
#include <memory>
#include <filesystem>
#include <map>
#include <string>
#include <iostream>
enum class InputFlag
{
null,
newInput,
beginStream,
point,
start,
last,
... |
chromaScript/chroma.io | source/include/cscript/CVisitors.h | #ifndef CVISITORS_H
#define CVISITORS_H
#include "CForward.h"
#include <memory>
//
template <class _ReturnType>
class CExprVisitor_Abstract
{
public:
virtual _ReturnType visit(std::shared_ptr<CExpr_Approximate> expr) = 0;
virtual _ReturnType visit(std::shared_ptr<CExpr_Array> stmt) = 0;
virtual _ReturnType visit(... |
chromaScript/chroma.io | source/include/methods/outputMethods/Out_Stroke.h | <filename>source/include/methods/outputMethods/Out_Stroke.h
#ifndef OUT_STROKE_H
#define OUT_STROKE_H
#include "../OutputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
#include "../../entities/visuals/Fragment.h"
#include "../../enti... |
chromaScript/chroma.io | source/include/clayout/LVisitors.h | <reponame>chromaScript/chroma.io
#ifndef LVISITORS_H
#define LVISITORS_H
#include "LForward.h"
#include <memory>
//
template <class _ReturnType>
class LExprVisitor_Abstract
{
public:
virtual _ReturnType visit(std::shared_ptr<LExpr_Element> expr) = 0;
virtual _ReturnType visit(std::shared_ptr<LExpr_RootAttrib> expr... |
chromaScript/chroma.io | source/include/tool/toolSettings/controls/TSet_OnePointControl.h | <reponame>chromaScript/chroma.io
#ifndef TSET_ONEPOINTCONTROL_H
#define TSET_ONEPOINTCONTROL_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
////////////////... |
chromaScript/chroma.io | source/include/analytics/AutoShapeType.h | #ifndef AUTOSHAPETYPE_H
#define AUTOSHAPETYPE_H
enum class AutoShapeType : int {
none = 0,
line = 1,
polyLine = 2,
circle = 3,
ellipse = 4,
square = 5,
rectangle = 6,
};
#endif |
chromaScript/chroma.io | source/include/entities/widgets/Graph_ToolControl.h | #ifndef GRAPH_TOOLCONTROL_H
#define GRAPH_TOOLCONTROL_H
#include "Widget.h"
#include "WidgetInterface.h"
class UI;
class Tool;
class TSetGraph;
#include <glm.hpp>
#include <map>
class Graph_ToolControl : public Widget, public WidgetInterface
{
private:
bool isInitialized = false;
int maxHandles = 0;
int handleC... |
chromaScript/chroma.io | source/include/entities/widgets/Popup.h | <filename>source/include/entities/widgets/Popup.h
#ifndef POPUP_H
#define POPUP_H
#include "Widget.h"
class Popup : public Widget
{
private:
protected:
public:
};
#endif |
chromaScript/chroma.io | source/include/cscript/CParser.h | <gh_stars>0
#ifndef CPARSER_H
#define CPARSER_H
#include "CEnums.h"
#include "CForward.h"
#include "ChromaScript.h"
#include <string>
#include <vector>
#include <memory>
class CParser
{
private:
//
std::shared_ptr<ChromaScript> console = nullptr;
//
std::vector<std::shared_ptr<CToken>> tokens;
size_t current = ... |
chromaScript/chroma.io | source/include/entities/widgets/Text.h | #ifndef TEXT_H
#define TEXT_H
#include "Widget.h"
#include "../Fonts.h"
#include "../../math/transform.h"
class Text : public Widget
{
private:
protected:
// Pointer to the UserInterface fontsHandler variable (Fonts.cpp class), which is used to draw text
std::shared_ptr<Fonts> uiHandler;
std::shared_ptr<CachedFace... |
chromaScript/chroma.io | source/include/CustomCursor.h | #ifndef CUSTOMCURSOR_H
#define CUSTOMCURSOR_H
// Cursor justification options
enum class CursorJustification : int {
upperLeftCorner = 0,
center = 1,
lowerLeftCorner = 2,
upperCenter = 3
};
// Cursor names
enum class CursorType : int {
pointer = 0,
hand = 1,
rotate = 2,
grab = 3,
zoomscrub = 10,
zoomIn = 11... |
chromaScript/chroma.io | source/include/methods/outputMethods/Out_Sampler.h | <gh_stars>0
#ifndef OUT_SAMPLER_H
#define OUT_SAMPLER_H
#include "../OutputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
class Application;
#include <iostream>
class Out_Sampler : public OutputMethod
{
private:
protected:
int las... |
chromaScript/chroma.io | source/include/methods/inputMethods/In_Pan.h | #ifndef IN_PAN_H
#define IN_PAN_H
#include "../InputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
#include <iostream>
class In_Pan : public InputMethod
{
private:
protected:
bool lockModeActivated = false;
float activeAngle = -72... |
chromaScript/chroma.io | source/include/cstyle/SVisitors.h | #ifndef SVISITORS_H
#define SVISITORS_H
#include "SForward.h"
#include <memory>
//
template <class _ReturnType>
class SExprVisitor_Abstract
{
public:
virtual _ReturnType visit(std::shared_ptr<SExpr_Property> expr) = 0;
};
//
template <class _ReturnType>
class SStmtVisitor_Abstract
{
public:
virtual _ReturnType v... |
chromaScript/chroma.io | source/include/cscript/lib/CCLib_App.h | <gh_stars>0
#ifndef CCLIB_APP
#define CCLIB_APP
#include "../CCallable_Lib.h"
#include "../CEnums.h"
#include "../CForward.h"
#include "../CToken.h"
#include "../CCallable.h"
class Application;
class UI;
class Widget;
#include <string>
#include <vector>
#include <memory>
class CStd_cApp : public CClass
{
public:
C... |
chromaScript/chroma.io | source/include/tool/Toolbox.h | <filename>source/include/tool/Toolbox.h
#define DT_CLOSE_WINDOW -1
#define DT_NO_TOOL 0
#define DT_PAN 1
#define DT_ROTATE 2
#define DT_ZOOM_SCRUB 3
#define DT_ZOOM_IN 4
#define DT_ZOOM_OUT 5
#define DT_BRUSH 10
#define DT_PENCIL 11
#define DT_MIXER 12
#define DT_SMUDGE 13
#define DT_ERASER 20
#define DT_COLORPICKER 31... |
chromaScript/chroma.io | source/include/entities/widgets/HorizontalBox.h | #ifndef HORIZONTALBOX_H
#define HORIZONTALBOX_H
#include <glm.hpp>
#include "Widget.h"
#include "../../Shader.h"
#include "../../math/transform.h"
#include <map>
class HorizontalBox : public Widget
{
private:
protected:
public:
// Constructors
HorizontalBox(std::map<std::string, std::string> basicAttribs,
std::... |
chromaScript/chroma.io | source/include/cscript/COptimizerRed.h | <reponame>chromaScript/chroma.io
#ifndef COPTIMIZERRED_H
#define COPTIMIZERRED_H
#include <memory>
#include <vector>
#include <string>
#include <map>
#include "CEnums.h"
#include "CExpr.h"
#include "CObject.h"
#include "CCallable.h"
#include "CCallable_Lib.h"
#include "CForward.h"
#include "CVisitors.h"
#include "CTo... |
chromaScript/chroma.io | source/include/entities/layers/Layer.h | <filename>source/include/entities/layers/Layer.h
#ifndef LAYER_H
#define LAYER_H
#include "../VisualEntity.h"
#include "../visuals/Fragment.h"
#include "../../Shader.h"
#include "../../math/Color.h"
#include "LayerProperties.h"
#include "../visuals/Stroke.h"
class Tool;
#include <vector>
#include <memory>
class La... |
chromaScript/chroma.io | source/include/methods/inputMethods/In_Rotate.h | #ifndef IN_ROTATE
#define IN_ROTATE
#include "../InputMethod.h"
#include "../../tool/ToolSettings.h"
#include "../../tool/toolSettings/ToolSettings_Forward.h"
#include "../MethodType.h"
#include <iostream>
class In_Rotate : public InputMethod
{
private:
protected:
TSet_Rotate rotate;
public:
In_Rotate(MethodType i... |
chromaScript/chroma.io | source/include/clayout/ChromaLayout.h | <gh_stars>0
#ifndef CHROMALAYOUT_H
#define CHROMALAYOUT_H
#include "LForward.h"
class LLexer;
class LParser;
class LResolver;
class LTypeWizard;
class LInterpreter;
class ChromaScript;
class Application;
class WPlugin;
#include <vector>
#include <filesystem>
#include <string>
#include <iostream>
#include <memory>
#i... |
chromaScript/chroma.io | source/include/tool/toolSettings/effects/TSet_FX_Invert.h | <gh_stars>0
#ifndef TSET_FX_INVERT_H
#define TSET_FX_INVERT_H
class CFunction;
class CObject;
class CInterpreter;
class Tool;
#include <glm.hpp>
#include <string>
#include <vector>
#include <memory>
#include <map>
class ToolSettings;
#include "../../ToolSettings.h"
class TSet_FX_Invert : public ToolSettings // 840... |
chromaScript/chroma.io | source/include/cstyle/SResolver.h | #ifndef SRESOLVER_H
#define SRESOLVER_H
#include <memory>
#include <vector>
#include <string>
#include <map>
#include <stack>
#include <filesystem>
#include "../cscript/CEnvironment.h"
#include "SForward.h"
#include "SEnums.h"
#include "SVisitors.h"
class CInterpreter;
class SResolver : public SExprVisitor_Abstract... |
chromaScript/chroma.io | source/include/clayout/LForward.h | <filename>source/include/clayout/LForward.h
#ifndef LFORWARD_H
#define LFORWARD_H
#include <random>
//
class ChromaLayout;
class LInterpreter;
class LToken;
//
class LExpr;
class LExpr_Element;
class LExpr_RootAttrib;
class LExpr_ElementAttrib;
//
class LStmt;
class LStmt_Root;
class LStmt_Proto;
#endif |
chromaScript/chroma.io | source/include/analytics/AutoShape.h | <filename>source/include/analytics/AutoShape.h
#ifndef AUTOSHAPE_H
#define AUTOSHAPE_H
#include "AutoShapeType.h"
#include "../entities/visuals/VertexData.h"
#include "../math/transform.h"
class Application;
#include <glm.hpp>
#include <memory>
#include <string>
#include <map>
struct Auto_Shape {
bool isSolved = f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.