diff options
| author | dam <dam@gudinoff> | 2021-12-01 02:26:44 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2021-12-01 02:26:44 +0000 |
| commit | 2e5c0de21b0f35531e3d42e63c27df80cf3fad02 (patch) | |
| tree | 8874e7942f1a5fa0173784c1ff04558703e53d7d | |
| parent | 697e1ba3c4cb0a96c4584f1553de368d46287ab7 (diff) | |
| download | surgery-log-2e5c0de21b0f35531e3d42e63c27df80cf3fad02.tar.zst surgery-log-2e5c0de21b0f35531e3d42e63c27df80cf3fad02.zip | |
Convert from native to godot
| -rw-r--r-- | README.md | 98 | ||||
| -rw-r--r-- | debug.keystore | bin | 0 -> 3488 bytes | |||
| -rw-r--r-- | default_env.tres | 7 | ||||
| -rw-r--r-- | export_presets.cfg | 200 | ||||
| -rwxr-xr-x | icon.png (renamed from ic_launcher-web.png) | bin | 118840 -> 118840 bytes | |||
| -rw-r--r-- | icon.png.import | 35 | ||||
| -rw-r--r-- | main.gd | 38 | ||||
| -rw-r--r-- | main.tscn | 141 | ||||
| -rwxr-xr-x | old_native_project/AndroidManifest.xml (renamed from AndroidManifest.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/gen/net/redroid/medlog/BuildConfig.java (renamed from gen/net/redroid/medlog/BuildConfig.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/gen/net/redroid/medlog/R.java (renamed from gen/net/redroid/medlog/R.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/ic_launcher-web.png | bin | 0 -> 118840 bytes | |||
| -rw-r--r-- | old_native_project/ic_launcher-web.png.import | 35 | ||||
| -rwxr-xr-x | old_native_project/libs/android-support-v4.jar (renamed from libs/android-support-v4.jar) | bin | 627582 -> 627582 bytes | |||
| -rwxr-xr-x | old_native_project/libs/javacsv.jar (renamed from libs/javacsv.jar) | bin | 13582 -> 13582 bytes | |||
| -rwxr-xr-x | old_native_project/lint.xml (renamed from lint.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/proguard-project.txt (renamed from proguard-project.txt) | 0 | ||||
| -rwxr-xr-x | old_native_project/project.properties (renamed from project.properties) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/drawable-hdpi/ic_launcher.png (renamed from res/drawable-hdpi/ic_launcher.png) | bin | 6369 -> 6369 bytes | |||
| -rw-r--r-- | old_native_project/res/drawable-hdpi/ic_launcher.png.import | 35 | ||||
| -rwxr-xr-x | old_native_project/res/drawable-mdpi/ic_launcher.png (renamed from res/drawable-mdpi/ic_launcher.png) | bin | 3108 -> 3108 bytes | |||
| -rw-r--r-- | old_native_project/res/drawable-mdpi/ic_launcher.png.import | 35 | ||||
| -rwxr-xr-x | old_native_project/res/drawable-xhdpi/ic_launcher.png (renamed from res/drawable-xhdpi/ic_launcher.png) | bin | 9945 -> 9945 bytes | |||
| -rw-r--r-- | old_native_project/res/drawable-xhdpi/ic_launcher.png.import | 35 | ||||
| -rwxr-xr-x | old_native_project/res/drawable-xxhdpi/ic_launcher.png (renamed from res/drawable-xxhdpi/ic_launcher.png) | bin | 18410 -> 18410 bytes | |||
| -rw-r--r-- | old_native_project/res/drawable-xxhdpi/ic_launcher.png.import | 35 | ||||
| -rwxr-xr-x | old_native_project/res/layout/activity_main.xml (renamed from res/layout/activity_main.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/fragment_file_operations.xml (renamed from res/layout/fragment_file_operations.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/fragment_main_dummy.xml (renamed from res/layout/fragment_main_dummy.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/fragment_new_entry.xml (renamed from res/layout/fragment_new_entry.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/fragment_view_data.xml (renamed from res/layout/fragment_view_data.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/multiline_spinner_dropdown_item.xml (renamed from res/layout/multiline_spinner_dropdown_item.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/layout/override_new_entry.xml (renamed from res/layout/override_new_entry.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/menu/main.xml (renamed from res/menu/main.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values-sw600dp/dimens.xml (renamed from res/values-sw600dp/dimens.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values-sw720dp-land/dimens.xml (renamed from res/values-sw720dp-land/dimens.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values-v11/styles.xml (renamed from res/values-v11/styles.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values-v14/styles.xml (renamed from res/values-v14/styles.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values/dimens.xml (renamed from res/values/dimens.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values/strings.xml (renamed from res/values/strings.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/res/values/styles.xml (renamed from res/values/styles.xml) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/FileOperationsFragment.java (renamed from src/com/example/surgerylog/FileOperationsFragment.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/ISpinnerRefresh.java (renamed from src/com/example/surgerylog/ISpinnerRefresh.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/MainActivity.java (renamed from src/com/example/surgerylog/MainActivity.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/MedLogInfo.java (renamed from src/com/example/surgerylog/MedLogInfo.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/MedLogRoot.java (renamed from src/com/example/surgerylog/MedLogRoot.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/MedLogSubType.java (renamed from src/com/example/surgerylog/MedLogSubType.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/MedLogType.java (renamed from src/com/example/surgerylog/MedLogType.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/NewEntryFragment.java (renamed from src/com/example/surgerylog/NewEntryFragment.java) | 0 | ||||
| -rwxr-xr-x | old_native_project/src/com/example/surgerylog/ViewDataFragment.java (renamed from src/com/example/surgerylog/ViewDataFragment.java) | 0 | ||||
| -rw-r--r-- | project.godot | 35 |
51 files changed, 729 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..35bfc26 --- /dev/null +++ b/README.md @@ -0,0 +1,98 @@ +# Calendar Button Plugin for Godot Engine 3.2.3 + + +This will add a CalendarButton node that allows you to easily select a date without having to do all the work of creating your own Calendar and Date classes. +Very easy to use. + + + +----------- + +## How to implement in your project + +1. Place CalendarButton in your scene +2. From a script of your choice, get the CalendarButton node +3. Using the node, add a connection: calendar_button_node.connect("date_selected", self, "your_func_here") +4. Create a function "func your_func_here(date_obj)". Note that it expect an argument. +5. Do a test inside "your_func_here", such as: print(date_obj.date("DD-MM-YYYY")) + +### Manual Plugin Installation + +> Follow these steps if you are unable to find the CalendarButton Node. + +1. Put the addons folder in the root of your Godot Engine project. +2. Go to the "Project" menu dropdown and select "Project Settings". +3. Select the "Plugins" tab. +4. Select "Update" if you do not see the plugin. +5. Enable it. + +----------- + +**Code Example:** + +func _ready(): + var calendar_button_node = get_node("path/to/CalendarButton") + calendar_button_node.connect("date_selected", self, "your_func_here") + +func your_func_here(date_obj): + print(date_obj.date()) # Use the date_obj wisely :) + +----------- + +**Get detailed comments inside each class for more information.** + +----------- + +# Development & Contributions + +First of all; Thank you very much for making pull requests and posting issues related to this project. +Secondly, I hope we all continue to work towards writing amazing code :) + +## GDScript style guide +Please do your best to follow the official [GDscript style guide](https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_styleguide.html) + +The short version: +> `NodeName`, not `node_name` +> `node_name.gd`, not `NodeName.gd` +> `my_function()`, not `MyFunction()` +> `_unused_variable`, not `unused_variable` + +## Versioning +This projects follow [semantic versioning](https://semver.org/). + +> Given a version number MAJOR.MINOR.PATCH, increment the: +> +> MAJOR version when you make incompatible API changes, +> MINOR version when you add functionality in a backwards compatible manner, and +> PATCH version when you make backwards compatible bug fixes. + +----------- + +## Credits +Big thanks to all that have posted issues and written PRs + +----------- + +## License + +MIT License (MIT) + +Copyright (c) 2021 Ivan Skodje + +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. diff --git a/debug.keystore b/debug.keystore Binary files differnew file mode 100644 index 0000000..7b937fa --- /dev/null +++ b/debug.keystore diff --git a/default_env.tres b/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..468f32f --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,200 @@ +[preset.0] + +name="android" +platform="Android" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../builds/test.apk" +script_export_mode=1 +script_encryption_key="" + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +custom_template/use_custom_build=false +custom_template/export_format=0 +architectures/armeabi-v7a=true +architectures/arm64-v8a=false +architectures/x86=false +architectures/x86_64=false +keystore/debug="debug.keystore" +keystore/debug_user="debug.user" +keystore/debug_password="debug.password" +keystore/release="" +keystore/release_user="" +keystore/release_password="" +one_click_deploy/clear_previous_install=false +version/code=1 +version/name="1.0" +package/unique_name="com.gudinoff.$genname" +package/name="" +package/signed=true +package/classify_as_game=false +package/retain_data_on_uninstall=false +launcher_icons/main_192x192="" +launcher_icons/adaptive_foreground_432x432="" +launcher_icons/adaptive_background_432x432="" +graphics/32_bits_framebuffer=true +graphics/opengl_debug=false +xr_features/xr_mode=0 +xr_features/hand_tracking=0 +screen/immersive_mode=true +screen/support_small=true +screen/support_normal=true +screen/support_large=true +screen/support_xlarge=true +user_data_backup/allow=false +command_line/extra_args="" +apk_expansion/enable=false +apk_expansion/SALT="" +apk_expansion/public_key="" +permissions/custom_permissions=PoolStringArray( ) +permissions/access_checkin_properties=false +permissions/access_coarse_location=false +permissions/access_fine_location=false +permissions/access_location_extra_commands=false +permissions/access_mock_location=false +permissions/access_network_state=false +permissions/access_surface_flinger=false +permissions/access_wifi_state=false +permissions/account_manager=false +permissions/add_voicemail=false +permissions/authenticate_accounts=false +permissions/battery_stats=false +permissions/bind_accessibility_service=false +permissions/bind_appwidget=false +permissions/bind_device_admin=false +permissions/bind_input_method=false +permissions/bind_nfc_service=false +permissions/bind_notification_listener_service=false +permissions/bind_print_service=false +permissions/bind_remoteviews=false +permissions/bind_text_service=false +permissions/bind_vpn_service=false +permissions/bind_wallpaper=false +permissions/bluetooth=false +permissions/bluetooth_admin=false +permissions/bluetooth_privileged=false +permissions/brick=false +permissions/broadcast_package_removed=false +permissions/broadcast_sms=false +permissions/broadcast_sticky=false +permissions/broadcast_wap_push=false +permissions/call_phone=false +permissions/call_privileged=false +permissions/camera=false +permissions/capture_audio_output=false +permissions/capture_secure_video_output=false +permissions/capture_video_output=false +permissions/change_component_enabled_state=false +permissions/change_configuration=false +permissions/change_network_state=false +permissions/change_wifi_multicast_state=false +permissions/change_wifi_state=false +permissions/clear_app_cache=false +permissions/clear_app_user_data=false +permissions/control_location_updates=false +permissions/delete_cache_files=false +permissions/delete_packages=false +permissions/device_power=false +permissions/diagnostic=false +permissions/disable_keyguard=false +permissions/dump=false +permissions/expand_status_bar=false +permissions/factory_test=false +permissions/flashlight=false +permissions/force_back=false +permissions/get_accounts=false +permissions/get_package_size=false +permissions/get_tasks=false +permissions/get_top_activity_info=false +permissions/global_search=false +permissions/hardware_test=false +permissions/inject_events=false +permissions/install_location_provider=false +permissions/install_packages=false +permissions/install_shortcut=false +permissions/internal_system_window=false +permissions/internet=false +permissions/kill_background_processes=false +permissions/location_hardware=false +permissions/manage_accounts=false +permissions/manage_app_tokens=false +permissions/manage_documents=false +permissions/master_clear=false +permissions/media_content_control=false +permissions/modify_audio_settings=false +permissions/modify_phone_state=false +permissions/mount_format_filesystems=false +permissions/mount_unmount_filesystems=false +permissions/nfc=false +permissions/persistent_activity=false +permissions/process_outgoing_calls=false +permissions/read_calendar=false +permissions/read_call_log=false +permissions/read_contacts=false +permissions/read_external_storage=false +permissions/read_frame_buffer=false +permissions/read_history_bookmarks=false +permissions/read_input_state=false +permissions/read_logs=false +permissions/read_phone_state=false +permissions/read_profile=false +permissions/read_sms=false +permissions/read_social_stream=false +permissions/read_sync_settings=false +permissions/read_sync_stats=false +permissions/read_user_dictionary=false +permissions/reboot=false +permissions/receive_boot_completed=false +permissions/receive_mms=false +permissions/receive_sms=false +permissions/receive_wap_push=false +permissions/record_audio=false +permissions/reorder_tasks=false +permissions/restart_packages=false +permissions/send_respond_via_message=false +permissions/send_sms=false +permissions/set_activity_watcher=false +permissions/set_alarm=false +permissions/set_always_finish=false +permissions/set_animation_scale=false +permissions/set_debug_app=false +permissions/set_orientation=false +permissions/set_pointer_speed=false +permissions/set_preferred_applications=false +permissions/set_process_limit=false +permissions/set_time=false +permissions/set_time_zone=false +permissions/set_wallpaper=false +permissions/set_wallpaper_hints=false +permissions/signal_persistent_processes=false +permissions/status_bar=false +permissions/subscribed_feeds_read=false +permissions/subscribed_feeds_write=false +permissions/system_alert_window=false +permissions/transmit_ir=false +permissions/uninstall_shortcut=false +permissions/update_device_stats=false +permissions/use_credentials=false +permissions/use_sip=false +permissions/vibrate=false +permissions/wake_lock=false +permissions/write_apn_settings=false +permissions/write_calendar=false +permissions/write_call_log=false +permissions/write_contacts=false +permissions/write_external_storage=false +permissions/write_gservices=false +permissions/write_history_bookmarks=false +permissions/write_profile=false +permissions/write_secure_settings=false +permissions/write_settings=false +permissions/write_sms=false +permissions/write_social_stream=false +permissions/write_sync_settings=false +permissions/write_user_dictionary=false diff --git a/ic_launcher-web.png b/icon.png Binary files differindex e4d20ec..e4d20ec 100755 --- a/ic_launcher-web.png +++ b/icon.png diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..a4c02e6 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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 @@ -0,0 +1,38 @@ +extends Control + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" +var _timeout: float + +# Called when the node enters the scene tree for the first time. +func _ready(): + $output.text = "Hello!" + $button.connect("pressed", self, "_pressed") + + +func _process(delta: float): + $output.text = "%s" % Engine.get_frames_per_second() + $timer.text = "%s" % _timeout + if _timeout > 0.0: + _timeout -= delta + else: + Engine.target_fps = 10.0 + +func _pressed(): + $log.text += "PRESSED\n" + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _input(event): + Engine.target_fps = 0 + _timeout = 5.0 + + +func _unhandled_input(event): + Engine.target_fps = 0 + _timeout = 5.0 diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..16e73df --- /dev/null +++ b/main.tscn @@ -0,0 +1,141 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://main.gd" type="Script" id=1] + +[node name="main" type="Node"] + +[node name="ScrollContainer" type="ScrollContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +scroll_horizontal_enabled = false +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"] +margin_right = 720.0 +margin_bottom = 548.0 +rect_min_size = Vector2( 720, 0 ) +rect_clip_content = true +script = ExtResource( 1 ) + +[node name="process_number" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_right = 720.0 +margin_bottom = 24.0 +placeholder_text = "Nº Processo" +caret_blink = true + +[node name="surgery_number" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 28.0 +margin_right = 720.0 +margin_bottom = 52.0 +placeholder_text = "Nº Cirurgia" +caret_blink = true + +[node name="place" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 56.0 +margin_right = 720.0 +margin_bottom = 80.0 +placeholder_text = "Local" +caret_blink = true + +[node name="anesthesia" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 84.0 +margin_right = 720.0 +margin_bottom = 108.0 +placeholder_text = "Anesthesics" +caret_blink = true + +[node name="first_aider" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 112.0 +margin_right = 720.0 +margin_bottom = 136.0 +placeholder_text = "1º Ajudante" +caret_blink = true + +[node name="type" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 140.0 +margin_right = 720.0 +margin_bottom = 164.0 +placeholder_text = "Tipo" +caret_blink = true + +[node name="sub_type" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 168.0 +margin_right = 720.0 +margin_bottom = 192.0 +placeholder_text = "Subtipo" +caret_blink = true + +[node name="sub_sub_type" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 196.0 +margin_right = 720.0 +margin_bottom = 220.0 +placeholder_text = "Sub-Subtipo" +caret_blink = true + +[node name="pathology" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 224.0 +margin_right = 720.0 +margin_bottom = 248.0 +placeholder_text = "Patologia" +caret_blink = true + +[node name="intervention" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 252.0 +margin_right = 720.0 +margin_bottom = 276.0 +placeholder_text = "Intervenção" +caret_blink = true + +[node name="urgency" type="CheckBox" parent="ScrollContainer/VBoxContainer"] +margin_top = 280.0 +margin_right = 720.0 +margin_bottom = 304.0 +text = "Urgência" + +[node name="notes" type="LineEdit" parent="ScrollContainer/VBoxContainer"] +margin_top = 308.0 +margin_right = 720.0 +margin_bottom = 332.0 +placeholder_text = "Notas" +caret_blink = true + +[node name="output" type="RichTextLabel" parent="ScrollContainer/VBoxContainer"] +margin_top = 336.0 +margin_right = 720.0 +margin_bottom = 386.0 +rect_min_size = Vector2( 0, 50 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="timer" type="RichTextLabel" parent="ScrollContainer/VBoxContainer"] +margin_top = 390.0 +margin_right = 720.0 +margin_bottom = 440.0 +rect_min_size = Vector2( 0, 50 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="button" type="Button" parent="ScrollContainer/VBoxContainer"] +margin_top = 444.0 +margin_right = 720.0 +margin_bottom = 494.0 +grow_horizontal = 2 +grow_vertical = 2 +rect_min_size = Vector2( 0, 50 ) +text = "PRESS ME" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="log" type="RichTextLabel" parent="ScrollContainer/VBoxContainer"] +margin_top = 498.0 +margin_right = 720.0 +margin_bottom = 548.0 +rect_min_size = Vector2( 0, 50 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/AndroidManifest.xml b/old_native_project/AndroidManifest.xml index fd4ec79..fd4ec79 100755 --- a/AndroidManifest.xml +++ b/old_native_project/AndroidManifest.xml diff --git a/gen/net/redroid/medlog/BuildConfig.java b/old_native_project/gen/net/redroid/medlog/BuildConfig.java index c27f499..c27f499 100755 --- a/gen/net/redroid/medlog/BuildConfig.java +++ b/old_native_project/gen/net/redroid/medlog/BuildConfig.java diff --git a/gen/net/redroid/medlog/R.java b/old_native_project/gen/net/redroid/medlog/R.java index 59722b1..59722b1 100755 --- a/gen/net/redroid/medlog/R.java +++ b/old_native_project/gen/net/redroid/medlog/R.java diff --git a/old_native_project/ic_launcher-web.png b/old_native_project/ic_launcher-web.png Binary files differnew file mode 100755 index 0000000..e4d20ec --- /dev/null +++ b/old_native_project/ic_launcher-web.png diff --git a/old_native_project/ic_launcher-web.png.import b/old_native_project/ic_launcher-web.png.import new file mode 100644 index 0000000..f462da2 --- /dev/null +++ b/old_native_project/ic_launcher-web.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ic_launcher-web.png-244ffa8897e9eebe71336a23a9033c01.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://old_native_project/ic_launcher-web.png" +dest_files=[ "res://.import/ic_launcher-web.png-244ffa8897e9eebe71336a23a9033c01.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 diff --git a/libs/android-support-v4.jar b/old_native_project/libs/android-support-v4.jar Binary files differindex 96644ed..96644ed 100755 --- a/libs/android-support-v4.jar +++ b/old_native_project/libs/android-support-v4.jar diff --git a/libs/javacsv.jar b/old_native_project/libs/javacsv.jar Binary files differindex ceb59eb..ceb59eb 100755 --- a/libs/javacsv.jar +++ b/old_native_project/libs/javacsv.jar diff --git a/lint.xml b/old_native_project/lint.xml index ee0eead..ee0eead 100755 --- a/lint.xml +++ b/old_native_project/lint.xml diff --git a/proguard-project.txt b/old_native_project/proguard-project.txt index f2fe155..f2fe155 100755 --- a/proguard-project.txt +++ b/old_native_project/proguard-project.txt diff --git a/project.properties b/old_native_project/project.properties index 4ab1256..4ab1256 100755 --- a/project.properties +++ b/old_native_project/project.properties diff --git a/res/drawable-hdpi/ic_launcher.png b/old_native_project/res/drawable-hdpi/ic_launcher.png Binary files differindex 9ef6cfb..9ef6cfb 100755 --- a/res/drawable-hdpi/ic_launcher.png +++ b/old_native_project/res/drawable-hdpi/ic_launcher.png diff --git a/old_native_project/res/drawable-hdpi/ic_launcher.png.import b/old_native_project/res/drawable-hdpi/ic_launcher.png.import new file mode 100644 index 0000000..fb44ccd --- /dev/null +++ b/old_native_project/res/drawable-hdpi/ic_launcher.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ic_launcher.png-7b75c07f16537d4d1276f02b2da8f046.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://old_native_project/res/drawable-hdpi/ic_launcher.png" +dest_files=[ "res://.import/ic_launcher.png-7b75c07f16537d4d1276f02b2da8f046.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 diff --git a/res/drawable-mdpi/ic_launcher.png b/old_native_project/res/drawable-mdpi/ic_launcher.png Binary files differindex 330d0a4..330d0a4 100755 --- a/res/drawable-mdpi/ic_launcher.png +++ b/old_native_project/res/drawable-mdpi/ic_launcher.png diff --git a/old_native_project/res/drawable-mdpi/ic_launcher.png.import b/old_native_project/res/drawable-mdpi/ic_launcher.png.import new file mode 100644 index 0000000..3e22a92 --- /dev/null +++ b/old_native_project/res/drawable-mdpi/ic_launcher.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ic_launcher.png-60911ba4a7bacee1ef18c90549959e99.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://old_native_project/res/drawable-mdpi/ic_launcher.png" +dest_files=[ "res://.import/ic_launcher.png-60911ba4a7bacee1ef18c90549959e99.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 diff --git a/res/drawable-xhdpi/ic_launcher.png b/old_native_project/res/drawable-xhdpi/ic_launcher.png Binary files differindex e6341a6..e6341a6 100755 --- a/res/drawable-xhdpi/ic_launcher.png +++ b/old_native_project/res/drawable-xhdpi/ic_launcher.png diff --git a/old_native_project/res/drawable-xhdpi/ic_launcher.png.import b/old_native_project/res/drawable-xhdpi/ic_launcher.png.import new file mode 100644 index 0000000..03ba604 --- /dev/null +++ b/old_native_project/res/drawable-xhdpi/ic_launcher.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ic_launcher.png-392be394da50ded53954d6a34405ccd0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://old_native_project/res/drawable-xhdpi/ic_launcher.png" +dest_files=[ "res://.import/ic_launcher.png-392be394da50ded53954d6a34405ccd0.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 diff --git a/res/drawable-xxhdpi/ic_launcher.png b/old_native_project/res/drawable-xxhdpi/ic_launcher.png Binary files differindex 590a40f..590a40f 100755 --- a/res/drawable-xxhdpi/ic_launcher.png +++ b/old_native_project/res/drawable-xxhdpi/ic_launcher.png diff --git a/old_native_project/res/drawable-xxhdpi/ic_launcher.png.import b/old_native_project/res/drawable-xxhdpi/ic_launcher.png.import new file mode 100644 index 0000000..562f414 --- /dev/null +++ b/old_native_project/res/drawable-xxhdpi/ic_launcher.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ic_launcher.png-d4038f1f519c934c855a1e1587c8d21b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://old_native_project/res/drawable-xxhdpi/ic_launcher.png" +dest_files=[ "res://.import/ic_launcher.png-d4038f1f519c934c855a1e1587c8d21b.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 diff --git a/res/layout/activity_main.xml b/old_native_project/res/layout/activity_main.xml index 6cfef6f..6cfef6f 100755 --- a/res/layout/activity_main.xml +++ b/old_native_project/res/layout/activity_main.xml diff --git a/res/layout/fragment_file_operations.xml b/old_native_project/res/layout/fragment_file_operations.xml index 2703afb..2703afb 100755 --- a/res/layout/fragment_file_operations.xml +++ b/old_native_project/res/layout/fragment_file_operations.xml diff --git a/res/layout/fragment_main_dummy.xml b/old_native_project/res/layout/fragment_main_dummy.xml index 57dc8ce..57dc8ce 100755 --- a/res/layout/fragment_main_dummy.xml +++ b/old_native_project/res/layout/fragment_main_dummy.xml diff --git a/res/layout/fragment_new_entry.xml b/old_native_project/res/layout/fragment_new_entry.xml index 350fd2a..350fd2a 100755 --- a/res/layout/fragment_new_entry.xml +++ b/old_native_project/res/layout/fragment_new_entry.xml diff --git a/res/layout/fragment_view_data.xml b/old_native_project/res/layout/fragment_view_data.xml index db246f1..db246f1 100755 --- a/res/layout/fragment_view_data.xml +++ b/old_native_project/res/layout/fragment_view_data.xml diff --git a/res/layout/multiline_spinner_dropdown_item.xml b/old_native_project/res/layout/multiline_spinner_dropdown_item.xml index ff05fc2..ff05fc2 100755 --- a/res/layout/multiline_spinner_dropdown_item.xml +++ b/old_native_project/res/layout/multiline_spinner_dropdown_item.xml diff --git a/res/layout/override_new_entry.xml b/old_native_project/res/layout/override_new_entry.xml index 320feb6..320feb6 100755 --- a/res/layout/override_new_entry.xml +++ b/old_native_project/res/layout/override_new_entry.xml diff --git a/res/menu/main.xml b/old_native_project/res/menu/main.xml index d122a4b..d122a4b 100755 --- a/res/menu/main.xml +++ b/old_native_project/res/menu/main.xml diff --git a/res/values-sw600dp/dimens.xml b/old_native_project/res/values-sw600dp/dimens.xml index c876987..c876987 100755 --- a/res/values-sw600dp/dimens.xml +++ b/old_native_project/res/values-sw600dp/dimens.xml diff --git a/res/values-sw720dp-land/dimens.xml b/old_native_project/res/values-sw720dp-land/dimens.xml index 0df3067..0df3067 100755 --- a/res/values-sw720dp-land/dimens.xml +++ b/old_native_project/res/values-sw720dp-land/dimens.xml diff --git a/res/values-v11/styles.xml b/old_native_project/res/values-v11/styles.xml index e3ef53d..e3ef53d 100755 --- a/res/values-v11/styles.xml +++ b/old_native_project/res/values-v11/styles.xml diff --git a/res/values-v14/styles.xml b/old_native_project/res/values-v14/styles.xml index 94dd245..94dd245 100755 --- a/res/values-v14/styles.xml +++ b/old_native_project/res/values-v14/styles.xml diff --git a/res/values/dimens.xml b/old_native_project/res/values/dimens.xml index 2e0e2ae..2e0e2ae 100755 --- a/res/values/dimens.xml +++ b/old_native_project/res/values/dimens.xml diff --git a/res/values/strings.xml b/old_native_project/res/values/strings.xml index f17b4ad..f17b4ad 100755 --- a/res/values/strings.xml +++ b/old_native_project/res/values/strings.xml diff --git a/res/values/styles.xml b/old_native_project/res/values/styles.xml index 4ea9326..4ea9326 100755 --- a/res/values/styles.xml +++ b/old_native_project/res/values/styles.xml diff --git a/src/com/example/surgerylog/FileOperationsFragment.java b/old_native_project/src/com/example/surgerylog/FileOperationsFragment.java index 512f02b..512f02b 100755 --- a/src/com/example/surgerylog/FileOperationsFragment.java +++ b/old_native_project/src/com/example/surgerylog/FileOperationsFragment.java diff --git a/src/com/example/surgerylog/ISpinnerRefresh.java b/old_native_project/src/com/example/surgerylog/ISpinnerRefresh.java index a8baf36..a8baf36 100755 --- a/src/com/example/surgerylog/ISpinnerRefresh.java +++ b/old_native_project/src/com/example/surgerylog/ISpinnerRefresh.java diff --git a/src/com/example/surgerylog/MainActivity.java b/old_native_project/src/com/example/surgerylog/MainActivity.java index 47910cc..47910cc 100755 --- a/src/com/example/surgerylog/MainActivity.java +++ b/old_native_project/src/com/example/surgerylog/MainActivity.java diff --git a/src/com/example/surgerylog/MedLogInfo.java b/old_native_project/src/com/example/surgerylog/MedLogInfo.java index c59bd29..c59bd29 100755 --- a/src/com/example/surgerylog/MedLogInfo.java +++ b/old_native_project/src/com/example/surgerylog/MedLogInfo.java diff --git a/src/com/example/surgerylog/MedLogRoot.java b/old_native_project/src/com/example/surgerylog/MedLogRoot.java index 073701b..073701b 100755 --- a/src/com/example/surgerylog/MedLogRoot.java +++ b/old_native_project/src/com/example/surgerylog/MedLogRoot.java diff --git a/src/com/example/surgerylog/MedLogSubType.java b/old_native_project/src/com/example/surgerylog/MedLogSubType.java index 7bac538..7bac538 100755 --- a/src/com/example/surgerylog/MedLogSubType.java +++ b/old_native_project/src/com/example/surgerylog/MedLogSubType.java diff --git a/src/com/example/surgerylog/MedLogType.java b/old_native_project/src/com/example/surgerylog/MedLogType.java index d4bc485..d4bc485 100755 --- a/src/com/example/surgerylog/MedLogType.java +++ b/old_native_project/src/com/example/surgerylog/MedLogType.java diff --git a/src/com/example/surgerylog/NewEntryFragment.java b/old_native_project/src/com/example/surgerylog/NewEntryFragment.java index 522d76b..522d76b 100755 --- a/src/com/example/surgerylog/NewEntryFragment.java +++ b/old_native_project/src/com/example/surgerylog/NewEntryFragment.java diff --git a/src/com/example/surgerylog/ViewDataFragment.java b/old_native_project/src/com/example/surgerylog/ViewDataFragment.java index 6adbbaa..6adbbaa 100755 --- a/src/com/example/surgerylog/ViewDataFragment.java +++ b/old_native_project/src/com/example/surgerylog/ViewDataFragment.java diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..8bc4dca --- /dev/null +++ b/project.godot @@ -0,0 +1,35 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +[application] + +config/name="Surgery Log" +run/main_scene="res://main.tscn" +boot_splash/image="res://icon.png" +boot_splash/fullsize=false +boot_splash/use_filter=false +boot_splash/bg_color=Color( 0, 0, 0, 1 ) +config/icon="res://icon.png" + +[display] + +window/size/width=720 +window/size/height=1280 +window/energy_saving/keep_screen_on=false +window/handheld/orientation="portrait" + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +vram_compression/import_etc=true +environment/default_environment="res://default_env.tres" |
