Compare commits

..

2 Commits

Author SHA1 Message Date
veclav talica
945637b4a6 initial shell work 2023-09-25 12:57:50 +05:00
veclav talica
9647c5a3b4 user keeping 2023-09-02 20:33:41 +05:00
41 changed files with 36944 additions and 47 deletions

1
assets/icons/Close.svg Normal file
View File

@ -0,0 +1 @@
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m3 3 10 10M3 13 13 3" fill="none" stroke="#e0e0e0" stroke-width="2"/></svg>

After

Width:  |  Height:  |  Size: 168 B

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Close.svg-ec226890f15a36af010397a4558772f4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/Close.svg"
dest_files=[ "res://.import/Close.svg-ec226890f15a36af010397a4558772f4.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1 @@
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m3 8 5 4 5-4" fill="none" stroke="#e0e0e0" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>

After

Width:  |  Height:  |  Size: 207 B

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Collapse.svg-2b964dc558740a138197880eecc7da40.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/Collapse.svg"
dest_files=[ "res://.import/Collapse.svg-2b964dc558740a138197880eecc7da40.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -9,11 +9,6 @@
config_version=4
_global_script_classes=[ {
"base": "Node",
"class": "Connections",
"language": "GDScript",
"path": "res://scenes/Connections.gd"
}, {
"base": "Reference",
"class": "MucService",
"language": "GDScript",
@ -29,6 +24,11 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://scenes/PolyServiceBuilder.gd"
}, {
"base": "Control",
"class": "Shell",
"language": "GDScript",
"path": "res://scenes/Shell.gd"
}, {
"base": "Node",
"class": "Stanza",
"language": "GDScript",
@ -40,28 +40,31 @@ _global_script_classes=[ {
"path": "res://scenes/Xml.gd"
} ]
_global_script_class_icons={
"Connections": "",
"MucService": "",
"PolyService": "",
"PolyServiceBuilder": "",
"Shell": "",
"Stanza": "",
"Xml": ""
}
[application]
config/name="tochie"
config/name="tochie-facade"
run/main_scene="res://scenes/App.tscn"
run/low_processor_mode=true
boot_splash/bg_color=Color( 0.141176, 0.141176, 0.141176, 0 )
config/icon="res://icon.png"
[autoload]
Sums="*res://scenes/Sums.gd"
Connections="*res://scenes/Connections.gd"
[gui]
common/drop_mouse_on_gui_input_disabled=true
theme/custom="res://themes/jc.godot.plane-editor-theme-main/Themes/SteelCore/Default/steel-core.tres"
[physics]
@ -72,4 +75,5 @@ common/enable_pause_aware_picking=true
quality/driver/driver_name="GLES2"
vram_compression/import_etc=true
vram_compression/import_etc2=false
environment/default_clear_color=Color( 0.301961, 0.301961, 0.301961, 0 )
environment/default_environment="res://default_env.tres"

View File

@ -2,10 +2,8 @@ extends Node
var _connection
onready var n_Connection := get_node("Connections")
func _ready():
_connection = n_Connection.establish_new_connection("poto.cafe", "veclavtalica", "-")
_connection = Connections.establish_new_connection("poto.cafe", "veclavtalica", "-")
if _connection == null:
push_error("Connection failed")
return
@ -31,3 +29,7 @@ func _ready():
for room in rooms_request.value:
var me = service.muc.join_room(room, "tochie-facade")
if not me.is_done:
yield(me, "done")
print("Chat joined")

View File

@ -1,14 +1,9 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://scenes/Connections.gd" type="Script" id=1]
[ext_resource path="res://scenes/App.gd" type="Script" id=2]
[ext_resource path="res://scenes/shell/Shell.tscn" type="PackedScene" id=3]
[node name="App" type="Node"]
script = ExtResource( 2 )
[node name="Shell" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Connections" type="Node" parent="."]
script = ExtResource( 1 )
[node name="Shell" parent="." instance=ExtResource( 3 )]

View File

@ -1,5 +1,4 @@
extends Node
class_name Connections
# todo: Settle on whether connection should send Sums.Result or receiver should check stanza errors by itself.
@ -12,7 +11,7 @@ class Connection extends Reference:
var _id_counter: int = 0
var _pending_iqs: Dictionary # of id to GDScriptFunctionState
var _presence_sinks: Dictionary # of Jid to [[WeakRef, String]]
var _presence_sinks: Dictionary # of Jid to [[WeakRef, String, String]]
var _xml_parser := Xml.Parser.new()
# todo: Route signals to particular receivers, based on 'from' or 'to'
@ -59,9 +58,9 @@ class Connection extends Reference:
return Sums.Result.make_value(null)
func presence_sink(p_base_jid: String, p_sink: Object, p_signal: String) -> void:
func presence_sink(p_base_jid: String, p_sink: Object, p_type: String, p_signal: String) -> void:
self._presence_sinks[p_base_jid] = \
self._presence_sinks.get(p_base_jid, []) + [[weakref(p_sink), p_signal]]
self._presence_sinks.get(p_base_jid, []) + [[weakref(p_sink), p_type, p_signal]]
## Registry of connections used for poking of pending iqs.
var _connections: Array # of WeakRef to Connection
@ -91,7 +90,6 @@ func _process_connections() -> void:
response = null
var stanza := connection._xml_parser.take_root()
print(stanza.as_string())
if stanza.name == "iq":
if "to" in stanza.attributes and stanza.attributes["to"] != connection.jid:
@ -118,8 +116,17 @@ func _process_connections() -> void:
if not stanza.attributes["from"].begins_with(base_jid):
continue
for to_emit in connection._presence_sinks[base_jid]:
to_emit[0].emit_signal(to_emit[1], stanza)
var sink = connection._presence_sinks[base_jid]
var sink_idx := 0
while sink_idx < sink.size():
var ref = sink[sink_idx][0].get_ref()
if ref == null:
sink.remove(sink_idx)
else:
if sink[sink_idx][1] == "signal":
ref.emit_signal(sink[sink_idx][2], stanza)
else: ref.call(sink[sink_idx][2], stanza)
sink_idx += 1
## Collect dropped connections.
for idx in range(to_remove.size() - 1, 0, -1):

View File

@ -8,20 +8,19 @@ class MucRoom extends Reference:
var name: String
var members: Dictionary # nick to MucMember
signal presence_received(presence)
signal message_received(message)
signal member_presence(member)
func _init() -> void:
if self.connect("presence_received", self, "_presence_received") != OK:
assert(false)
signal _presence_received(presence)
func _presence_received(presence) -> void:
if presence.children.size() == 0:
return
func _receive_internal_presence(presence) -> void:
## First do internal book keeping ...
if presence.children.size() > 0:
var x = presence.get_named_child_element("x")
if x.name != "x" and x.attributes["xmlns"] != "http://jabber.org/protocol/muc#user":
if x.name == "x" and x.attributes["xmlns"] == "http://jabber.org/protocol/muc#user":
## Member information came.
var item = x.get_named_child_element("item")
var nick = presence.attributes["from"].rsplit("/").pop_front()
var nick = Stanza.extract_resource_part(presence.attributes["from"])
var member = MucMember.new()
member.jid = presence.attributes["from"]
member.nick = nick
@ -30,6 +29,11 @@ class MucRoom extends Reference:
# member.room = self
members[nick] = member
emit_signal("member_presence", member)
## ... then propagate outside.
emit_signal("_presence_received", presence)
func as_string() -> String:
return "MucRoom \"%s\", Jid: \"%s\"" % [name, jid]
@ -84,7 +88,7 @@ func _iq_rooms() -> Sums.Result:
for item in query.value.children:
if item.is_element() and item.name == "item":
var muc_room := MucRoom.new()
_connection.presence_sink(muc_room.jid, muc_room, "presence_received")
_connection.presence_sink(muc_room.jid, muc_room, "method", "_receive_internal_presence")
muc_room.jid = item.attributes["jid"]
muc_room.name = item.attributes["name"]
rooms.push_back(muc_room)
@ -103,12 +107,12 @@ func _join_room(room: MucRoom, nick: String) -> Sums.Result:
if not result.is_ok:
return result
var response = Stanza.presence_result(yield(room, "presence_received"))
var response = Stanza.presence_result(yield(room, "_presence_received"))
if not response.is_ok:
return response
while true:
response = Stanza.presence_result(yield(room, "presence_received"))
response = Stanza.presence_result(yield(room, "_presence_received"))
if not response.is_ok:
return response
@ -119,7 +123,7 @@ func _join_room(room: MucRoom, nick: String) -> Sums.Result:
if x.name != "x" and x.attributes["xmlns"] != "http://jabber.org/protocol/muc#user":
continue
for child in x.children:
if child.is_element() and child.name == "status" and child.attrbiutes["code"] == "110":
if child.is_element() and child.name == "status" and child.attributes["code"] == "110":
return Sums.Result.make_value(room.members[nick])
return Sums.Result.make_error(null)

View File

@ -19,6 +19,7 @@ func _service_discovery(connection: Connections.Connection) -> Sums.Result:
var poly_services := Array()
for item in query.value.children:
# todo: Do this at the same time, in separate coroutines.
if not item.is_element() or item.name != "item":
continue

9
scenes/Shell.gd Normal file
View File

@ -0,0 +1,9 @@
extends Control
class_name Shell
static func get_shell(node: Node) -> Node:
if node == node.get_tree().root:
assert(false)
if node.name == "Shell":
return node
return get_shell(node.get_parent())

View File

@ -43,3 +43,8 @@ static func presence_result(stanza: Xml.XmlElement) -> Sums.Result:
return Sums.Result.make_error(stanza)
else:
return Sums.Result.make_value(stanza)
static func extract_resource_part(jid: String) -> String:
var parts = jid.rsplit("/")
assert(parts.size() > 0)
return parts[parts.size() - 1]

View File

@ -0,0 +1,16 @@
extends WindowDialog
signal auth_entered(user, password)
func _ready() -> void:
if connect("hide", self, "_on_hidden") != OK:
assert(false)
if find_node("Connect").connect("pressed", self, "_on_connect_pressed") != OK:
assert(false)
func _on_hidden() -> void:
find_node("UserEdit").text = "user"
find_node("PasswordEdit").text = "password"
func _on_connect_pressed() -> void:
emit_signal("auth_entered", find_node("UserEdit").text, find_node("PasswordEdit").text)

View File

@ -0,0 +1,57 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scenes/shell/ConnectionPopup.gd" type="Script" id=1]
[node name="PopupPanel" type="WindowDialog"]
margin_left = 128.0
margin_top = 136.0
margin_right = 448.0
margin_bottom = 320.0
size_flags_horizontal = 3
size_flags_vertical = 3
window_title = "New Connection"
resizable = true
script = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_lock_": true
}
[node name="UserEdit" type="LineEdit" parent="VBoxContainer"]
margin_right = 320.0
margin_bottom = 26.0
text = "user"
clear_button_enabled = true
caret_blink = true
caret_blink_speed = 0.5
[node name="PasswordEdit" type="LineEdit" parent="VBoxContainer"]
margin_top = 30.0
margin_right = 320.0
margin_bottom = 56.0
size_flags_vertical = 2
text = "password"
secret = true
clear_button_enabled = true
caret_blink = true
caret_blink_speed = 0.5
[node name="Feedback" type="Label" parent="VBoxContainer"]
margin_top = 146.0
margin_right = 320.0
margin_bottom = 160.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 164.0
margin_right = 320.0
margin_bottom = 184.0
[node name="Connect" type="Button" parent="VBoxContainer/HBoxContainer"]
margin_right = 64.0
margin_bottom = 20.0
text = "Connect"

View File

@ -0,0 +1,56 @@
[gd_scene format=2]
[node name="VBoxContainer" type="MarginContainer"]
margin_left = 12.0
margin_right = 436.0
margin_bottom = 320.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="VSplitContainer" parent="."]
margin_right = 424.0
margin_bottom = 320.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_right = 424.0
margin_bottom = 156.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
margin_right = 424.0
margin_bottom = 23.0
focus_mode = 2
size_flags_horizontal = 3
bbcode_enabled = true
bbcode_text = "[right][color=gray]User0[/color]: What's up, dog?"
text = "User0: What's up, dog?"
fit_content_height = true
selection_enabled = true
[node name="RichTextLabel2" type="RichTextLabel" parent="MarginContainer/VBoxContainer"]
margin_top = 27.0
margin_right = 424.0
margin_bottom = 50.0
focus_mode = 2
size_flags_horizontal = 3
bbcode_enabled = true
bbcode_text = "[color=red]me[/color]: Not much."
text = "me: Not much."
fit_content_height = true
selection_enabled = true
[node name="TextEdit" type="TextEdit" parent="MarginContainer"]
margin_top = 164.0
margin_right = 424.0
margin_bottom = 320.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "message"
highlight_all_occurrences = true
drag_and_drop_selection_enabled = false
smooth_scrolling = true
wrap_enabled = true

19
scenes/shell/Input.gd Normal file
View File

@ -0,0 +1,19 @@
extends Node2D
onready var n_DetachedViews := get_parent().find_node("DetachedViews")
func _input(event):
if not event is InputEventMouseButton:
return
var stack := []
for view in n_DetachedViews.get_children():
view.get_node("WindowDialog").hide()
if view.get_node("WindowDialog").get_rect().has_point(event.position):
stack.push_back(view)
if stack.size() > 0:
var front = stack.pop_back()
for view in stack:
view.get_node("WindowDialog").popup()
front.get_node("WindowDialog").popup()

View File

@ -0,0 +1,26 @@
extends Tree
var _root: TreeItem
onready var n_DropMenu = Shell.get_shell(self).get_node("DropMenu")
func _ready() -> void:
# todo: Selection via keys.
if connect("item_rmb_selected", self, "_on_mouse_selected") != OK:
assert(false)
_root = create_item()
var server = create_item(_root)
server.set_text(0, "user@poto.cafe")
var muc = create_item(server)
muc.set_text(0, "muc@poto.cafe")
muc.set_tooltip(0, "Conference")
var room = create_item(muc)
room.set_text(0, "room.muc@poto.cafe")
var button = room.add_button(0, Texture.new())
var members = create_item(room)
members.set_text(0, "8 participants")
func _on_mouse_selected(position: Vector2) -> void:
n_DropMenu.popup(Rect2(position, Vector2.ZERO))
n_DropMenu.rect_position = rect_global_position + position

View File

@ -0,0 +1,19 @@
extends Node
var n_Popup: Node
func _enter_tree() -> void:
n_Popup = preload("res://scenes/shell/ConnectionPopup.tscn").instance()
get_parent().call_deferred("add_child", n_Popup)
if n_Popup.connect("auth_entered", self, "_on_auth_entered") != OK:
assert(false)
func _on_auth_entered(user, password) -> void:
print(user, password)
func _ready() -> void:
if find_node("AddConnection").connect("pressed", self, "_on_add_new_server_pressed") != OK:
assert(false)
func _on_add_new_server_pressed() -> void:
n_Popup.popup()

1
scenes/shell/Shell.gd Normal file
View File

@ -0,0 +1 @@
extends Shell

135
scenes/shell/Shell.tscn Normal file
View File

@ -0,0 +1,135 @@
[gd_scene load_steps=9 format=2]
[ext_resource path="res://scenes/shell/ResourceView.gd" type="Script" id=1]
[ext_resource path="res://scenes/shell/ServerResources.gd" type="Script" id=2]
[ext_resource path="res://scenes/shell/View.tscn" type="PackedScene" id=3]
[ext_resource path="res://themes/jc.godot.plane-editor-theme-main/Themes/Dark/Default/DarkPlane.tres" type="Theme" id=4]
[ext_resource path="res://scenes/shell/Shell.gd" type="Script" id=5]
[ext_resource path="res://scenes/shell/Groupchat.tscn" type="PackedScene" id=6]
[sub_resource type="Gradient" id=1]
interpolation_mode = 2
offsets = PoolRealArray( 0, 0.818182, 1 )
colors = PoolColorArray( 1, 0.429688, 0.429688, 1, 0.791634, 0.590696, 0.807972, 1, 1, 0.675781, 0.736572, 1 )
[sub_resource type="GradientTexture2D" id=2]
gradient = SubResource( 1 )
width = 256
height = 256
fill_from = Vector2( 1, 0 )
fill_to = Vector2( 0, 0 )
[node name="Shell" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 4 )
script = ExtResource( 5 )
[node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = SubResource( 2 )
expand = true
[node name="Views" type="PanelContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="HBoxContainer" type="HSplitContainer" parent="Views"]
margin_left = 6.0
margin_top = 4.0
margin_right = 1018.0
margin_bottom = 596.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="View" parent="Views/HBoxContainer" instance=ExtResource( 3 )]
margin_right = 502.0
margin_bottom = 592.0
title = "server resources"
[node name="ServerResources" type="VBoxContainer" parent="Views/HBoxContainer/View"]
margin_left = 6.0
margin_top = 4.0
margin_right = 496.0
margin_bottom = 588.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="ResourceView" type="Tree" parent="Views/HBoxContainer/View/ServerResources"]
margin_right = 490.0
margin_bottom = 558.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
size_flags_vertical = 3
allow_rmb_select = true
hide_root = true
select_mode = 1
script = ExtResource( 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="Views/HBoxContainer/View/ServerResources"]
margin_top = 562.0
margin_right = 490.0
margin_bottom = 584.0
mouse_filter = 2
[node name="AddConnection" type="Button" parent="Views/HBoxContainer/View/ServerResources/HBoxContainer"]
margin_right = 112.0
margin_bottom = 22.0
size_flags_horizontal = 5
text = "Add connection"
[node name="VSplitContainer" type="VSplitContainer" parent="Views/HBoxContainer"]
margin_left = 510.0
margin_right = 1012.0
margin_bottom = 592.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="View2" parent="Views/HBoxContainer/VSplitContainer" instance=ExtResource( 3 )]
margin_right = 502.0
margin_bottom = 292.0
title = "muc.poto@cafe/facade"
closable = true
[node name="VBoxContainer" parent="Views/HBoxContainer/VSplitContainer/View2" instance=ExtResource( 6 )]
margin_left = 6.0
margin_top = 4.0
margin_right = 496.0
margin_bottom = 288.0
__meta__ = {
"_edit_lock_": true
}
[node name="View3" parent="Views/HBoxContainer/VSplitContainer" instance=ExtResource( 3 )]
margin_top = 300.0
margin_right = 502.0
margin_bottom = 592.0
title = "muc.poto@cafe/facade"
closable = true
[node name="VBoxContainer2" parent="Views/HBoxContainer/VSplitContainer/View3" instance=ExtResource( 6 )]
margin_left = 6.0
margin_top = 4.0
margin_right = 496.0
margin_bottom = 288.0
__meta__ = {
"_edit_lock_": true
}
[node name="DropMenu" type="PopupMenu" parent="."]
margin_left = 192.0
margin_top = 208.0
margin_right = 384.0
margin_bottom = 352.0
items = [ "Join", null, 0, false, false, 0, 0, null, "", false ]
hide_on_checkable_item_selection = false
allow_search = true

21
scenes/shell/View.gd Normal file
View File

@ -0,0 +1,21 @@
extends Control
enum {
STATE_DETACHED,
STATE_ATTACHED,
}
var _state := STATE_DETACHED
onready var n_Shell = Shell.get_shell(self)
export var title: String
export var closable: bool
func _ready() -> void:
$VBoxContainer/Bar/HBoxContainer/Title.text = title
var child = get_children()[-1]
remove_child(child)
$VBoxContainer/ScrollableConent.add_child(child)
rect_size = child.rect_size

93
scenes/shell/View.tscn Normal file
View File

@ -0,0 +1,93 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scenes/shell/View.gd" type="Script" id=1]
[ext_resource path="res://assets/icons/Close.svg" type="Texture" id=2]
[ext_resource path="res://assets/icons/Collapse.svg" type="Texture" id=3]
[node name="View" type="PanelContainer"]
margin_right = 510.0
margin_bottom = 600.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
margin_left = 6.0
margin_top = 4.0
margin_right = 504.0
margin_bottom = 596.0
mouse_filter = 2
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 6.0
margin_top = 4.0
margin_right = 504.0
margin_bottom = 596.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Bar" type="PanelContainer" parent="VBoxContainer"]
margin_right = 498.0
margin_bottom = 30.0
mouse_filter = 2
size_flags_horizontal = 3
[node name="Panel" type="Panel" parent="VBoxContainer/Bar"]
margin_left = 6.0
margin_top = 4.0
margin_right = 492.0
margin_bottom = 26.0
mouse_filter = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Bar"]
margin_left = 6.0
margin_top = 4.0
margin_right = 492.0
margin_bottom = 26.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Title" type="Label" parent="VBoxContainer/Bar/HBoxContainer"]
margin_right = 446.0
margin_bottom = 22.0
size_flags_horizontal = 3
text = "Window"
[node name="Minimize" type="TextureButton" parent="VBoxContainer/Bar/HBoxContainer"]
margin_left = 450.0
margin_right = 466.0
margin_bottom = 22.0
texture_normal = ExtResource( 3 )
texture_pressed = ExtResource( 3 )
texture_hover = ExtResource( 3 )
texture_disabled = ExtResource( 3 )
texture_focused = ExtResource( 3 )
[node name="Close" type="TextureButton" parent="VBoxContainer/Bar/HBoxContainer"]
margin_left = 470.0
margin_right = 486.0
margin_bottom = 22.0
texture_normal = ExtResource( 2 )
texture_pressed = ExtResource( 2 )
texture_hover = ExtResource( 2 )
texture_disabled = ExtResource( 2 )
texture_focused = ExtResource( 2 )
[node name="ScrollableConent" type="ScrollContainer" parent="VBoxContainer"]
margin_top = 34.0
margin_right = 498.0
margin_bottom = 592.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ReferenceRect" type="ReferenceRect" parent="."]
margin_left = 6.0
margin_top = 4.0
margin_right = 504.0
margin_bottom = 596.0
mouse_filter = 2
border_color = Color( 0.647059, 0.647059, 0.647059, 1 )
editor_only = false

View File

@ -0,0 +1,9 @@
# Godot-specific ignores
.import/
export.cfg
export_presets.cfg
# Mono-specific ignores
.mono/
data_*/

View File

@ -0,0 +1,4 @@
[gd_resource type="DynamicFontData" format=2]
[resource]
font_path = "res://addons/jc.godot.plane-editor-theme/Fonts/Sources/DefaultGodotFonts/Hack_Regular.ttf"

View File

@ -0,0 +1,8 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]
[ext_resource path="res://addons/jc.godot.plane-editor-theme/Fonts/DynamicFonts/Data/HackRegular.tres" type="DynamicFontData" id=1]
[resource]
size = 14
use_mipmaps = true
font_data = ExtResource( 1 )

View File

@ -0,0 +1,45 @@
The work in the Hack project is Copyright 2018 Source Foundry Authors and licensed under the MIT License
The work in the DejaVu project was committed to the public domain.
Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera"
### MIT License
Copyright (c) 2018 Source Foundry Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
### BITSTREAM VERA LICENSE
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.
The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/FrameVoid.png-fc56b4de61c21dd457776bd1279b279d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://themes/jc.godot.plane-editor-theme-main/Icons/FrameVoid.png"
dest_files=[ "res://.import/FrameVoid.png-fc56b4de61c21dd457776bd1279b279d.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 0.31999999 0.31999999"
height="0.31999999"
width="0.31999999"
id="svg86"
version="1.1">
<metadata
id="metadata92">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs90" />
<image
y="0"
x="0"
id="image94"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAADGHpUWHRSYXcgcHJvZmlsZSB0eXBl
IGV4aWYAAHja7ZdbkiMpDEX/WcUsAUkIieWQPCJmB7P8uZDYXa5+THX010Q4qQRSCZLQkWxXGP/8
PcNfuDhKDEnNc8k54kolFa6YeLyvunuKaffxPD3GF3l4vmDMBKPcj56PfEDOWM9H3o6eCrl+UFTG
eXG9vqhHEfsx8DB4DAndBmI/iupRJHwsp/v5OpZzcft4hLNvHZ/OuO+wuiTGWTNZQp84muWCuXNM
hrj15ehsXNY+vW49n5/DYykizzyEJO7eby/lvivujF5kraM9X+OSlB3fGIAMLsDzcmI74jOaL7F5
jD+5wleOddLhNQ0es5MG4bsXn9IgjyOXT/Tyc9zy8PkF6Y9xb6YfPLL0NMwvHpk8bcSPWNc9Z/c5
x326mjKOnM+hHiehsFHOfq0k2NsymuFWzG23guYol4Yc67HFC61RIQbiSYk6VZqBxp40avAx8WDD
yNxYtszBonDbsNNqNNmkSBdHYjSkikDKc4bjC227Zdtr5LDcCUuZoIyw5T9b+MqiX7U5Vy0RhVMz
dAPmVYZwY5FbPZaBCM0TVN0BfrTXhDxgBQh1h9lxwBqvW8Wl9C23ZIMWrFOMd3GT9Xv/UpRgW+EM
CRDETKKUKRqzESGQDkCVorMkvkCAVLnDSU4iGWxQBDAdsMdor2XlW45PSZBQlKaBTZEKWCkp8seS
I4eqiiZVzWrqWrRmySmgwnK2vD5uq4klU8tm5lasunhy9ezm7sVr4SL4NNaCcixeSqkVNis01xwq
1ldILr7kSpde+bLLr3LVhvRpqWnLzZq30mrnLh113HO37r30OmgglUYaGkYeNnyUUSdybcpMU2ee
Nn2WWZ/UDtXv2m9Qo0ONN6m1zp7UIDW7x7DzBUoWMxDjRCBuiwASmhez6JQSL3KLWSyMqlCGk7rY
dIqVMqcgaRDrpCe7b+R+i1vI6Zfc+KvkwkL3h+Q2tzD0A7cfUOvra7ttYncVrphGQfVhTWXHH75N
2cNj8qfjW9Fb0VvRW9Fb0VvRW9H/V5FM/HjAf5ThX25Gu3Hpgn41AAABhGlDQ1BJQ0MgcHJvZmls
ZQAAeJx9kT1Iw0AcxV9btSIVB4uIiESoThZERRy1CkWoEGqFVh1MLv2CJg1Jiouj4Fpw8GOx6uDi
rKuDqyAIfoA4OTopukiJ/0sKLWI8OO7Hu3uPu3eAv1Ziqtk2DqiaZSTjMSGdWRWCr+jAEPoADEvM
1OdEMQHP8XUPH1/vojzL+9yfo1vJmgzwCcSzTDcs4g3i6U1L57xPHGYFSSE+Jx4z6ILEj1yXXX7j
nHfYzzPDRio5TxwmFvItLLcwKxgq8RRxRFE1yvenXVY4b3FWSxXWuCd/YSirrSxzneYg4ljEEkQI
kFFBESVYiNKqkWIiSfsxD/+A4xfJJZOrCEaOBZShQnL84H/wu1szNznhJoViQPuLbX+MAMFdoF61
7e9j266fAIFn4Epr+ss1YOaT9GpTixwBPdvAxXVTk/eAyx2g/0mXDMmRAjT9uRzwfkbflAF6b4Gu
Nbe3xj5OH4AUdZW4AQ4OgdE8Za97vLuztbd/zzT6+wFNynKYhhp0wwAAAAZiS0dEAP8A/wD/oL2n
kwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAAd0SU1FB+QGHhYBKEqCYEEAAAAZdEVYdENvbW1lbnQA
Q3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12P4//8/AwAI/AL+XJ/P2gAAAABJRU5ErkJg
gg==
"
preserveAspectRatio="none"
height="0.31999999"
width="0.31999999" />
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/FrameVoid.svg-2bb3a045822c04e5af5535fe8277c161.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://themes/jc.godot.plane-editor-theme-main/Icons/FrameVoid.svg"
dest_files=[ "res://.import/FrameVoid.svg-2bb3a045822c04e5af5535fe8277c161.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 10 6"
height="6"
width="10"
id="svg61"
version="1.1">
<metadata
id="metadata67">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs65" />
<rect
y="4.4408921e-16"
x="4.7369517e-17"
height="6"
width="10"
id="rect75"
style="display:none;opacity:0.5;fill:#ffffff;stroke-width:2.79145265" />
<rect
y="0.59957314"
x="0.87500006"
height="4.8004265"
width="8.2857151"
id="rect73"
style="display:inline;fill:#ffffff;stroke-width:2.87972116" />
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Grabber.svg-3fa48a6a2b170ed2bb70b2087f16e188.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://themes/jc.godot.plane-editor-theme-main/Icons/Grabber.svg"
dest_files=[ "res://.import/Grabber.svg-3fa48a6a2b170ed2bb70b2087f16e188.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 10 6"
height="6"
width="10"
id="svg61"
version="1.1">
<metadata
id="metadata67">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs65" />
<rect
y="4.4408921e-16"
x="4.7369517e-17"
height="6"
width="10"
id="rect75"
style="display:inline;opacity:0.5;fill:#ffffff;stroke-width:2.79145265" />
<rect
y="0.59957314"
x="0.87500006"
height="4.8004265"
width="8.2857151"
id="rect73"
style="display:inline;fill:#ffffff;stroke-width:2.87972116" />
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/GrabberH.svg-2c9b7bc6fc32051f6917d8cd2baf3bfd.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://themes/jc.godot.plane-editor-theme-main/Icons/GrabberH.svg"
dest_files=[ "res://.import/GrabberH.svg-2c9b7bc6fc32051f6917d8cd2baf3bfd.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,145 @@
Attribution 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensors permission is not necessary for any reasonfor example, because of any applicable exception or limitation to copyrightthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability.
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
b.To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@ -0,0 +1,23 @@
# Godot Plane editor theme.
Plane and minimalistic editor theme for godot 3.x
--------------------------------------------------
## Status.
> 1.1
--------------------------------------------------
## Install.
- Clone repo inside the addons folder.
- Go to Editor->EditorSettings->Theme->CustomTheme and select Theme path.
> addons/jc.godot.plane-editor-theme/Themes/Dark/Default/DarkPlane.tres
--------------------------------------------------
## Pics.
- Steel Core:
![godot-sc-theme](https://user-images.githubusercontent.com/75779389/180890827-e35fa3a2-4199-44a0-b289-98bfc0165f3d.png)
--------------------------------------------------

View File

@ -0,0 +1,39 @@
[color_theme]
background_color="ff232323"
base_type_color="ffa3919a"
bookmark_color="ff147dfa"
brace_mismatch_color="ffff786b"
breakpoint_color="ffff786b"
caret_background_color="ff000000"
caret_color="ffef669d"
code_folding_color="b3ffffff"
comment_color="bf909090"
completion_background_color="ff303030"
completion_existing_color="24ffffff"
completion_font_color="ffcbcbcb"
completion_scroll_color="14ffffff"
completion_selected_color="14ffffff"
control_flow_keyword_color="ffa3919a"
current_line_color="0affffff"
engine_type_color="ffe47373"
executing_line_color="6633cc33"
function_color="ffe4bd73"
gdscript/function_definition_color="ffe4b373"
gdscript/node_path_color="fff92672"
keyword_color="ffa3919a"
line_length_guideline_color="ff303030"
line_number_color="ff949494"
mark_color="4dff786b"
member_variable_color="ffff8080"
number_color="ffcaadff"
safe_line_number_color="ff848484"
search_result_border_color="61699ce8"
search_result_color="14ffffff"
selection_color="1efffefe"
string_color="ffffd1b0"
symbol_color="ffffd1b0"
text_color="fff8f8f2"
text_selected_color="ff3e3e3e"
user_type_color="ffef8966"
word_highlighted_color="14ffffff"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long