Gabriel Moreira Minossi
|
0f4edd5161
|
Moving files from api/gui/page to api/gui
|
2021-03-12 23:46:09 -03:00 |
|
Gabriel Moreira Minossi
|
5cdd9541d6
|
Commenting unused energy provider on init
|
2021-03-04 19:56:38 -03:00 |
|
Gabriel Moreira Minossi
|
eab8f35791
|
Fixing toggleMultiblockUsecase
Referencing self so the multiblock class can pass the call to the machine
|
2021-01-18 17:38:39 -03:00 |
|
Gabriel Moreira Minossi
|
415ffe0fff
|
Refactoring pages setup
Grouping elements assingment by widget type
|
2021-01-18 16:31:58 -03:00 |
|
Gabriel Moreira Minossi
|
fe955b91e6
|
Integrating with real machines
|
2021-01-18 16:17:05 -03:00 |
|
Gabriel Moreira Minossi
|
c33589b2d3
|
Adding workaround for Parser.parseProgress
Copying the body of the function to the file where it is called
Avoiding weird bug that appears to cause the function not to be called(?)
|
2021-01-18 16:16:30 -03:00 |
|
Gabriel Moreira Minossi
|
de5daf49bd
|
Removing references to self because real machines have no references to self
Improving working/not working behaviour on MockMultiblock
|
2021-01-17 23:36:25 -03:00 |
|
Gabriel Moreira Minossi
|
54b99310f1
|
Removing reference to self because real machines methods do not use self
|
2021-01-17 23:26:18 -03:00 |
|
Gabriel Moreira Minossi
|
f1d77a7eee
|
Adjusting getMultiblockStatusUsecase
Returning status outside of a table
Using `isWorkAllowed` instead of an unexistent method
|
2021-01-17 23:16:26 -03:00 |
|
Gabriel Moreira Minossi
|
92c70b3e23
|
Adding multiblock addresses to Page.setup
|
2021-01-17 23:14:16 -03:00 |
|
Gabriel Moreira Minossi
|
eab31f5f84
|
Adding method to create machine widget
|
2021-01-17 13:56:10 -03:00 |
|
Gabriel Moreira Minossi
|
c830dc58ff
|
Improving multiblock mock
Making it dynamic
|
2021-01-17 13:47:49 -03:00 |
|
Gabriel Moreira Minossi
|
590255c161
|
Adding toggleMultiblockWorkUsecase
|
2021-01-17 13:32:59 -03:00 |
|
Gabriel Moreira Minossi
|
94ea75be6a
|
Changing getMultiblockstatusUsecase to consider a single machine.
Returning progress, state, problems, efficiency and consumption
|
2021-01-16 19:03:26 -03:00 |
|
Gabriel Moreira Minossi
|
fc6b6db776
|
Adding machine states to machine.lua
|
2021-01-16 18:59:49 -03:00 |
|
Gabriel Moreira Minossi
|
711d96108c
|
Fixing visual glitch on maxProgress display
Considering maxProgress an integer
|
2021-01-16 17:12:43 -03:00 |
|
Gabriel Moreira Minossi
|
6b69730059
|
Fixing setup and main loop
Adding libraries to the home folder
waiting 0 seconds on main loop
|
2021-01-16 16:48:24 -03:00 |
|
Gabriel Moreira Minossi
|
6add69e5f8
|
Adding energy specific status
|
2021-01-14 21:42:33 -03:00 |
|
Gabriel Moreira Minossi
|
598cfeb95b
|
Adding types to machine.lua
Fixing `powerWidget.getMiddleString` bug
|
2021-01-14 21:11:27 -03:00 |
|
Gabriel Moreira Minossi
|
2fd7bd311e
|
Integrating power widget with it's datasource
|
2021-01-14 19:29:48 -03:00 |
|
Gabriel Moreira Minossi
|
c3a0326631
|
Simplifying setup
|
2021-01-14 15:54:44 -03:00 |
|
Gabriel Moreira Minossi
|
d995a8f670
|
Adding reboot button
|
2021-01-11 21:33:11 -03:00 |
|
Gabriel Moreira Minossi
|
1965e38a5c
|
Adding logic for navigation buttons
|
2021-01-11 20:48:16 -03:00 |
|
Gabriel Moreira Minossi
|
0656b92f77
|
Addind button layout
|
2021-01-11 16:50:06 -03:00 |
|
Gabriel Moreira Minossi
|
d5ccd4a86d
|
Rounding down divisions on panel buttons scaling
|
2021-01-11 16:34:39 -03:00 |
|
Gabriel Moreira Minossi
|
90612b7ae5
|
Resizing panel buttons and title
|
2021-01-11 16:28:24 -03:00 |
|
Gabriel Moreira Minossi
|
6d4d97229b
|
Adding panel buttons
|
2021-01-11 14:03:15 -03:00 |
|
Gabriel Moreira Minossi
|
9e49d86bd9
|
Adding reboot button on top right
Fixing drawBaseWidget bug
|
2021-01-11 13:51:13 -03:00 |
|
Gabriel Moreira Minossi
|
1c90d83f88
|
Adding panel elements
Improving touch envent listener
Using baseWidget method
Creating page fake method
|
2021-01-11 13:08:06 -03:00 |
|
Gabriel Moreira Minossi
|
f0ac9ac7b0
|
Adding pages init to main init
|
2021-01-11 13:04:52 -03:00 |
|
Gabriel Moreira Minossi
|
1720f162e4
|
Adding titles to pages
|
2021-01-11 13:03:50 -03:00 |
|
Gabriel Moreira Minossi
|
aea2f475e5
|
Refactoring widget
Using a fake method to create fake widgets
Using constants from constants file
Creating a base widget
|
2021-01-11 13:02:11 -03:00 |
|
Gabriel Moreira Minossi
|
e083b3f2ad
|
Refactoring pages widget logic to be on widget file
Moving page logic to be on page file
|
2021-01-10 19:00:57 -03:00 |
|
Gabriel Moreira Minossi
|
2166eaf156
|
Renaming state.state to state.name
|
2021-01-10 17:06:21 -03:00 |
|
Gabriel Moreira Minossi
|
f84c082d47
|
Improving onClick/update mocks
Making on to off to on and on to off to idle wait for progress to finish
|
2021-01-10 14:05:39 -03:00 |
|
Gabriel Moreira Minossi
|
510846d1ec
|
Refactoring event listener on init
Separating onClick logic
|
2021-01-10 13:51:08 -03:00 |
|
Gabriel Moreira Minossi
|
0d6426666a
|
Refactoring main loop on init
Separating updateWidget logic
Adding and adjusting colors for compatibility with BSL and Complementary shader packs
|
2021-01-10 13:44:13 -03:00 |
|
Gabriel Moreira Minossi
|
6e2513f75e
|
Commenting out unused dependency
|
2021-01-09 19:03:33 -03:00 |
|
Gabriel Moreira Minossi
|
a79c9c402d
|
Adding clickable areas that change their corresponding widget's state
|
2021-01-09 01:12:58 -03:00 |
|
Gabriel Moreira Minossi
|
8921e57d77
|
Setting up fake components with states
|
2021-01-08 23:52:31 -03:00 |
|
Gabriel Moreira Minossi
|
7daf955b89
|
Adding semiPixel drawing
Increasing progressBar resolution
Improving progressBar appearance
|
2021-01-08 22:45:42 -03:00 |
|
Gabriel Moreira Minossi
|
feca39a4ed
|
Adding progress bars to widgets
Changing colors
|
2021-01-08 20:40:44 -03:00 |
|
Gabriel Moreira Minossi
|
f1964f7af0
|
Creating a simple interface
|
2021-01-08 16:38:45 -03:00 |
|
Gabriel Moreira Minossi
|
69d3cf09aa
|
Adding gui stub
|
2021-01-08 16:37:22 -03:00 |
|
Gabriel Moreira Minossi
|
3f887c295a
|
Improving singlebocks
Improving mock interface
Adding error messages and name to the `new()` method
|
2021-01-08 16:33:26 -03:00 |
|
Gabriel Moreira Minossi
|
1431a0866c
|
Adding energy usage usecase for multiblocks
|
2021-01-08 16:32:00 -03:00 |
|
Gabriel Moreira Minossi
|
4c11905281
|
Capitalizing or encapsulating global variables
Making the linter happy
|
2021-01-06 13:03:57 -03:00 |
|
Gabriel Moreira Minossi
|
8fdf6b73e8
|
Renaming global variables
Removing unnecessary `require(...)`s
|
2021-01-06 11:39:50 -03:00 |
|
Gabriel Moreira Minossi
|
d1d7a7a448
|
Adding miner statuses to init.
usecase now gets multiple miners
|
2021-01-03 16:19:53 -03:00 |
|
Gabriel Moreira Minossi
|
ee70e0b4a8
|
Fixing renamed file on require
|
2021-01-03 15:39:07 -03:00 |
|