References
| summary | ||
| public |
F setIconMap(icons: *) |
|
| public |
V Icons: {"FOLDER": *, "FILE": *, "TINY_X": *, "SMALL_PLUS": *, "SMALL_MINUS": *, "UNDO": *, "REDO": *, "HELP": *, "UNCHECKED": *, "CHECKED": *, "LARGE_CHECK": *, "CURSOR_ARROW": *, "NOTE_EXCL": *, "SCROLL_DOWN": *, "SCROLL_UP": *, "BACKSPACE": *, "LEFT_ARROW": *, "RIGHT_ARROW": *, "UI_EXPAND": *, "UI_COLLAPSE": *, "BOLD": *, "ITALIC": *, "UNDERLINE": *, "STRIKETHRU": *, "TREE_EXPAND": *, "TREE_COLLAPSE": *, "ZOOM_OUT": *, "ZOOM_IN": *} export let Icons = {
FOLDER : a,
FILE : a,
TINY_X : a,
SMALL_PLUS : a,
SMALL_MINUS : a,
UNDO : a,
REDO : a,
HELP : a,
UNCHECKED : a,
CHECKED : a,
LARGE_CHECK : a,
CURSOR_ARROW: a,
NOTE_EXCL : a,
SCROLL_DOWN : a,
SCROLL_UP : a,
BACKSPACE : a,
LEFT_ARROW : a,
RIGHT_ARROW : a,
UI_EXPAND : a, //triangle
UI_COLLAPSE : a, //triangle
BOLD : a,
ITALIC : a,
UNDERLINE : a,
STRIKETHRU : a,
TREE_EXPAND : a,
TREE_COLLAPSE: a,
ZOOM_OUT : a,
ZOOM_IN : a,
}
|
|
| public |
V cconst: * |
|
| public |
V controller: * |
|
| public |
V electron_api: * |
|
| public |
V platform: * |
|
| public |
V simple: * |
|
config
| summary | ||
| public |
V exports: {"getClipboardData": function, "setClipboardData": function, "colorSchemeType": string, "docManualPath": string, "useNumSliderTextboxes": boolean, "numSliderArrowLimit": number, "simpleNumSliders": *, "menusCanPopupAbove": *, "menu_close_time": number, "doubleClickTime": number, "doubleClickHoldTime": number, "DEBUG": *, "autoLoadSplineTemplates": boolean, "addHelpPickers": boolean, "useAreaTabSwitcher": *, "autoSizeUpdate": boolean, "showPathsInToolTips": boolean, "enableThemeAutoUpdate": boolean, "loadConstants": *} export let exports = {
getClipboardData : ,
setClipboardData : ,
colorSchemeType : "light",
docManualPath : "../simple_docsys/doc_build/",
useNumSliderTextboxes : ,
numSliderArrowLimit : 3, //threshold to check if numslider arrow was clicked
simpleNumSliders : ,
menusCanPopupAbove : ,
menu_close_time : 500,
doubleClickTime : 500,
doubleClickHoldTime : 750,
DEBUG : paranoidEventsscreenbordersareaContextPushesallBordersMovabledoOncemodalEventsareaConstraintSolverdatapathsdomEventsdomEventAddRemovedebugUIUpdatePerfscreenAreaPosSizeAccessesbuttonEvents,
autoLoadSplineTemplates : ,
addHelpPickers : ,
useAreaTabSwitcher : ,
autoSizeUpdate : ,
showPathsInToolTips : ,
enableThemeAutoUpdate : ,
loadConstants : argskargsk==="loadConstants"k.args.kctrlconfig.setConfig,
}
|
|
core
| summary | ||
| public |
|
|
| public |
|
|
| public |
C Animator |
|
| public |
C Command |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
example: |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C Label |
|
| public |
C RowFrame |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C UIBase |
|
| public |
C CSSFont |
|
| public |
|
|
| public |
C FootUnit |
|
| public |
C InchUnit |
|
| public |
|
|
| public |
C MileUnit |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C Unit |
|
| private |
F _setUIBase(uibase: *) |
|
| public |
F clearAspectCallbacks(obj: *) |
|
| public |
F initAspectClass(object: *, blacklist: *) |
|
| public |
F IsMobile(): * |
|
| private |
F _ensureFont(elem: *, canvas: *, g: *, size: *) |
|
| private |
|
|
| private |
F _getFont_new(elem: *, size: *, font: string, do_dpi: boolean): * |
|
| private |
F _setAreaClass(cls: *) |
|
| private |
F _setTextboxClass(cls: *) |
|
| public |
F calcThemeKey(digest: *): * |
|
| public |
F drawRoundBox(elem: *, canvas: *, g: *, width: *, height: *, r: *, op: string, color: *, margin: *, no_clear: boolean) okay, I need to refactor this function, it needs to take x, y as well as width, height, and be usable for more use cases. |
|
| public |
F drawRoundBox2(elem: *, options: {}) |
|
| public |
F drawText(elem: *, x: *, y: *, text: *, args: {}) |
|
| public |
F flagThemeUpdate() |
|
| public |
F getDefault(key: *, elem: *): * |
|
| public |
|
|
| public |
F getIconManager(): * |
|
| public |
F getTagPrefix(prefix: *): * |
|
| public |
F iconSheetFromPackFlag(flag: *): number |
|
| public |
F loadUIData(node: *, buf: *) |
|
| public |
F makeIconDiv(icon: *, sheet: number): * |
|
| public |
F measureText(elem: *, text: *, canvas: *, g: *, size: *, font: *): * |
|
| public |
F measureTextBlock(elem: *, text: *, canvas: *, g: *, size: *, font: *): * |
|
| public |
F report() |
|
| public |
F saveUIData(node: *, key: *): * Saves UI layout data, like panel layouts, active tabs, etc. |
|
| public |
F setIconManager(manager: *, IconSheetsOverride: *) |
|
| public |
F setTagPrefix(prefix: *) Sets tag prefix for pathux html elements. |
|
| public |
F setTheme(theme2: *) |
|
| public |
F styleScrollBars(color: string, color2: *, contrast: number, width: number, border: string, selector: string): * |
|
| public |
F loadPath(node: *, key: *, json: *) |
|
| public |
F loadUIData(node: *, json: *) |
|
| public |
F makeParser(): * |
|
| public |
F saveUIData(node: *, key: *): * |
|
| public |
F setUIBase(cls: *) |
|
| public |
|
|
| public |
F color2web(color: *): * |
|
| public |
F css2color(color: *): * |
|
| public |
F exportTheme(theme1: *, addVarDecl: boolean): * |
|
| public |
F invertTheme() |
|
| public |
F parsepx(css: *): * |
|
| public |
F setColorSchemeType(mode: *) |
|
| public |
F validateCSSColor(color: *): * |
|
| public |
F validateWebColor(str: *): * |
|
| public |
F web2color(str: *): * |
|
| public |
F buildString(value: *, unit:: *): * |
|
| public |
F convert(value: *, unita: *, unitb: *): * |
|
| public |
|
|
| public |
F parseValue(string: *, baseUnit: *, displayUnit: *): * |
|
| public |
F parseValueIntern(string: *, baseUnit: *): * |
|
| public |
F setBaseUnit(unit: *) |
|
| public |
F setMetric(val: *) |
|
| public |
|
|
| public |
|
|
| public |
V DefaultTheme: {"base": *, "button": *, "checkbox": *, "colorfield": *, "colorpickerbutton": *, "curvewidget": *, "dropbox": *, "iconbutton": *, "iconcheck": *, "label": *, "listbox": *, "menu": *, "notification": *, "numslider": *, "numslider_simple": *, "numslider_textbox": *, "panel": *, "richtext": *, "screenborder": *, "scrollbars": *, "sidebar": *, "strip": *, "tabs": *, "textbox": *, "tooltip": *, "treeview": *, "vecPopupButton": *} export const DefaultTheme = {
base : AreaHeaderBG"rgba(200, 200, 200, 0.95)"BasePackFlag0BoxDepressed"rgba(130,130,130, 1)"BoxHighlight"rgba(151,208,239, 1)""flex-grow""unset"DefaultTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size14color"rgba(35, 35, 35, 1.0)"LabelTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size14color"rgba(35, 35, 35, 1.0)"TitleTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size12color"rgba(35, 35, 35, 1.0)""background-color""rgba(207,207,207, 0.5)""border-color""rgba(34,34,34, 1)""border-radius"12.010619764585666"focus-border-width"2oneAxisPadding2padding1,
button : DefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgba(35,35,35, 1)""background-color""rgba(238,238,238, 0.8672412740773168)""border-color""rgba(255,255,255, 1)""border-radius"4"border-style""solid""border-width"2disabledDefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgb(109,109,109)""background-color""rgb(19,19,19)""border-color""#f58f8f""border-style""solid""border-width"1height25highlightDefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgba(255,255,255, 1)""background-color""rgba(138,222,255, 1)""border-color""rgba(255,255,255, 1)""border-radius"4"border-style""solid""border-width"2"highlight-pressed"DefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgba(35,35,35, 1)""background-color""rgba(113,113,113, 1)""border-color""#DADCE0""border-style""solid""border-width"1margin4"margin-left"4"margin-right"4padding1pressedDefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgba(35,35,35, 1)""background-color""rgba(113,113,113, 1)""border-color""#DADCE0""border-style""solid""border-width"1width25,
checkbox : CheckSide"left"height32width32,
colorfield : circleSize11colorBoxHeight24fieldSize400height256hueHeight32width256,
colorpickerbutton : height32width95,
curvewidget : CanvasBG"rgb(44,44,44)"CanvasHeight256CanvasWidth256,
dropbox : dropTextBG"rgba(233,233,233, 1)"height25width32,
iconbutton : highlight"background-color""rgba(133,182,255,0.8)""border-color""black""border-radius"5"border-width"1height32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32depressed"background-color""rgba(42,61,77,0.8)""border-color""black""border-radius"5"border-width"1height32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32"background-color""rgba(15,15,15, 0)""border-color""black""border-radius"5"border-width"1height32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32,
iconcheck : highlight"background-color""rgba(133,182,255,0.8)""border-color""black""border-radius"5"border-width"1height32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32depressed"background-color""rgba(42,61,77,0.8)""border-color""black""border-radius"5"border-width"1height32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32"background-color""rgba(15,15,15, 0)""border-color""rgba(237,209,209, 1)""border-radius"5"border-width"0drawCheckheight32"margin-bottom"1"margin-left"2"margin-right"2"margin-top"1padding2width32,
label : LabelTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size14color"rgba(35, 35, 35, 1.0)",
listbox : ListActive"rgba(200, 205, 215, 1.0)"ListHighlight"rgba(155, 220, 255, 0.5)"height200width110,
menu : MenuBG"rgba(250, 250, 250, 1.0)""item-radius"0MenuBorder"1px solid grey"MenuHighlight"rgba(155, 220, 255, 1.0)"MenuSeparatorwidth"100%"height2padding0margin0border"none""background-color""grey""box-shadow""5px 5px 25px rgba(0,0,0,0.75)"MenuSpacing5MenuTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size12color"rgba(25, 25, 25, 1.0)""padding-top"0"padding-left"0"padding-right"0"padding-bottom"0"border-color""grey""border-radius"5"border-style""solid""border-width"1,
notification : DefaultTextCSSFontfont"poppins"weight"bold"variant"normal"style"normal"size12color"rgb(55,55,55)""background-color""rgba(72,72,72,0)""border-radius"5"border-color""grey""border-width"1"border-style""solid"ProgressBarBG"rgb(74,148,183)"ProgressBar"rgb(250,132,58)",
numslider : "background-color""rgba(219,219,219, 1)""border-color""black""border-radius"1height18width90,
numslider_simple : SlideHeight10TextBoxWidth45"background-color""rgba(219,219,219, 1)"height18labelOnTopwidth135,
numslider_textbox : TextBoxHeight25TextBoxWidth50"background-color""rgba(219,219,219, 1)"height25labelOnTopwidth120,
panel : HeaderBorderRadius5.329650280441558HeaderRadius4TitleBackground"rgba(177,219,255, 1)"TitleBorder"rgba(104,104,104, 1)"TitleTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size14color"rgba(0,0,0, 1)""background-color""rgba(184,184,184, 0.7594818376068376)""border-color""rgba(0,0,0, 0.5598061397157866)""border-radius"4"border-style""groove""border-width"1.141"margin-bottom"0"margin-bottom-closed"0"margin-left"5.6584810220495445"margin-right"0"margin-top"0"margin-top-closed"0"padding-bottom"0"padding-left"0"padding-right"0"padding-top"0,
richtext : DefaultTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size16color"rgba(35, 35, 35, 1.0)""background-color""rgb(245, 245, 245)",
screenborder : "border-inner""grey""border-outer""rgba(228,228,228, 1)""border-width"2"mouse-threshold"8,
scrollbars : borderundefinedcolorundefinedcolor2undefinedcontrastundefinedwidthundefined,
sidebar : "background-color""rgba(55, 55, 55, 0.5)",
strip : "background-color""rgba(75,75,75, 0.33213141025641024)""border-color""rgba(0,0,0, 0.31325409987877156)""border-radius"8.76503417507447"border-style""solid""border-width"1margin2oneAxisPadding2padding1"flex-grow""unset",
tabs : "movable-tabs""true"TabActive"rgba(212,212,212, 1)"TabBarRadius6TabHighlight"rgba(50, 50, 50, 0.2)"TabInactive"rgba(183,183,183, 1)"TabStrokeStyle1"rgba(0,0,0, 1)"TabStrokeStyle2"rgba(0,0,0, 1)"TabTextCSSFontfont"sans-serif"weight"normal"variant"bold"style"normal"size15color"rgba(0,0,0, 1)""background-color""rgba(222,222,222, 1)",
textbox : DefaultTextCSSFontfont"sans-serif"weight"normal"variant"normal"style"normal"size14color"rgba(3,3,3, 1)""background-color""rgba(245,245,245, 1)",
tooltip : ToolTipTextCSSFontfont"sans-serif"weight"bold"variant"normal"style"normal"size12color"rgba(35, 35, 35, 1.0)""background-color""rgba(255,255,255, 1)""border-color""rgba(139,139,139, 1)""border-radius"3"border-style""solid""border-width"1padding5,
treeview : itemIndent10rowHeight18,
vecPopupButton : height18padding3width100,
}
|
|
| public |
V ClassIdSymbol: * |
|
| public |
V ElementClasses: *[] |
|
| public |
V ErrorColors: {"WARNING": string, "ERROR": string, "OK": string} export const ErrorColors = {
WARNING : "yellow",
ERROR : "red",
OK : "green",
}
|
|
| public |
V IconSheets: {"SMALL": *, "LARGE": number, "XLARGE": number} export let IconSheets = {
SMALL: 0,
LARGE: 1,
XLARGE: 2,
}
|
|
| public |
V PackFlags: {"INHERIT_WIDTH": number, "INHERIT_HEIGHT": number, "VERTICAL": number, "USE_ICONS": number, "SMALL_ICON": number, "LARGE_ICON": number, "FORCE_PROP_LABELS": number, "PUT_FLAG_CHECKS_IN_COLUMNS": number, "WRAP_CHECKBOXES": number, "STRIP_HORIZ": number, "STRIP_VERT": number, "STRIP": *, "SIMPLE_NUMSLIDERS": number, "FORCE_ROLLER_SLIDER": number, "HIDE_CHECK_MARKS": *, "NO_NUMSLIDER_TEXTBOX": *, "CUSTOM_ICON_SHEET": *, "CUSTOM_ICON_SHEET_START": number, "NO_UPDATE": *} export const PackFlags = {
INHERIT_WIDTH : 1,
INHERIT_HEIGHT : 2,
VERTICAL : 4,
USE_ICONS : 8,
SMALL_ICON : 16,
LARGE_ICON : 32,
FORCE_PROP_LABELS : 64, //force propeties (Container.prototype.prop()) to always have labels
PUT_FLAG_CHECKS_IN_COLUMNS : 128, //group flag property checkmarks in columns (doesn't apply to icons)
WRAP_CHECKBOXES : 256,
STRIP_HORIZ : 512,
STRIP_VERT : 1024,
STRIP : 512|1024,
SIMPLE_NUMSLIDERS : 2048,
FORCE_ROLLER_SLIDER : 4096,
HIDE_CHECK_MARKS : 1<<13,
NO_NUMSLIDER_TEXTBOX : 1<<14,
CUSTOM_ICON_SHEET : 1<<15,
CUSTOM_ICON_SHEET_START : 20, //custom icon sheet bits are shifted to here
NO_UPDATE : 1<<16,
}
|
|
| public |
V UIFlags: {} export const UIFlags = {
}
|
|
| private |
V _themeUpdateKey: * |
|
| public |
V dpistack: *[] |
|
| public |
|
|
| public |
V marginPaddingCSSKeys: * |
|
| public |
|
|
| public |
V ColorSchemeTypes: {"LIGHT": string, "DARK": string} export let ColorSchemeTypes = {
LIGHT : "light",
DARK : "dark",
}
|
|
| public |
V compatMap: {"BoxMargin": string, "BoxBG": string, "BoxRadius": string, "background": string, "defaultWidth": string, "defaultHeight": string, "DefaultWidth": string, "DefaultHeight": string, "BoxBorder": string, "BoxLineWidth": string, "BoxSubBG": string, "BoxSub2BG": string, "DefaultPanelBG": string, "InnerPanelBG": string, "Background": string, "numslider_width": string, "numslider_height": string} export let compatMap = {
BoxMargin : "padding",
BoxBG : "background",
BoxRadius : "border-radius",
background : "background-color",
defaultWidth : "width",
defaultHeight : "height",
DefaultWidth : "width",
DefaultHeight : "height",
BoxBorder : "border-color",
BoxLineWidth : "border-width",
BoxSubBG : "background-color",
BoxSub2BG : "background-color",
DefaultPanelBG : "background-color",
InnerPanelBG : "background-color",
Background : "background-color",
numslider_width : "width",
numslider_height : "height",
}
|
|
| public |
V theme: {} export let theme = {
}
|
|
| public |
V Units: *[] |
|
docbrowser
| summary | ||
| public |
|
|
| public |
|
|
| public |
C DocsAPI |
|
| public |
|
|
| public |
|
|
| public |
|
|
path-controller
| summary | ||
| public |
V config: * |
|
| public |
V html5_fileapi: * |
|
| public |
V math: * |
|
| public |
V nstructjs: * |
|
| public |
V parseutil: * |
|
| public |
V solver: * |
|
| public |
V toolprop_abstract: * |
|
| public |
V util: * |
|
| public |
V vectormath: * |
|
path-controller/config
path-controller/controller
| summary | ||
| public |
C Context |
|
| public |
|
|
| public |
|
|
| public |
C DataAPI |
|
| public |
C DataList |
|
| public |
|
|
| public |
|
|
| public |
C DataPath |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
F setNotifier(cls: *) |
|
| public |
F test(): * |
|
| public |
F getDataPathToolOp(): * |
|
| public |
|
|
| public |
F popReportName() |
|
| public |
F pushReportName(name: *) |
|
| public |
F setDataPathToolOp(cls: *) |
|
| public |
F getTempProp(type: *): * |
|
| public |
F getVecClass(proptype: *): * |
|
| public |
F isVecProperty(prop: *): * |
|
| public |
F registerTool(cls: *): * |
|
| public |
F setImplementationClass(cls: *) |
|
| public |
V ContextFlags: {"IS_VIEW": number} export const ContextFlags = {
IS_VIEW: 1,
}
|
|
| public |
V OverlayClasses: *[] |
|
| public |
V excludedKeys: * |
|
| public |
V pathParser: * |
|
| public |
V DataFlags: {"READ_ONLY": number, "USE_CUSTOM_GETSET": number, "USE_FULL_UNDO": number, "USE_CUSTOM_PROP_GETTER": number} export const DataFlags = {
READ_ONLY : 1,
USE_CUSTOM_GETSET : 2,
USE_FULL_UNDO : 4, //DataPathSetOp in controller_ops.js saves/loads entire file for undo/redo
USE_CUSTOM_PROP_GETTER: 8,
}
|
|
| public |
export const DataTypes = {
STRUCT : 0,
DYNAMIC_STRUCT: 1,
PROP : 2,
ARRAY : 3,
}
|
|
| public |
V StructFlags: {"NO_UNDO": number} export const StructFlags = {
NO_UNDO: 1,
}
|
|
path-controller/curve
| summary | ||
| public |
C Curve1D |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C ParamKey |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
F mySafeJSONParse(buf: *): * |
|
| public |
F mySafeJSONStringify(obj: *): * |
|
| public |
F evalHermiteTable(table: *, t: *): * |
|
| public |
F genHermiteTable(evaluate: *, steps: *): * |
|
| public |
|
|
| public |
F binomial(n: *, i: *): * |
|
| public |
|
|
| public |
F mySafeJSONParse(buf: *): * |
|
| public |
F mySafeJSONStringify(obj: *): * |
|
| public |
F makeGenEnum(): * |
|
| public |
F Ease() The Ease class provides a collection of easing functions for use with TweenJS. |
|
| public |
|
|
| public |
V CurveConstructors: *[] |
|
| public |
V CurveFlags: {"SELECT": number} export const CurveFlags = {
SELECT: 1,
}
|
|
| public |
V TangentModes: {"SMOOTH": number, "BREAK": number} export const TangentModes = {
SMOOTH: 1,
BREAK: 2,
}
|
|
| public |
V SplineTemplateIcons: {} export const SplineTemplateIcons = {
}
|
|
| public |
V SplineTemplates: {"CONSTANT": *, "LINEAR": number, "SHARP": number, "SQRT": number, "SMOOTH": number, "SMOOTHER": number, "SHARPER": number, "SPHERE": number, "REVERSE_LINEAR": number, "GUASSIAN": number} export const SplineTemplates = {
CONSTANT : 0,
LINEAR : 1,
SHARP : 2,
SQRT : 3,
SMOOTH : 4,
SMOOTHER : 5,
SHARPER : 6,
SPHERE : 7,
REVERSE_LINEAR: 8,
GUASSIAN : 9,
}
|
|
path-controller/toolsys
| summary | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
List of other tool props (all of one type) |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| private |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
List of other tool props (all of one type) |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C ToolOp |
|
| public |
|
|
| public |
|
|
| public |
F buildParser(): * |
|
| public |
F initToolPaths() |
|
| public |
F parseToolPath(str: *, check_tool_exists: boolean): {"toolclass": *, "args": *} |
|
| public |
F testToolParser(): * |
|
| public |
F setPropTypes(types: *) |
|
| public |
F buildToolSysAPI(api: *, registerWithNStructjs: boolean, rootCtxStruct: *) |
|
| public |
F setContextClass(cls: *) |
|
| public |
F setDefaultUndoHandlers(undoPre: *, undo: *) |
|
| public |
V Parser: * |
|
| public |
V ToolPaths: {} export let ToolPaths = {
}
|
|
| public |
V FloatConstrinats: * |
|
| public |
V IntegerConstraints: * |
|
| public |
V NumberConstraints: * |
|
| public |
|
|
| public |
V PropClasses: {} export let PropClasses = {
}
|
|
| public |
V PropSubTypes: {"COLOR": number} export const PropSubTypes = {
COLOR: 1,
}
|
|
| public |
V customPropertyTypes: *[] |
|
| public |
|
|
| public |
|
|
| public |
V PropFlags: {"SELECT": number, "PRIVATE": number, "LABEL": number, "USE_ICONS": number, "USE_CUSTOM_GETSET": number, "SAVE_LAST_VALUE": number, "READ_ONLY": number, "SIMPLE_SLIDER": *, "FORCE_ROLLER_SLIDER": *, "USE_BASE_UNDO": *, "EDIT_AS_BASE_UNIT": *, "NO_UNDO": *, "USE_CUSTOM_PROP_GETTER": *} export const PropFlags = {
SELECT : 1,
PRIVATE : 2,
LABEL : 4,
USE_ICONS : 64,
USE_CUSTOM_GETSET : 128, //used by controller.js interface
SAVE_LAST_VALUE : 256,
READ_ONLY : 512,
SIMPLE_SLIDER : 1<<10,
FORCE_ROLLER_SLIDER : 1<<11,
USE_BASE_UNDO : 1<<12, //internal to simple_controller.js
EDIT_AS_BASE_UNIT : 1<<13, //user textbox input should be interpreted in display unit
NO_UNDO : 1<<14,
USE_CUSTOM_PROP_GETTER : 1<<15,
}
|
|
| public |
V PropSubTypes: {"COLOR": number} export const PropSubTypes = {
COLOR: 1,
}
|
|
| public |
V PropTypes: {"INT": number, "STRING": number, "BOOL": number, "ENUM": number, "FLAG": number, "FLOAT": number, "VEC2": number, "VEC3": number, "VEC4": number, "MATRIX4": number, "QUAT": number, "PROPLIST": number, "STRSET": number, "CURVE": *, "FLOAT_ARRAY": *, "REPORT": *} export let PropTypes = {
INT : 1,
STRING : 2,
BOOL : 4,
ENUM : 8,
FLAG : 16,
FLOAT : 32,
VEC2 : 64,
VEC3 : 128,
VEC4 : 256,
MATRIX4 : 512,
QUAT : 1024,
PROPLIST : 4096,
STRSET : 8192,
CURVE : 8192<<1,
FLOAT_ARRAY : 8192<<2,
REPORT : 8192<<3,
}
|
|
| public |
V MacroClasses: {} export const MacroClasses = {
}
|
|
| public |
|
|
| public |
V ToolClasses: *[] |
|
| public |
export const ToolFlags = {
PRIVATE: 1,
}
|
|
| public |
V UndoFlags: {"NO_UNDO": number, "IS_UNDO_ROOT": number, "UNDO_BARRIER": number, "HAS_UNDO_DATA": number} export const UndoFlags = {
NO_UNDO : 2,
IS_UNDO_ROOT : 4,
UNDO_BARRIER : 8,
HAS_UNDO_DATA: 16,
}
|
|
path-controller/util
| summary | ||
| public |
|
|
| public |
|
|
| public |
C Node |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C MinMax |
|
| public |
C PlaneOps |
|
| public |
C STRUCT |
|
| public |
C parser |
|
| public |
|
|
| public |
|
|
| public |
C lexer |
|
| public |
C parser |
|
| public |
C tokdef |
|
| public |
C token |
|
| public |
|
|
| public |
C HotKey |
|
| public |
C KeyMap |
|
| public |
|
|
| public |
C Solver |
|
| public |
|
|
| public |
jsFiddle-friendly |
|
| public |
C FastHash |
|
| public |
NOT CRYPTOGRAPHIC |
|
| public |
C HashIter |
|
| public |
C IDGen |
|
| public |
C IDMap |
|
| public |
|
|
| public |
C MapIter |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C Queue |
|
| public |
C SetIter |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C map |
|
| public |
C set Set |
|
| public |
C Matrix4 |
|
| public |
C Quat |
|
| public |
C Vector2 |
|
| public |
C Vector3 |
|
| public |
C Vector4 |
|
| public |
F cmyk_to_rgb(c: *, m: *, y: *, k: *): * |
|
| public |
F hsv_to_rgb(h: *, s: *, v: *): * |
|
| public |
F rgb_to_cmyk(r: *, g: *, b: *): * |
|
| public |
F rgb_to_hsv(r: *, g: *, b: *): * |
|
| public |
F css2matrix(s: *): * |
|
| public |
F matrix2css(m: *): string |
|
| public |
F copyMouseEvent(e: *): * |
|
| public |
F isModalHead(owner: *): * |
|
| public |
F pushModal(dom: *, handlers: *): * |
|
| public |
F parseExpr(s: *): * |
|
| public |
|
|
| public |
|
|
| public |
F getImageData(image: *): * |
|
| public |
F loadImageFile(): * |
|
| private |
F _old_isect_ray_plane(planeorigin: *, planenormal: *, rayorigin: *, raynormal: *): * |
|
| public |
F aabb_intersect_2d(pos1: *, size1: *, pos2: *, size2: *): * Returns aabb that's the intersection of two aabbs |
|
| public |
F aabb_intersect_3d(min1: *, max1: *, min2: *, max2: *): boolean |
|
| public |
F aabb_isect_2d(pos1: *, size1: *, pos2: *, size2: *): * Returns true if two aabbs intersect |
|
| public |
F aabb_isect_3d(pos1: *, size1: *, pos2: *, size2: *): * |
|
| public |
F aabb_isect_cylinder_3d(v1: *, v2: *, radius: *, min: *, max: *): * |
|
| public |
F aabb_isect_line_2d(v1: *, v2: *, min: *, max: *): boolean |
|
| public |
F aabb_isect_line_3d(v1: *, v2: *, min: *, max: *): * |
|
| public |
F aabb_overlap_area(pos1: *, size1: *, pos2: *, size2: *): * |
|
| public |
F aabb_sphere_dist(p: *, min: *, max: *): * |
|
| public |
F aabb_sphere_isect(p: *, r: *, min: *, max: *): boolean |
|
| public |
F aabb_sphere_isect_2d(p: *, r: *, min: *, max: *): * |
|
| public |
F aabb_union(a: *, b: *): * AABB union of a and b. |
|
| public |
F aabb_union_2d(pos1: *, size1: *, pos2: *, size2: *): * |
|
| public |
F barycentric_v2(p: *, v1: *, v2: *, v3: *, axis1: number, axis2: number, out: *): * |
|
| public |
F calc_projection_axes(no: *): * |
|
| public |
F circ_from_line_tan(a: *, b: *, t: *): * |
|
| public |
F circ_from_line_tan_2d(a: *, b: *, t: *): * |
|
| public |
F clip_line_w(_v1: *, _v2: *, znear: *, zfar: *): * |
|
| public |
F closestPoint(p: *, curve: *, mode: *) |
|
| public |
F closest_point_on_line(p: *, v1: *, v2: *, clip: boolean): * |
|
| public |
F closest_point_on_quad(p: *, v1: *, v2: *, v3: *, v4: *, n: *, uvw: *): * |
|
| public |
F closest_point_on_tri(p: *, v1: *, v2: *, v3: *, n: *, uvw: *): * |
|
| public |
|
|
| public |
F convex_quad(v1: *, v2: *, v3: *, v4: *): * |
|
| public |
F corner_normal(vec1: *, vec2: *, width: *): * |
|
| public |
F dihedral_v3_sqr(v1: *, v2: *, v3: *, v4: *): * v2 |
|
| public |
F dist_to_line(p: *, v1: *, v2: *, clip: boolean): * |
|
| public |
F dist_to_line_2d(p: *, v1: *, v2: *, clip: *, closest_co_out: *, t_out: *): * |
|
| public |
F dist_to_line_sqr(p: *, v1: *, v2: *, clip: boolean): * |
|
| public |
F dist_to_tri_v3(p: *, v1: *, v2: *, v3: *, n: *): * |
|
| public |
F dist_to_tri_v3_old(co: *, v1: *, v2: *, v3: *, no: *): * |
|
| public |
F dist_to_tri_v3_sqr(p: *, v1: *, v2: *, v3: *, n: *): * |
|
| public |
F expand_line(l: *, margin: *): * |
|
| public |
F expand_rect2d(pos: *, size: *, margin: *) |
|
| public |
F gen_circle(m: *, origin: *, r: *, stfeps: *): * |
|
| public |
F get_boundary_winding(points: *): * |
|
| public |
F get_rect_lines(p: *, size: *): * |
|
| public |
F get_rect_points(p: *, size: *): * |
|
| public |
F get_tri_circ(a: *, b: *, c: *): * |
|
| public |
F inrect_2d(p: *, pos: *, size: *): * |
|
| public |
F isNum(f: *): * |
|
| public |
F isect_ray_plane(planeorigin: *, planenormal: *, rayorigin: *, raynormal: *): * |
|
| public |
F line_isect(v1: *, v2: *, v3: *, v4: *, calc_t: *): undefined[] |
|
| public |
F line_line_cross(v1: *, v2: *, v3: *, v4: *): * |
|
| public |
F line_line_isect(v1: *, v2: *, v3: *, v4: *, test_segment: *): * |
|
| public |
F makeCircleMesh(gl: *, radius: *, stfeps: *): * |
|
| public |
F mesh_find_tangent(mesh: *, viewvec: *, offvec: *, projmat: *, verts: *): * |
|
| public |
F minmax_verts(verts: *): undefined[] |
|
| public |
F normal_poly(vs: *): * |
|
| public |
F normal_quad(v1: *, v2: *, v3: *, v4: *): * |
|
| public |
F normal_quad_old(v1: *, v2: *, v3: *, v4: *): * |
|
| public |
F normal_tri(v1: *, v2: *, v3: *): * |
|
| public |
F point_in_aabb(p: *, min: *, max: *): * |
|
| public |
F point_in_aabb_2d(p: *, min: *, max: *): * |
|
| public |
F point_in_hex(p: *, boxverts: *, boxfacecents: *, boxfacenormals: *): * |
|
| public |
F point_in_tri(p: *, v1: *, v2: *, v3: *): * |
|
| public |
F project(vec: *, pers: *, view: *): * |
|
| public |
F quad_bilinear(v1: *, v2: *, v3: *, v4: *, u: *, v: *): * |
|
| public |
F rot2d(v1: *, A: *, axis: *) |
|
| public |
F simple_tri_aabb_isect(v1: *, v2: *, v3: *, min: *, max: *): boolean |
|
| public |
F tet_volume(a: *, b: *, c: *, d: *): * |
|
| public |
F tri_angles(v1: *, v2: *, v3: *): * |
|
| public |
F tri_area(v1: *, v2: *, v3: *): * |
|
| public |
F trilinear_co(p: *, boxverts: *): * |
|
| public |
F trilinear_co2(p: *, boxverts: *, uvw: *): * |
|
| public |
F trilinear_v3(uvw: *, boxverts: *): * |
|
| public |
F unproject(vec: *, ipers: *, iview: *): * |
|
| public |
|
|
| public |
F winding_axis(a: *, b: *, c: *, up_axis: *): * |
|
| private |
F _truncateDollarSign(s: *): * |
|
| public |
F getEndian(): * |
|
| public |
F inherit(child: *, parent: *, structName: *): * |
|
| public |
F isRegistered(cls: *): * |
|
| public |
F readJSON(json: *, class_or_struct_id: *): * |
|
| public |
F readObject(data: *): * |
|
| public |
F register(cls: *, structName: *): * Register a class with nstructjs * |
|
| public |
F setAllowOverriding(t: *): * |
|
| public |
F setDebugMode(t: *) |
|
| public |
F setEndian(mode: *) |
|
| public |
F setTruncateDollarSign(v: *) |
|
| public |
F setWarningMode(t: *) |
|
| public |
F unregister(cls: *) |
|
| public |
F validateStructs(onerror: *): * |
|
| public |
F writeJSON(obj: *): * |
|
| public |
F writeObject(data: *): * |
|
| public |
F write_scripts(nManager: *, include_code: *): * Write all defined structs out to a string. |
|
| private |
F _setModalAreaClass(cls: *) |
|
| private |
F _setScreenClass(cls: *) |
|
| public |
F copyEvent(e: *): * |
|
| public |
F eventWasTouch(e: *): * Returns true if event came from a touchscreen or pen device |
|
| public |
F haveModal(): * |
|
| public |
F isLeftClick(e: *): * |
|
| public |
F isMouseDown(e: *): * |
|
| public |
F pathDebugEvent(e: *, extra: *) |
|
| public |
F popModalLight(state: *) |
|
| public |
F pushModalLight(obj: *, autoStopPropagation: boolean, elem: *, pointerId: *): * |
|
| public |
F pushPointerModal(obj: *, elem: *, pointerId: *, autoStopPropagation: boolean): * |
|
| public |
F singleMouseEvent(cb: *, type: *): * adds a mouse event callback that only gets called once |
|
| public |
F atob(buf: *): * |
|
| public |
F btoa(buf: *): * |
|
| public |
F color2css(c: *): * |
|
| public |
F count(iterable: *, searchItem: *): * Count items in list; if searchItem is not undefined then a count of the number of times searchItem occurs will be returned. |
|
| public |
F fetch_file(path: *): * |
|
| public |
F formatNumberUI(val: *, isInt: boolean, decimals: number): * |
|
| public |
F getAllKeys(obj: *): * |
|
| public |
F getClassParent(cls: *): * |
|
| public |
F hashjoin(hash: *, val: *) |
|
| public |
F isDenormal(f: *): * |
|
| public |
F isMobile(): * |
|
| public |
F list(iterable: *): * |
|
| public |
F merge(obja: *, objb: *): * |
|
| public |
|
|
| public |
F print_stack(err: *) |
|
| public |
F random(): * |
|
| public |
F seed(n: *) |
|
| public |
F strhash(str: *): * |
|
| public |
|
|
| public |
F termPrint(): * |
|
| public |
F test_fasthash(): * |
|
| public |
F time_ms(): * |
|
| public |
V DomEventTypes: {"on_mousemove": string, "on_mousedown": string, "on_mouseup": string, "on_touchstart": string, "on_touchcancel": string, "on_touchmove": string, "on_touchend": string, "on_mousewheel": string, "on_keydown": string, "on_keyup": string, "on_pointerdown": string, "on_pointermove": string, "on_pointercancel": string, "on_pointerup": string} export const DomEventTypes = {
on_mousemove : "mousemove",
on_mousedown : "mousedown",
on_mouseup : "mouseup",
on_touchstart : "touchstart",
on_touchcancel : "touchcanel",
on_touchmove : "touchmove",
on_touchend : "touchend",
on_mousewheel : "mousewheel",
on_keydown : "keydown",
on_keyup : "keyup",
on_pointerdown : "pointerdown",
on_pointermove : "pointermove",
on_pointercancel : "pointercancel",
on_pointerup : "pointerup",
}
|
|
| public |
V modalStack: *[] |
|
| public |
|
|
| public |
|
|
| public |
V ClosestModes: {"CLOSEST": *, "START": number, "END": number, "ENDPOINTS": number, "ALL": number} export const ClosestModes = {
CLOSEST : 0,
START : 1,
END : 2,
ENDPOINTS: 3,
ALL : 4,
}
|
|
| public |
V FEPS: * |
|
| public |
export const FEPS_DATA = {
F16 : 1.11e-16,
F32 : 5.96e-8,
F64 : 0.000488,
}
|
|
| public |
|
|
| public |
V FLOAT_MIN: * |
|
| public |
|
|
| public |
V Matrix4UI: * |
|
| public |
V SQRT2: * |
|
| public |
|
|
| public |
|
|
| public |
V keymap: * |
|
| public |
V keymap_latin_1: * export var keymap_latin_1 = {
"Space" : 32,
"Escape" : 27,
"Enter" : 13,
"Return" : 13,
"Up" : 38,
"Down" : 40,
"Left" : 37,
"Right" : 39,
"Num0" : 96,
"Num1" : 97,
"Num2" : 98,
"Num3" : 99,
"Num4" : 100,
"Num5" : 101,
"Num6" : 102,
"Num7" : 103,
"Num8" : 104,
"Num9" : 105,
"Home" : 36,
"End" : 35,
"Delete" : 46,
"Backspace": 8,
"Insert" : 45,
"PageUp" : 33,
"PageDown" : 34,
"Tab" : 9,
"-" : 189,
"=" : 187,
"." : 190,
"/" : 191,
"," : 188,
";" : 186,
"'" : 222,
"[" : 219,
"]" : 221,
"NumPlus" : 107,
"NumMinus" : 109,
"Shift" : 16,
"Ctrl" : 17,
"Control" : 17,
"Alt" : 18,
}
|
|
| public |
V modalstack: *[] |
|
| public |
V reverse_keymap: * |
|
| public |
|
|
| public |
|
|
| public |
V termColorMap: {} export let termColorMap = {
}
|
|
| public |
V timers: {} export let timers = {
}
|
|
| public |
V BaseVector: * |
|
| public |
V EulerOrders: {"XYZ": *, "XZY": number, "YXZ": number, "YZX": number, "ZXY": number, "ZYX": number} export const EulerOrders = {
XYZ: 0,
XZY: 1,
YXZ: 2,
YZX: 3,
ZXY: 4,
ZYX: 5,
}
|
|
| public |
V F32BaseVector: * |
|
| public |
V F64BaseVector: * |
|
platforms
| summary | ||
| public |
|
|
| public |
C FilePath |
|
| public |
|
|
| public |
F getPlatformAsync(): * |
|
| public |
F getExtension(path: *): * |
|
| public |
|
|
| public |
F isMimeText(mime: *): * |
|
| public |
V mimeMap: {".js": string, ".json": string, ".html": string, ".txt": string, ".jpg": string, ".png": string, ".tiff": string, ".gif": string, ".bmp": string, ".tga": string, ".svg": string, ".xml": string} export const mimeMap = {
".js" : "application/javascript",
".json" : "text/json",
".html" : "text/html",
".txt" : "text/plain",
".jpg" : "image/jpeg",
".png" : "image/png",
".tiff" : "image/tiff",
".gif" : "image/gif",
".bmp" : "image/bitmap",
".tga" : "image/targa",
".svg" : "image/svg+xml",
".xml" : "text/xml",
}
|
|
| public |
V textMimes: * |
|
platforms/web
| summary | ||
| public |
C platform |
|
| public |
F getWebFilters(filters: *[]): * |
|
screen
| summary | ||
| public |
|
|
| public |
C Screen Base class for app workspaces |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C ToolBase |
|
| public |
|
|
| public |
C Area Base class for all editors |
|
| public |
|
|
| public |
|
|
| private |
F _onEventsStart(cb: *) |
|
| private |
F _onEventsStop(cb: *) |
|
| public |
F purgeUpdateStack() |
|
| public |
F registerToolStackGetter(func: *) |
|
| public |
F setKeyboardDom(dom: *) |
|
| public |
F setKeyboardOpts(opts: *) Sets options passed to addEventListener() for on_keydown hotkey handler |
|
| public |
F startEvents(getScreenFunc: *) |
|
| public |
F stopEvents(): * |
|
| public |
F snap(c: *, snap_limit: *): * |
|
| public |
F snapi(c: *, snap_limit: *): * |
|
| public |
F registerToolStackGetter(func: *) |
|
| public |
F setScreenClass(cls: *) |
|
| public |
F getAreaIntName(name: *): * |
|
| public |
F setAreaTypes(def: *) |
|
| public |
F setScreenClass(cls: *) |
|
| public |
|
|
| public |
|
|
| public |
V AreaFlags: {"HIDDEN": number, "FLOATING": number, "INDEPENDENT": number, "NO_SWITCHER": number, "NO_HEADER_CONTEXT_MENU": number, "NO_COLLAPSE": number} export const AreaFlags = {
HIDDEN : 1,
FLOATING : 2,
INDEPENDENT : 4, //area is indpendent of the screen mesh
NO_SWITCHER : 8,
NO_HEADER_CONTEXT_MENU: 16,
NO_COLLAPSE : 32,
}
|
|
| public |
V BorderMask: {"LEFT": number, "BOTTOM": number, "RIGHT": number, "TOP": number, "ALL": *} export const BorderMask = {
LEFT : 1,
BOTTOM : 2,
RIGHT : 4,
TOP : 8,
ALL : 1|2|4|8,
}
|
|
| public |
V BorderSides: {"LEFT": *, "BOTTOM": number, "RIGHT": number, "TOP": number} export const BorderSides = {
LEFT : 0,
BOTTOM: 1,
RIGHT: 2,
TOP : 3,
}
|
|
| public |
V AreaTypes: {"TEST_CANVAS_EDITOR": *} export var AreaTypes = {
TEST_CANVAS_EDITOR: 0,
}
|
|
| public |
V areaclasses: {} export let areaclasses = {
}
|
|
| public |
|
|
simple
| summary | ||
| public |
C AppState |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C Editor |
|
| public |
C SideBar |
|
| public |
|
|
| public |
C FileArgs |
|
| public |
C FileFull |
|
| public |
|
|
| public |
see ./editor.js:Editor.registerAppMenu |
|
| public |
F makeAPI(ctxClass: *): * |
|
| public |
F register() |
|
| public |
F loadFile(appstate: *, args: *, data: *): * |
|
| public |
F saveFile(appstate: *, args: *, objects: *): * |
|
| public |
F loadDefaultIconSheet(): * |
|
| public |
|
|
| public |
V DataModelClasses: *[] |
|
| public |
V Icons: {"FOLDER": *, "FILE": number, "TINY_X": number, "SMALL_PLUS": number, "SMALL_MINUS": number, "UNDO": number, "REDO": number, "HELP": number, "ENUM_UNCHECKED": number, "ENUM_CHECKED": number, "LARGE_CHECK": number, "CURSOR_ARROW": number, "NOTE_EXCL": number, "SCROLL_DOWN": number, "SCROLL_UP": number, "BACKSPACE": number, "LEFT_ARROW": number, "RIGHT_ARROW": number, "UI_EXPAND": number, "UI_COLLAPSE": number, "BOLD": number, "ITALIC": number, "UNDERLINE": number, "STRIKETHRU": number, "TREE_EXPAND": number, "TREE_COLLAPSE": number, "ZOOM_OUT": number, "ZOOM_IN": number} export const Icons = {
FOLDER : 0, //file folder
FILE : 1,
TINY_X : 2, //'x' in bottom left corner
SMALL_PLUS : 3,
SMALL_MINUS : 4,
UNDO : 5,
REDO : 6,
HELP : 7,
ENUM_UNCHECKED: 8, //overlaid on icon checkboxes when unchecked
ENUM_CHECKED : 9, //overlaid on icon checkboxes when checked
LARGE_CHECK : 10, //default check mark for non-icon checkboxes
CURSOR_ARROW : 11,
NOTE_EXCL : 12, //notification exclamation mark
SCROLL_DOWN : 13,
SCROLL_UP : 14,
BACKSPACE : 15,
LEFT_ARROW : 16,
RIGHT_ARROW : 17,
UI_EXPAND : 18, //triangle
UI_COLLAPSE : 19, //triangle
BOLD : 20,
ITALIC : 21,
UNDERLINE : 22,
STRIKETHRU : 23,
TREE_EXPAND : 24,
TREE_COLLAPSE: 25,
ZOOM_OUT : 26,
ZOOM_IN : 27,
}
|
|
| public |
V iconSvg: * |
|
util
| summary | ||
| public |
|
|
| public |
C Overdraw |
|
| public |
C PackNode |
|
| public |
|
|
| public |
F graphGetIslands(nodes: *): * |
|
| public |
|
|
| public |
F startupReport() |
|
| public |
|
|
widgets
| summary | ||
| public |
C DragBox |
|
| public |
|
|
| public |
C Button |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C HueField |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C Curve |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C DropBox |
|
| public |
C Menu |
|
| public |
|
|
| public |
C Note |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C TableRow |
|
| public |
|
|
| public |
C TabBar |
|
| public |
|
|
| public |
C TabItem |
|
| public |
C TreeItem |
|
| public |
C TreeView |
|
| public |
C Check |
|
| public |
C Check1 |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
C ToolTip |
|
| public |
|
|
| public |
|
|
| public |
F getFieldImage(size: *, hsva: *): * |
|
| public |
F hsv_to_rgb(h: *, s: *, v: *): * |
|
| public |
F inv_sample(u: *, v: *): * |
|
| public |
F rgb_to_hsv(r: *, g: *, b: *): * |
|
| public |
F sample(u: *, v: *): * |
|
| public |
F getFieldImage(fieldsize: *, width: *, height: *, hsva: *): * |
|
| public |
F getHueField(width: *, height: *, dpi: *): * |
|
| public |
F inv_sample(u: *, v: *): * |
|
| public |
F sample(u: *, v: *): * |
|
| public |
F setRootStruct(val: *): * |
|
| public |
F binomial(n: *, i: *): * |
|
| public |
F makePopupArea(area_class: *, screen: *, args: {}): * |
|
| public |
F getLastToolStruct(ctx: *): * |
|
| public |
F createMenu(ctx: *, title: *, templ: *): * |
|
| public |
F getWranglerScreen(): * |
|
| public |
F setWranglerScreen(screen: *) |
|
| public |
|
|
| public |
F startMenuEventWrangling(screen: *) |
|
| public |
F error(screen: *, msg: *, timeout: *): * |
|
| public |
F getNoteFrames(screen: *): * |
|
| public |
F message(screen: *, msg: *, timeout: *): * |
|
| public |
F progbarNote(screen: *, msg: *, percent: *, color: *, timeout: *) |
|
| public |
|
|
| public |
F warning(screen: *, msg: *, timeout: *): * |
|
| public |
F NumberSliderBase(cls: *, skip: *, defaults: *): * |
|
| public |
|
|
| public |
V CurveConstructors: {"undefined": *} export const CurveConstructors = {
[CurveTypes.BSPLINE] : BSplineCurve,
[CurveTypes.CUSTOM] : CustomCurve,
[CurveTypes.GUASSIAN] : GuassianCurve,
}
|
|
| public |
V CurveFlags: {"SELECT": number} export const CurveFlags = {
SELECT: 1,
}
|
|
| public |
V CurveTypes: {"BSPLINE": number, "CUSTOM": number, "GUASSIAN": number} export const CurveTypes = {
BSPLINE: 1,
CUSTOM : 2,
GUASSIAN: 4,
}
|
|
| public |
V TangentModes: {"SMOOTH": number, "BREAK": number} export const TangentModes = {
SMOOTH: 1,
BREAK: 2,
}
|
|
| public |
|
|
| public |
V noteframes: *[] |
|
| public |
V SliderDefaults: {"stepIsRelative": *, "expRate": *, "radix": number, "decimalPlaces": number, "baseUnit": string, "displayUnit": string, "slideSpeed": number, "step": number} export const SliderDefaults = {
stepIsRelative : ,
expRate : 1+1/3,
radix : 10,
decimalPlaces : 4,
baseUnit : "none",
displayUnit : "none",
slideSpeed : 1,
step : 0.1,
}
|
|
| public |
V sliderDomAttributes: * |
|
| public |
|
|
xmlpage
| summary | ||
| public |
F initPage(ctx: *, xml: *, parentContainer: *, templateVars: {}, templateScope: {}): * |
|
| public |
F loadPage(ctx: *, url: *, parentContainer_or_args: *, loadSourceOnly: boolean, modifySourceCB: *, templateVars: *, templateScope: *): * |
|
| public |
F parseXML(xml: *): * |
|
| public |
V customHandlers: {} export const customHandlers = {
}
|
|
| public |
V domEventAttrs: * |
|
| public |
V domTransferAttrs: * |
|
