mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-25 08:59:49 +00:00
remove: some levels on flyout
This commit is contained in:
parent
5e9a646ddd
commit
be2235cc8e
18
index.html
18
index.html
@ -503,7 +503,6 @@
|
||||
</block>
|
||||
</category> -->
|
||||
<category name="ループ" css-icon="customIcon fas fa-redo-alt" categorystyle="loop_category">
|
||||
<label text="Loops" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<block type="controls_repeat_ext">
|
||||
<value name="TIMES">
|
||||
<shadow type="math_number">
|
||||
@ -541,7 +540,6 @@
|
||||
</block>
|
||||
</category>
|
||||
<category name="数・計算" css-icon="customIcon fas fa-calculator" categorystyle="math_category">
|
||||
<label text="Math" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<block type="math_number">
|
||||
<field name="NUM">0</field>
|
||||
</block>
|
||||
@ -601,7 +599,6 @@
|
||||
<block type="math_random_float"></block>
|
||||
</category>
|
||||
<category name="文字列" css-icon="customIcon fas fa-font" categorystyle="text_category">
|
||||
<label text="Text" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<block type="text">
|
||||
<field name="TEXT"></field>
|
||||
</block>
|
||||
@ -650,7 +647,6 @@
|
||||
</block>
|
||||
</category>
|
||||
<category name="リスト" css-icon="customIcon fas fa-list-ol" categorystyle="list_category">
|
||||
<label text="List" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<block type="lists_create_with">
|
||||
<mutation items="0"></mutation>
|
||||
</block>
|
||||
@ -707,8 +703,7 @@
|
||||
</category>
|
||||
<sep></sep>
|
||||
<category name="GPIO" colour="%{BKY_UGJ_GPIO_HUE}" css-icon="customIcon fab fa-raspberry-pi">
|
||||
<label text="GPIO" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<label text="基本" web-line="4.0" web-line-width="200"></label>
|
||||
<label text="基本"></label>
|
||||
<block type="ugj_gpio_start"></block>
|
||||
<block type="ugj_gpio_stop"></block>
|
||||
<block type="ugj_gpio_setoutput">
|
||||
@ -852,10 +847,9 @@
|
||||
<block type="ugj_gpio_sleep">
|
||||
<field name="sec">1</field>
|
||||
</block>
|
||||
<label text="" web-line="4.0" web-line-width="200"></label>
|
||||
<label text="_" web-line="4.0" web-line-width="200"></label>
|
||||
</category>
|
||||
<category name="マルチメディア" colour="%{BKY_UGJ_MULTIMEDIA_HUE}" css-icon="customIcon fas fa-calculator">
|
||||
<label text="Multimedia" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<label text="キャンバス" web-line="4.0" web-line-width="200"></label>
|
||||
<block type="ugj_canvas_init"></block>
|
||||
<block type="ugj_canvas_clearrect">
|
||||
@ -1009,11 +1003,10 @@
|
||||
<block type="ugj_tfpredict_predict">
|
||||
<field name="result" id="!=~_{T-;nZXP-rWM|beL" variabletype="">結果</field>
|
||||
</block>
|
||||
<label text="" web-line="4.0" web-line-width="200"></label>
|
||||
<label text="_" web-line="4.0" web-line-width="200"></label>
|
||||
</category>
|
||||
|
||||
<category name="ネットワーク" colour="%{BKY_UGJ_NETWORK_HUE}" css-icon="customIcon fas fa-wifi">
|
||||
<label text="Network" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<label text="基本" web-line="4.0" web-line-width="200"></label>
|
||||
<block type="ugj_network_axios_geturl">
|
||||
<value name="url">
|
||||
@ -1083,10 +1076,9 @@
|
||||
<block type="ugj_skyway_eventsend">
|
||||
<field name="data" id="vN/_]nnKA$wVHSxh2_9f" variabletype="">内容</field>
|
||||
</block>
|
||||
<label text="" web-line="4.0" web-line-width="200"></label>
|
||||
<label text="_" web-line="4.0" web-line-width="200"></label>
|
||||
</category>
|
||||
<category name="特殊" colour="%{BKY_UGJ_SPECIAL_HUE}" css-icon="customIcon fas fa-plug">
|
||||
<label text="Special" web-icon="" web-class="blocklyFlyoutHeading"></label>
|
||||
<label text="出入力" web-line="4.0" web-line-width="200"></label>
|
||||
<block type="ugj_canvas_say">
|
||||
<value name="say">
|
||||
@ -1310,7 +1302,7 @@
|
||||
<block type="ugj_child_debug">
|
||||
<value name="cmd">
|
||||
</block>
|
||||
<label text="" web-line="4.0" web-line-width="200"></label>
|
||||
<label text="_" web-line="4.0" web-line-width="200"></label>
|
||||
</category>
|
||||
</xml>
|
||||
|
||||
|
22
index.js
22
index.js
@ -16,6 +16,7 @@ function createWindow() {
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
enableRemoteModule: true
|
||||
}
|
||||
})
|
||||
@ -77,6 +78,27 @@ app.on('ready', () => {
|
||||
win.reload();
|
||||
},
|
||||
accelerator: "F5"
|
||||
},
|
||||
{
|
||||
label: 'About',
|
||||
click: () => {
|
||||
var os = require('os');
|
||||
var detail = 'Version: ' + process.env.npm_package_version + '\n'
|
||||
+ 'Node.js: ' + process.versions.node + '\n'
|
||||
+ 'Chrome: ' + process.versions.chrome + '\n'
|
||||
+ 'Electron: ' + process.versions.electron + '\n'
|
||||
+ 'V8: ' + process.versions.v8 + '\n'
|
||||
+ 'OS: ' + os.type + ' ' + os.arch + ' ' + os.version + ' ' + os.release;
|
||||
var options = {
|
||||
type: 'info',
|
||||
buttons: ['OK'],
|
||||
title: 'OCoGe',
|
||||
message: 'OCoGe - Oiwa Code Generator',
|
||||
detail: detail
|
||||
};
|
||||
require('electron').dialog.showMessageBox(win, options);
|
||||
},
|
||||
accelerator: "CommandOrControl+I"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user