Skip to content

Commit

Permalink
Initial work
Browse files Browse the repository at this point in the history
  • Loading branch information
Vorlias committed May 10, 2022
0 parents commit f0cdf1e
Show file tree
Hide file tree
Showing 15 changed files with 3,843 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"jsx": true,
"useJSXTextNode": true,
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": [
"/out"
],
"plugins": [
"@typescript-eslint",
"roblox-ts",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:roblox-ts/recommended",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": "warn"
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules
/out
/include
*.tsbuildinfo
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": true
}
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"roblox-ts.vscode-roblox-ts",
"dbaeumer.vscode-eslint"
]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"files.eol": "\n",
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true
},
"eslint.run": "onType",
"eslint.format.enable": true
}
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ZenUI Core
Core user interface code for the Zenerith Engine - open sourced for other games using TypeScript to use.


## Controllers
Contains behaviour-oriented components that when built together, will give a behaviour. Currently houses core pieces for pagination/tabs.
- `PageController` - Controller that handles pages
- `TabController` - Handles tab rendering, when used with `PageController` can be used to create tab widgets.

## Views
View objects - currently contains the simplest unit
- `View` (which is just a frame that defaults to transparent & `UDim2.fromScale(1, 1)` size)

## Layouts
Contains objects which handle layout
- `ColumnView` which will create columns that automatically size, each column can also have a specified size, in which other columns will automatically size to.
3 changes: 3 additions & 0 deletions barrelsby.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory": "./src"
}
Loading

0 comments on commit f0cdf1e

Please sign in to comment.