kredki 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/kredki/core/application.rb +314 -0
- data/lib/kredki/core/color.rb +100 -0
- data/lib/kredki/core/event/block_event_reaction.rb +44 -0
- data/lib/kredki/core/event/composite_event_manager.rb +37 -0
- data/lib/kredki/core/event/event.rb +91 -0
- data/lib/kredki/core/event/event_manager.rb +60 -0
- data/lib/kredki/core/event/event_manager_jobs.rb +53 -0
- data/lib/kredki/core/event/event_reaction.rb +36 -0
- data/lib/kredki/core/event/family/drop_event.rb +40 -0
- data/lib/kredki/core/event/family/exit_event.rb +5 -0
- data/lib/kredki/core/event/family/focus_enter_event.rb +5 -0
- data/lib/kredki/core/event/family/focus_leave_event.rb +5 -0
- data/lib/kredki/core/event/family/hide_event.rb +5 -0
- data/lib/kredki/core/event/family/joystick_event.rb +102 -0
- data/lib/kredki/core/event/family/key_event.rb +40 -0
- data/lib/kredki/core/event/family/mouse_event.rb +190 -0
- data/lib/kredki/core/event/family/pastele_event.rb +11 -0
- data/lib/kredki/core/event/family/show_event.rb +5 -0
- data/lib/kredki/core/event/family/text_event.rb +23 -0
- data/lib/kredki/core/event/family/tick_event.rb +5 -0
- data/lib/kredki/core/event/family/update_complete_event.rb +5 -0
- data/lib/kredki/core/event/family/window_event.rb +108 -0
- data/lib/kredki/core/event/job_event_reaction.rb +44 -0
- data/lib/kredki/core/event/joystick_event_manager.rb +30 -0
- data/lib/kredki/core/event/keyboard_event_manager.rb +29 -0
- data/lib/kredki/core/event/method_event_reaction.rb +46 -0
- data/lib/kredki/core/event/mouse_event_manager.rb +27 -0
- data/lib/kredki/core/font.rb +53 -0
- data/lib/kredki/core/job/after_job.rb +59 -0
- data/lib/kredki/core/job/job.rb +108 -0
- data/lib/kredki/core/job/loop_job.rb +87 -0
- data/lib/kredki/core/job/play_animation_job.rb +44 -0
- data/lib/kredki/core/job/play_job.rb +41 -0
- data/lib/kredki/core/job/play_loop_animation_job.rb +98 -0
- data/lib/kredki/core/job/play_loop_job.rb +104 -0
- data/lib/kredki/core/job/side_job.rb +62 -0
- data/lib/kredki/core/kernel-path.rb +71 -0
- data/lib/kredki/core/kredki.rb +89 -0
- data/lib/kredki/core/linear_gradient.rb +43 -0
- data/lib/kredki/core/media/clipboard.rb +35 -0
- data/lib/kredki/core/media/joystick.rb +199 -0
- data/lib/kredki/core/media/keyboard.rb +84 -0
- data/lib/kredki/core/media/keyboard_modifiers_decoder.rb +154 -0
- data/lib/kredki/core/media/mouse.rb +197 -0
- data/lib/kredki/core/paint/animation.rb +247 -0
- data/lib/kredki/core/paint/area.rb +67 -0
- data/lib/kredki/core/paint/block_shape_area.rb +102 -0
- data/lib/kredki/core/paint/ellipse.rb +22 -0
- data/lib/kredki/core/paint/paint.rb +392 -0
- data/lib/kredki/core/paint/picture.rb +126 -0
- data/lib/kredki/core/paint/rectangle.rb +202 -0
- data/lib/kredki/core/paint/scene.rb +277 -0
- data/lib/kredki/core/paint/shape.rb +394 -0
- data/lib/kredki/core/paint/shape_area.rb +57 -0
- data/lib/kredki/core/paint/text.rb +222 -0
- data/lib/kredki/core/pastele/pastele-extern.rb +139 -0
- data/lib/kredki/core/pastele/pastele.rb +205 -0
- data/lib/kredki/core/radial_gradient.rb +45 -0
- data/lib/kredki/core/setup.rb +214 -0
- data/lib/kredki/core/window/pane.rb +178 -0
- data/lib/kredki/core/window/pane_event_manager.rb +44 -0
- data/lib/kredki/core/window/pane_events.rb +366 -0
- data/lib/kredki/core/window/window.rb +584 -0
- data/lib/kredki/core.rb +2 -0
- data/lib/kredki/hide.rb +9 -0
- data/lib/kredki/irb.rb +90 -0
- data/lib/kredki/module.rb +3 -0
- data/lib/kredki/pads/application.rb +13 -0
- data/lib/kredki/pads/button.rb +151 -0
- data/lib/kredki/pads/checkbox/checkbox.rb +68 -0
- data/lib/kredki/pads/checkbox/checkbox_button.rb +65 -0
- data/lib/kredki/pads/context/item.rb +65 -0
- data/lib/kredki/pads/context/item_group.rb +10 -0
- data/lib/kredki/pads/context/layer.rb +59 -0
- data/lib/kredki/pads/context/menu.rb +77 -0
- data/lib/kredki/pads/context/pad.rb +26 -0
- data/lib/kredki/pads/context/primary_layer.rb +51 -0
- data/lib/kredki/pads/context/secondary_layer.rb +60 -0
- data/lib/kredki/pads/item/item.rb +140 -0
- data/lib/kredki/pads/item/item_group.rb +44 -0
- data/lib/kredki/pads/item/item_x.rb +22 -0
- data/lib/kredki/pads/item/item_y.rb +31 -0
- data/lib/kredki/pads/label.rb +71 -0
- data/lib/kredki/pads/layer.rb +326 -0
- data/lib/kredki/pads/layout/align.rb +10 -0
- data/lib/kredki/pads/layout/layout.rb +88 -0
- data/lib/kredki/pads/layout/way.rb +99 -0
- data/lib/kredki/pads/layout/x_way.rb +119 -0
- data/lib/kredki/pads/layout/y_way.rb +120 -0
- data/lib/kredki/pads/list/item.rb +117 -0
- data/lib/kredki/pads/list/item_group.rb +36 -0
- data/lib/kredki/pads/list/pad.rb +74 -0
- data/lib/kredki/pads/list/tree/item.rb +138 -0
- data/lib/kredki/pads/list/tree/item_group.rb +86 -0
- data/lib/kredki/pads/list/tree/pad.rb +94 -0
- data/lib/kredki/pads/module.rb +11 -0
- data/lib/kredki/pads/note.rb +212 -0
- data/lib/kredki/pads/notes.rb +32 -0
- data/lib/kredki/pads/option/option.rb +121 -0
- data/lib/kredki/pads/option/option_item.rb +15 -0
- data/lib/kredki/pads/option/option_item_group.rb +16 -0
- data/lib/kredki/pads/option/option_layer.rb +81 -0
- data/lib/kredki/pads/pad/animation_pad.rb +106 -0
- data/lib/kredki/pads/pad/glyph_pad.rb +71 -0
- data/lib/kredki/pads/pad/pad.rb +1290 -0
- data/lib/kredki/pads/pad/pad_events.rb +358 -0
- data/lib/kredki/pads/pad/picture_pad.rb +89 -0
- data/lib/kredki/pads/pad/rectangle_pad.rb +181 -0
- data/lib/kredki/pads/pad/scroll_pad.rb +176 -0
- data/lib/kredki/pads/pad/shape_pad.rb +148 -0
- data/lib/kredki/pads/pad/space_pad.rb +33 -0
- data/lib/kredki/pads/pad/text_pad.rb +310 -0
- data/lib/kredki/pads/pane.rb +267 -0
- data/lib/kredki/pads/portal_layer.rb +94 -0
- data/lib/kredki/pads/radio/group.rb +45 -0
- data/lib/kredki/pads/radio/item.rb +69 -0
- data/lib/kredki/pads/radio/item_button.rb +143 -0
- data/lib/kredki/pads/service/event_queue.rb +79 -0
- data/lib/kredki/pads/service/service.rb +248 -0
- data/lib/kredki/pads/service/service_event_manager.rb +43 -0
- data/lib/kredki/pads/service/service_filter.rb +98 -0
- data/lib/kredki/pads/service/service_inherited.rb +48 -0
- data/lib/kredki/pads/setup.rb +36 -0
- data/lib/kredki/pads/slider/slider.rb +145 -0
- data/lib/kredki/pads/slider/slider_x.rb +41 -0
- data/lib/kredki/pads/slider/slider_y.rb +41 -0
- data/lib/kredki/pads/table/cell.rb +22 -0
- data/lib/kredki/pads/table/column.rb +63 -0
- data/lib/kredki/pads/table/column_layout.rb +88 -0
- data/lib/kredki/pads/table/pad.rb +116 -0
- data/lib/kredki/pads/table/row.rb +24 -0
- data/lib/kredki/pads/table/scroll_rows.rb +50 -0
- data/lib/kredki/pads/text/editable_text_verse.rb +77 -0
- data/lib/kredki/pads/text/editable_text_verses.rb +59 -0
- data/lib/kredki/pads/text/navigable_text_pad.rb +413 -0
- data/lib/kredki/pads/text/text_edition.rb +97 -0
- data/lib/kredki/pads/text/text_navigation.rb +109 -0
- data/lib/kredki/pads/toolbar/item.rb +62 -0
- data/lib/kredki/pads/toolbar/item_group.rb +22 -0
- data/lib/kredki/pads/toolbar/layer.rb +41 -0
- data/lib/kredki/pads/toolbar/pad.rb +51 -0
- data/lib/kredki/pads/toolbar/primary_layer.rb +64 -0
- data/lib/kredki/pads/window.rb +11 -0
- data/lib/kredki/script.rb +29 -0
- data/lib/kredki/setup.rb +2 -0
- data/lib/kredki/test.rb +35 -0
- data/lib/kredki.rb +10 -0
- data/lib/readme.md +31 -0
- data/stuff/config/config.rb +431 -0
- data/stuff/config/pads_config.rb +111 -0
- data/stuff/dll/SDL3.dll +0 -0
- data/stuff/dll/pastele.dll +0 -0
- data/stuff/dll/thorvg-1.dll +0 -0
- data/stuff/font/MartianMono-StdRg.ttf +0 -0
- data/stuff/font/MavenPro-Medium.ttf +0 -0
- data/stuff/font/MavenPro-Regular.ttf +0 -0
- data/stuff/glyph/alert-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/alert-triangle-svgrepo-com.svg +12 -0
- data/stuff/glyph/archivebox-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-2-ccw-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-2-cw-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-2-rectangle-path-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-4-way-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-ccw-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-circle-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-circle-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-circle-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-circle-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-cw-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-from-line-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-from-line-left-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-from-line-right-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-from-line-up-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-from-shape-right-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-from-shape-up-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-right-arrow-left-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-shape-turn-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-shape-turn-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-small-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-small-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-small-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-small-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-thin-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-thin-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-thin-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-thin-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-to-line-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-to-line-left-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-to-line-right-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-to-line-up-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-to-shape-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-to-shape-right-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-trend-down-svgrepo-com.svg +12 -0
- data/stuff/glyph/arrow-trend-up-svgrepo-com.svg +12 -0
- data/stuff/glyph/arrow-turn-down-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-down-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-left-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-left-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-right-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-right-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-up-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-turn-up-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/arrow-up-arrow-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/arrow-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/at-sign-svgrepo-com.svg +4 -0
- data/stuff/glyph/bag-svgrepo-com.svg +4 -0
- data/stuff/glyph/bell-slash-svgrepo-com.svg +6 -0
- data/stuff/glyph/bell-svgrepo-com.svg +5 -0
- data/stuff/glyph/book-open-svgrepo-com.svg +5 -0
- data/stuff/glyph/bookmark-svgrepo-com.svg +4 -0
- data/stuff/glyph/box-svgrepo-com.svg +6 -0
- data/stuff/glyph/calendar-svgrepo-com.svg +5 -0
- data/stuff/glyph/camera-svgrepo-com.svg +4 -0
- data/stuff/glyph/caret-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/caret-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/caret-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/caret-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/cart-svgrepo-com.svg +6 -0
- data/stuff/glyph/chart-pie-svgrepo-com.svg +5 -0
- data/stuff/glyph/chartbar-2-svgrepo-com.svg +7 -0
- data/stuff/glyph/chartbar-svgrepo-com.svg +7 -0
- data/stuff/glyph/checkmark-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/checkmark-double-svgrepo-com.svg +5 -0
- data/stuff/glyph/checkmark-square-svgrepo-com.svg +4 -0
- data/stuff/glyph/checkmark-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-left-chevron-right-svgrepo-com.svg +5 -0
- data/stuff/glyph/chevron-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-small-down-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-small-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-small-right-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-small-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/chevron-up-chevron-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/chevron-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/clock-svgrepo-com.svg +4 -0
- data/stuff/glyph/cloud-arrow-up-svgrepo-com.svg +4 -0
- data/stuff/glyph/cloud-download-svgrepo-com.svg +4 -0
- data/stuff/glyph/cloud-slash-svgrepo-com.svg +5 -0
- data/stuff/glyph/cloud-svgrepo-com.svg +4 -0
- data/stuff/glyph/columns-svgrepo-com.svg +5 -0
- data/stuff/glyph/command-svgrepo-com.svg +4 -0
- data/stuff/glyph/compass-svgrepo-com.svg +5 -0
- data/stuff/glyph/credit-card-svgrepo-com.svg +5 -0
- data/stuff/glyph/crop-svgrepo-com.svg +5 -0
- data/stuff/glyph/crown-svgrepo-com.svg +4 -0
- data/stuff/glyph/delete-left-svgrepo-com.svg +4 -0
- data/stuff/glyph/device-desktop-svgrepo-com.svg +4 -0
- data/stuff/glyph/device-mobile-svgrepo-com.svg +4 -0
- data/stuff/glyph/device-tablet-svgrepo-com.svg +4 -0
- data/stuff/glyph/doc-svgrepo-com.svg +5 -0
- data/stuff/glyph/dot-small-svgrepo-com.svg +4 -0
- data/stuff/glyph/dots-3-horizontal-svgrepo-com.svg +6 -0
- data/stuff/glyph/dots-3-vertical-svgrepo-com.svg +6 -0
- data/stuff/glyph/dots-6-horizontal-svgrepo-com.svg +9 -0
- data/stuff/glyph/dots-6-vertical-svgrepo-com.svg +9 -0
- data/stuff/glyph/dots-9-svgrepo-com.svg +12 -0
- data/stuff/glyph/emoji-frown-svgrepo-com.svg +4 -0
- data/stuff/glyph/emoji-meh-svgrepo-com.svg +4 -0
- data/stuff/glyph/emoji-smile-svgrepo-com.svg +4 -0
- data/stuff/glyph/envelope-svgrepo-com.svg +5 -0
- data/stuff/glyph/external-link-svgrepo-com.svg +5 -0
- data/stuff/glyph/eye-slash-svgrepo-com.svg +15 -0
- data/stuff/glyph/eye-svgrepo-com.svg +4 -0
- data/stuff/glyph/filter-svgrepo-com.svg +4 -0
- data/stuff/glyph/flame-svgrepo-com.svg +4 -0
- data/stuff/glyph/floppy-disk-svgrepo-com.svg +4 -0
- data/stuff/glyph/folder-svgrepo-com.svg +4 -0
- data/stuff/glyph/fullscreen-alt-svgrepo-com.svg +7 -0
- data/stuff/glyph/fullscreen-exit-alt-svgrepo-com.svg +7 -0
- data/stuff/glyph/fullscreen-exit-svgrepo-com.svg +5 -0
- data/stuff/glyph/fullscreen-svgrepo-com.svg +5 -0
- data/stuff/glyph/gear-svgrepo-com.svg +4 -0
- data/stuff/glyph/giftbox-svgrepo-com.svg +6 -0
- data/stuff/glyph/half-star-svgrepo-com.svg +4 -0
- data/stuff/glyph/hashtag-svgrepo-com.svg +4 -0
- data/stuff/glyph/headphones-svgrepo-com.svg +4 -0
- data/stuff/glyph/heart-half-svgrepo-com.svg +4 -0
- data/stuff/glyph/heart-svgrepo-com.svg +4 -0
- data/stuff/glyph/house-svgrepo-com.svg +4 -0
- data/stuff/glyph/image-svgrepo-com.svg +4 -0
- data/stuff/glyph/info-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/key-svgrepo-com.svg +4 -0
- data/stuff/glyph/layers-3-svgrepo-com.svg +6 -0
- data/stuff/glyph/layout-svgrepo-com.svg +6 -0
- data/stuff/glyph/line-3-svgrepo-com.svg +6 -0
- data/stuff/glyph/link-alt-svgrepo-com.svg +5 -0
- data/stuff/glyph/link-svgrepo-com.svg +6 -0
- data/stuff/glyph/list-bullet-svgrepo-com.svg +9 -0
- data/stuff/glyph/location-svgrepo-com.svg +4 -0
- data/stuff/glyph/lock-open-svgrepo-com.svg +4 -0
- data/stuff/glyph/lock-svgrepo-com.svg +4 -0
- data/stuff/glyph/map-pin-svgrepo-com.svg +4 -0
- data/stuff/glyph/medal-svgrepo-com.svg +13 -0
- data/stuff/glyph/media-backward-end-svgrepo-com.svg +5 -0
- data/stuff/glyph/media-backward-svgrepo-com.svg +5 -0
- data/stuff/glyph/media-forward-end-svgrepo-com.svg +5 -0
- data/stuff/glyph/media-forward-svgrepo-com.svg +4 -0
- data/stuff/glyph/media-pause-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/media-pause-svgrepo-com.svg +5 -0
- data/stuff/glyph/media-play-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/media-play-svgrepo-com.svg +4 -0
- data/stuff/glyph/media-stop-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/media-stop-svgrepo-com.svg +4 -0
- data/stuff/glyph/message-bubble-2-svgrepo-com.svg +4 -0
- data/stuff/glyph/message-bubble-svgrepo-com.svg +4 -0
- data/stuff/glyph/mic-slash-svgrepo-com.svg +6 -0
- data/stuff/glyph/mic-svgrepo-com.svg +5 -0
- data/stuff/glyph/minus-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/minus-square-svgrepo-com.svg +4 -0
- data/stuff/glyph/minus-svgrepo-com.svg +4 -0
- data/stuff/glyph/moon-svgrepo-com.svg +4 -0
- data/stuff/glyph/music-note-svgrepo-com.svg +4 -0
- data/stuff/glyph/nosign-svgrepo-com.svg +4 -0
- data/stuff/glyph/paper-clip-svgrepo-com.svg +4 -0
- data/stuff/glyph/paper-plane-svgrepo-com.svg +4 -0
- data/stuff/glyph/pen-tool-svgrepo-com.svg +4 -0
- data/stuff/glyph/pencil-svgrepo-com.svg +5 -0
- data/stuff/glyph/percent-svgrepo-com.svg +6 -0
- data/stuff/glyph/phone-incoming-svgrepo-com.svg +5 -0
- data/stuff/glyph/phone-missed-svgrepo-com.svg +4 -0
- data/stuff/glyph/phone-outgoing-svgrepo-com.svg +5 -0
- data/stuff/glyph/phone-slash-svgrepo-com.svg +4 -0
- data/stuff/glyph/phone-svgrepo-com.svg +4 -0
- data/stuff/glyph/plus-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/plus-square-svgrepo-com.svg +4 -0
- data/stuff/glyph/plus-svgrepo-com.svg +4 -0
- data/stuff/glyph/power-svgrepo-com.svg +5 -0
- data/stuff/glyph/printer-svgrepo-com.svg +5 -0
- data/stuff/glyph/question-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/scissors-svgrepo-com.svg +5 -0
- data/stuff/glyph/search-svgrepo-com.svg +4 -0
- data/stuff/glyph/server-svgrepo-com.svg +5 -0
- data/stuff/glyph/shape-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/shape-rhombus-svgrepo-com.svg +4 -0
- data/stuff/glyph/shape-square-svgrepo-com.svg +4 -0
- data/stuff/glyph/shape-triangle-svgrepo-com.svg +12 -0
- data/stuff/glyph/share-svgrepo-com.svg +4 -0
- data/stuff/glyph/shield-slash-svgrepo-com.svg +13 -0
- data/stuff/glyph/shield-svgrepo-com.svg +4 -0
- data/stuff/glyph/shippingbox-svgrepo-com.svg +7 -0
- data/stuff/glyph/slider-3-horizontal-svgrepo-com.svg +9 -0
- data/stuff/glyph/slider-3-vertical-svgrepo-com.svg +9 -0
- data/stuff/glyph/speaker-svgrepo-com.svg +4 -0
- data/stuff/glyph/speaker-wave-1-svgrepo-com.svg +5 -0
- data/stuff/glyph/speaker-wave-2-svgrepo-com.svg +6 -0
- data/stuff/glyph/speaker-xmark-svgrepo-com.svg +5 -0
- data/stuff/glyph/square-4-grid-svgrepo-com.svg +7 -0
- data/stuff/glyph/square-on-square-svgrepo-com.svg +5 -0
- data/stuff/glyph/star-svgrepo-com.svg +4 -0
- data/stuff/glyph/sun-svgrepo-com.svg +12 -0
- data/stuff/glyph/tag-svgrepo-com.svg +4 -0
- data/stuff/glyph/text-align-center-svgrepo-com.svg +7 -0
- data/stuff/glyph/text-align-justify-svgrepo-com.svg +7 -0
- data/stuff/glyph/text-align-left-svgrepo-com.svg +7 -0
- data/stuff/glyph/text-align-right-svgrepo-com.svg +7 -0
- data/stuff/glyph/text-bold-svgrepo-com.svg +4 -0
- data/stuff/glyph/text-heading-svgrepo-com.svg +4 -0
- data/stuff/glyph/text-italic-svgrepo-com.svg +4 -0
- data/stuff/glyph/text-svgrepo-com.svg +4 -0
- data/stuff/glyph/text-underline-svgrepo-com.svg +5 -0
- data/stuff/glyph/thumbs-down-svgrepo-com.svg +5 -0
- data/stuff/glyph/thumbs-up-svgrepo-com.svg +5 -0
- data/stuff/glyph/trash-svgrepo-com.svg +5 -0
- data/stuff/glyph/tray-svgrepo-com.svg +4 -0
- data/stuff/glyph/umbrela-svgrepo-com.svg +4 -0
- data/stuff/glyph/user-svgrepo-com.svg +5 -0
- data/stuff/glyph/users-svgrepo-com.svg +7 -0
- data/stuff/glyph/video-svgrepo-com.svg +12 -0
- data/stuff/glyph/waveform-ecg-svgrepo-com.svg +4 -0
- data/stuff/glyph/wi-fi-svgrepo-com.svg +7 -0
- data/stuff/glyph/xmark-circle-svgrepo-com.svg +4 -0
- data/stuff/glyph/xmark-small-svgrepo-com.svg +4 -0
- data/stuff/glyph/xmark-svgrepo-com.svg +4 -0
- data/stuff/glyph/zap-svgrepo-com.svg +4 -0
- data/stuff/glyph/zoom-in-svgrepo-com.svg +5 -0
- data/stuff/glyph/zoom-out-svgrepo-com.svg +5 -0
- data/stuff/readme.md +266 -0
- data/stuff/so/libSDL3.so +0 -0
- data/stuff/so/libpastele.so +0 -0
- data/stuff/so/libthorvg-1.so +0 -0
- metadata +427 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
# This is config loaded by default. You can overwrite or add your own definitions by reopening Kredki module.
|
|
2
|
+
#
|
|
3
|
+
# require 'kredki'
|
|
4
|
+
#
|
|
5
|
+
# module Kredki
|
|
6
|
+
# color! :primary, 20, 50, 70, 255
|
|
7
|
+
# keyboard! do
|
|
8
|
+
# key! :escape, 58
|
|
9
|
+
# end
|
|
10
|
+
# end
|
|
11
|
+
#
|
|
12
|
+
# If you don't want to load the default configuration, you can set the path to your own:
|
|
13
|
+
#
|
|
14
|
+
# require 'kredki/setup'
|
|
15
|
+
# Kredki.config = './cutom_config.rb'
|
|
16
|
+
#
|
|
17
|
+
# require 'kredki'
|
|
18
|
+
#
|
|
19
|
+
# This way 'custom_config.rb' will be loaded instead of the current file.
|
|
20
|
+
|
|
21
|
+
module Kredki
|
|
22
|
+
|
|
23
|
+
color! nil, 211, 211, 211, 255
|
|
24
|
+
color! false, 0, 0, 0, 0
|
|
25
|
+
color! 0, 0, 0, 0, 0
|
|
26
|
+
color! :transparent, 0, 0, 0, 0
|
|
27
|
+
|
|
28
|
+
color! :white, 255, 255, 255, 255
|
|
29
|
+
color! :black, 0, 0, 0, 255
|
|
30
|
+
color! :red, 122, 0, 0, 255
|
|
31
|
+
color! :green, 0, 122, 0, 255
|
|
32
|
+
color! :blue, 0, 0, 122, 255
|
|
33
|
+
color! :gray, 111, 111, 111, 255
|
|
34
|
+
color! :light_gray, 211, 211, 211, 255
|
|
35
|
+
color! :dark_gray, 88, 88, 88, 255
|
|
36
|
+
color! :yellow, 170, 170, 0, 255
|
|
37
|
+
color! :orange, "#f06000"
|
|
38
|
+
color! :pink, 200, 50, 100, 255
|
|
39
|
+
|
|
40
|
+
font! :maven_pro, "#{dir}/stuff/font/MavenPro-Medium.ttf"
|
|
41
|
+
font! :martian_mono, "#{dir}/stuff/font/MartianMono-StdRg.ttf"
|
|
42
|
+
|
|
43
|
+
clipboard!
|
|
44
|
+
keyboard! do
|
|
45
|
+
key! :escape, 27
|
|
46
|
+
key! :f1, 1073741882
|
|
47
|
+
key! :f2, 1073741883
|
|
48
|
+
key! :f3, 1073741884
|
|
49
|
+
key! :f4, 1073741885
|
|
50
|
+
key! :f5, 1073741886
|
|
51
|
+
key! :f6, 1073741887
|
|
52
|
+
key! :f7, 1073741888
|
|
53
|
+
key! :f8, 1073741889
|
|
54
|
+
key! :f9, 1073741890
|
|
55
|
+
key! :f10, 1073741891
|
|
56
|
+
key! :f11, 1073741892
|
|
57
|
+
key! :f12, 1073741893
|
|
58
|
+
key! :backspace, 8
|
|
59
|
+
key! :space, 32
|
|
60
|
+
key! :enter, 13
|
|
61
|
+
key! :left, 1073741904
|
|
62
|
+
key! :right, 1073741903
|
|
63
|
+
key! :up, 1073741906
|
|
64
|
+
key! :down, 1073741905
|
|
65
|
+
key! :one, 49
|
|
66
|
+
key! :two, 50
|
|
67
|
+
key! :three, 51
|
|
68
|
+
key! :four, 52
|
|
69
|
+
key! :five, 53
|
|
70
|
+
key! :six, 54
|
|
71
|
+
key! :seven, 55
|
|
72
|
+
key! :eight, 56
|
|
73
|
+
key! :nine, 57
|
|
74
|
+
key! :zero, 48
|
|
75
|
+
key! :minus, 45
|
|
76
|
+
key! :equals, 61
|
|
77
|
+
key! :backquote, 96
|
|
78
|
+
key! :tab, 9
|
|
79
|
+
key! :caps_lock, 1073741881
|
|
80
|
+
key! :left_shift, 1073742049
|
|
81
|
+
key! :left_ctrl, 1073742048
|
|
82
|
+
key! :left_alt, 1073742048
|
|
83
|
+
key! :right_alt, 1073742054
|
|
84
|
+
key! :right_ctrl, 1073742052
|
|
85
|
+
key! :right_shift, 1073742053
|
|
86
|
+
key! :insert, 1073741897
|
|
87
|
+
key! :home, 1073741898
|
|
88
|
+
key! :page_up, 1073741899
|
|
89
|
+
key! :delete, 127
|
|
90
|
+
key! :end, 1073741901
|
|
91
|
+
key! :page_down, 1073741902
|
|
92
|
+
key! :print_screen, 1073741894
|
|
93
|
+
key! :pause, 1073741895
|
|
94
|
+
key! :scroll_lock, 1073741896
|
|
95
|
+
key! :num_lock, 1073741907
|
|
96
|
+
key! :keypad_slash, 1073741908
|
|
97
|
+
key! :keypad_star, 1073741909
|
|
98
|
+
key! :keypad_minus, 1073741910
|
|
99
|
+
key! :keypad_plus, 1073741911
|
|
100
|
+
key! :keypad_enter, 1073741912
|
|
101
|
+
key! :keypad_delete, 1073741923
|
|
102
|
+
key! :keypad_insert, 1073741922
|
|
103
|
+
key! :keypad_one, 1073741913
|
|
104
|
+
key! :keypad_two, 1073741914
|
|
105
|
+
key! :keypad_three, 1073741915
|
|
106
|
+
key! :keypad_four, 1073741916
|
|
107
|
+
key! :keypad_five, 1073741917
|
|
108
|
+
key! :keypad_six, 1073741918
|
|
109
|
+
key! :keypad_seven, 1073741919
|
|
110
|
+
key! :keypad_eight, 1073741920
|
|
111
|
+
key! :keypad_nine, 1073741921
|
|
112
|
+
key! :q, 113
|
|
113
|
+
key! :w, 119
|
|
114
|
+
key! :e, 101
|
|
115
|
+
key! :r, 114
|
|
116
|
+
key! :t, 116
|
|
117
|
+
key! :y, 121
|
|
118
|
+
key! :u, 117
|
|
119
|
+
key! :i, 105
|
|
120
|
+
key! :o, 111
|
|
121
|
+
key! :p, 112
|
|
122
|
+
key! :a, 97
|
|
123
|
+
key! :s, 115
|
|
124
|
+
key! :d, 100
|
|
125
|
+
key! :f, 102
|
|
126
|
+
key! :g, 103
|
|
127
|
+
key! :h, 104
|
|
128
|
+
key! :j, 106
|
|
129
|
+
key! :k, 107
|
|
130
|
+
key! :l, 108
|
|
131
|
+
key! :z, 122
|
|
132
|
+
key! :x, 120
|
|
133
|
+
key! :c, 99
|
|
134
|
+
key! :v, 118
|
|
135
|
+
key! :b, 98
|
|
136
|
+
key! :n, 110
|
|
137
|
+
key! :m, 109
|
|
138
|
+
key! :open_bracket, 91
|
|
139
|
+
key! :close_bracket, 93
|
|
140
|
+
key! :semicolon, 59
|
|
141
|
+
key! :quote, 39
|
|
142
|
+
key! :backslash, 92
|
|
143
|
+
key! :comma, 44
|
|
144
|
+
key! :dot, 46
|
|
145
|
+
key! :slash, 47
|
|
146
|
+
key! :windows, 1073742051
|
|
147
|
+
key! :context, 1073741925
|
|
148
|
+
key! :play, 1073742085
|
|
149
|
+
key! :mute, 1073741951
|
|
150
|
+
key! :volume_down, 1073741953
|
|
151
|
+
key! :volume_up, 1073741952
|
|
152
|
+
key! :house, 1073742093
|
|
153
|
+
key! :mail, 1073742089
|
|
154
|
+
key! :calculator, 1073742108
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
mouse! do
|
|
158
|
+
button! :primary, 1
|
|
159
|
+
button! :secondary, 3
|
|
160
|
+
button! :scroll, 2
|
|
161
|
+
|
|
162
|
+
set_scroll_speed 1.0
|
|
163
|
+
set_scroll_speed_alt 0.5
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
joystick! do
|
|
167
|
+
button! :a, 0
|
|
168
|
+
button! :b, 1
|
|
169
|
+
button! :x, 2
|
|
170
|
+
button! :y, 3
|
|
171
|
+
button! :l, 4
|
|
172
|
+
button! :r, 5
|
|
173
|
+
button! :f1, 6
|
|
174
|
+
button! :f2, 7
|
|
175
|
+
button! :f3, 8
|
|
176
|
+
button! :f4, 9
|
|
177
|
+
|
|
178
|
+
axis! :lx, 0
|
|
179
|
+
axis! :ly, 1
|
|
180
|
+
axis! :lz, 2
|
|
181
|
+
axis! :rx, 3
|
|
182
|
+
axis! :ry, 4
|
|
183
|
+
axis! :rz, 5
|
|
184
|
+
|
|
185
|
+
hat! :hat, 0 do
|
|
186
|
+
state! :c, 0
|
|
187
|
+
state! :t, 1
|
|
188
|
+
state! :r, 2
|
|
189
|
+
state! :tr, 3
|
|
190
|
+
state! :b, 4
|
|
191
|
+
state! :br, 6
|
|
192
|
+
state! :l, 8
|
|
193
|
+
state! :bl, 12
|
|
194
|
+
state! :tl, 9
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Thewolfkit glyphs
|
|
199
|
+
|
|
200
|
+
# Alternative dynamic loading:
|
|
201
|
+
# base = "#{dir}/stuff/glyph"
|
|
202
|
+
# Dir["*.svg", base: base].each do |file|
|
|
203
|
+
# glyph! file[..-17].tr("-", "_").to_sym, "#{base}/#{file}"
|
|
204
|
+
# # puts "glyph! :#{file[..-17].tr("-", "_")}, \"\#{dir}/stuff/glyph/#{file}\""
|
|
205
|
+
# end
|
|
206
|
+
|
|
207
|
+
glyph! :alert_circle, "#{dir}/stuff/glyph/alert-circle-svgrepo-com.svg"
|
|
208
|
+
glyph! :alert_triangle, "#{dir}/stuff/glyph/alert-triangle-svgrepo-com.svg"
|
|
209
|
+
glyph! :archivebox, "#{dir}/stuff/glyph/archivebox-svgrepo-com.svg"
|
|
210
|
+
glyph! :arrow_2_ccw, "#{dir}/stuff/glyph/arrow-2-ccw-svgrepo-com.svg"
|
|
211
|
+
glyph! :arrow_2_cw, "#{dir}/stuff/glyph/arrow-2-cw-svgrepo-com.svg"
|
|
212
|
+
glyph! :arrow_2_rectangle_path, "#{dir}/stuff/glyph/arrow-2-rectangle-path-svgrepo-com.svg"
|
|
213
|
+
glyph! :arrow_4_way, "#{dir}/stuff/glyph/arrow-4-way-svgrepo-com.svg"
|
|
214
|
+
glyph! :arrow_ccw, "#{dir}/stuff/glyph/arrow-ccw-svgrepo-com.svg"
|
|
215
|
+
glyph! :arrow_circle_down, "#{dir}/stuff/glyph/arrow-circle-down-svgrepo-com.svg"
|
|
216
|
+
glyph! :arrow_circle_left, "#{dir}/stuff/glyph/arrow-circle-left-svgrepo-com.svg"
|
|
217
|
+
glyph! :arrow_circle_right, "#{dir}/stuff/glyph/arrow-circle-right-svgrepo-com.svg"
|
|
218
|
+
glyph! :arrow_circle_up, "#{dir}/stuff/glyph/arrow-circle-up-svgrepo-com.svg"
|
|
219
|
+
glyph! :arrow_cw, "#{dir}/stuff/glyph/arrow-cw-svgrepo-com.svg"
|
|
220
|
+
glyph! :arrow_down, "#{dir}/stuff/glyph/arrow-down-svgrepo-com.svg"
|
|
221
|
+
glyph! :arrow_from_line_down, "#{dir}/stuff/glyph/arrow-from-line-down-svgrepo-com.svg"
|
|
222
|
+
glyph! :arrow_from_line_left, "#{dir}/stuff/glyph/arrow-from-line-left-svgrepo-com.svg"
|
|
223
|
+
glyph! :arrow_from_line_right, "#{dir}/stuff/glyph/arrow-from-line-right-svgrepo-com.svg"
|
|
224
|
+
glyph! :arrow_from_line_up, "#{dir}/stuff/glyph/arrow-from-line-up-svgrepo-com.svg"
|
|
225
|
+
glyph! :arrow_from_shape_right, "#{dir}/stuff/glyph/arrow-from-shape-right-svgrepo-com.svg"
|
|
226
|
+
glyph! :arrow_from_shape_up, "#{dir}/stuff/glyph/arrow-from-shape-up-svgrepo-com.svg"
|
|
227
|
+
glyph! :arrow_left, "#{dir}/stuff/glyph/arrow-left-svgrepo-com.svg"
|
|
228
|
+
glyph! :arrow_right_arrow_left, "#{dir}/stuff/glyph/arrow-right-arrow-left-svgrepo-com.svg"
|
|
229
|
+
glyph! :arrow_right, "#{dir}/stuff/glyph/arrow-right-svgrepo-com.svg"
|
|
230
|
+
glyph! :arrow_shape_turn_left, "#{dir}/stuff/glyph/arrow-shape-turn-left-svgrepo-com.svg"
|
|
231
|
+
glyph! :arrow_shape_turn_right, "#{dir}/stuff/glyph/arrow-shape-turn-right-svgrepo-com.svg"
|
|
232
|
+
glyph! :arrow_small_down, "#{dir}/stuff/glyph/arrow-small-down-svgrepo-com.svg"
|
|
233
|
+
glyph! :arrow_small_left, "#{dir}/stuff/glyph/arrow-small-left-svgrepo-com.svg"
|
|
234
|
+
glyph! :arrow_small_right, "#{dir}/stuff/glyph/arrow-small-right-svgrepo-com.svg"
|
|
235
|
+
glyph! :arrow_small_up, "#{dir}/stuff/glyph/arrow-small-up-svgrepo-com.svg"
|
|
236
|
+
glyph! :arrow_thin_down, "#{dir}/stuff/glyph/arrow-thin-down-svgrepo-com.svg"
|
|
237
|
+
glyph! :arrow_thin_left, "#{dir}/stuff/glyph/arrow-thin-left-svgrepo-com.svg"
|
|
238
|
+
glyph! :arrow_thin_right, "#{dir}/stuff/glyph/arrow-thin-right-svgrepo-com.svg"
|
|
239
|
+
glyph! :arrow_thin_up, "#{dir}/stuff/glyph/arrow-thin-up-svgrepo-com.svg"
|
|
240
|
+
glyph! :arrow_to_line_down, "#{dir}/stuff/glyph/arrow-to-line-down-svgrepo-com.svg"
|
|
241
|
+
glyph! :arrow_to_line_left, "#{dir}/stuff/glyph/arrow-to-line-left-svgrepo-com.svg"
|
|
242
|
+
glyph! :arrow_to_line_right, "#{dir}/stuff/glyph/arrow-to-line-right-svgrepo-com.svg"
|
|
243
|
+
glyph! :arrow_to_line_up, "#{dir}/stuff/glyph/arrow-to-line-up-svgrepo-com.svg"
|
|
244
|
+
glyph! :arrow_to_shape_down, "#{dir}/stuff/glyph/arrow-to-shape-down-svgrepo-com.svg"
|
|
245
|
+
glyph! :arrow_to_shape_right, "#{dir}/stuff/glyph/arrow-to-shape-right-svgrepo-com.svg"
|
|
246
|
+
glyph! :arrow_trend_down, "#{dir}/stuff/glyph/arrow-trend-down-svgrepo-com.svg"
|
|
247
|
+
glyph! :arrow_trend_up, "#{dir}/stuff/glyph/arrow-trend-up-svgrepo-com.svg"
|
|
248
|
+
glyph! :arrow_turn_down_left, "#{dir}/stuff/glyph/arrow-turn-down-left-svgrepo-com.svg"
|
|
249
|
+
glyph! :arrow_turn_down_right, "#{dir}/stuff/glyph/arrow-turn-down-right-svgrepo-com.svg"
|
|
250
|
+
glyph! :arrow_turn_left_down, "#{dir}/stuff/glyph/arrow-turn-left-down-svgrepo-com.svg"
|
|
251
|
+
glyph! :arrow_turn_left_up, "#{dir}/stuff/glyph/arrow-turn-left-up-svgrepo-com.svg"
|
|
252
|
+
glyph! :arrow_turn_right_down, "#{dir}/stuff/glyph/arrow-turn-right-down-svgrepo-com.svg"
|
|
253
|
+
glyph! :arrow_turn_right_up, "#{dir}/stuff/glyph/arrow-turn-right-up-svgrepo-com.svg"
|
|
254
|
+
glyph! :arrow_turn_up_left, "#{dir}/stuff/glyph/arrow-turn-up-left-svgrepo-com.svg"
|
|
255
|
+
glyph! :arrow_turn_up_right, "#{dir}/stuff/glyph/arrow-turn-up-right-svgrepo-com.svg"
|
|
256
|
+
glyph! :arrow_up_arrow_down, "#{dir}/stuff/glyph/arrow-up-arrow-down-svgrepo-com.svg"
|
|
257
|
+
glyph! :arrow_up, "#{dir}/stuff/glyph/arrow-up-svgrepo-com.svg"
|
|
258
|
+
glyph! :at_sign, "#{dir}/stuff/glyph/at-sign-svgrepo-com.svg"
|
|
259
|
+
glyph! :bag, "#{dir}/stuff/glyph/bag-svgrepo-com.svg"
|
|
260
|
+
glyph! :bell_slash, "#{dir}/stuff/glyph/bell-slash-svgrepo-com.svg"
|
|
261
|
+
glyph! :bell, "#{dir}/stuff/glyph/bell-svgrepo-com.svg"
|
|
262
|
+
glyph! :book_open, "#{dir}/stuff/glyph/book-open-svgrepo-com.svg"
|
|
263
|
+
glyph! :bookmark, "#{dir}/stuff/glyph/bookmark-svgrepo-com.svg"
|
|
264
|
+
glyph! :box, "#{dir}/stuff/glyph/box-svgrepo-com.svg"
|
|
265
|
+
glyph! :calendar, "#{dir}/stuff/glyph/calendar-svgrepo-com.svg"
|
|
266
|
+
glyph! :camera, "#{dir}/stuff/glyph/camera-svgrepo-com.svg"
|
|
267
|
+
glyph! :caret_down, "#{dir}/stuff/glyph/caret-down-svgrepo-com.svg"
|
|
268
|
+
glyph! :caret_left, "#{dir}/stuff/glyph/caret-left-svgrepo-com.svg"
|
|
269
|
+
glyph! :caret_right, "#{dir}/stuff/glyph/caret-right-svgrepo-com.svg"
|
|
270
|
+
glyph! :caret_up, "#{dir}/stuff/glyph/caret-up-svgrepo-com.svg"
|
|
271
|
+
glyph! :cart, "#{dir}/stuff/glyph/cart-svgrepo-com.svg"
|
|
272
|
+
glyph! :chart_pie, "#{dir}/stuff/glyph/chart-pie-svgrepo-com.svg"
|
|
273
|
+
glyph! :chartbar_2, "#{dir}/stuff/glyph/chartbar-2-svgrepo-com.svg"
|
|
274
|
+
glyph! :chartbar, "#{dir}/stuff/glyph/chartbar-svgrepo-com.svg"
|
|
275
|
+
glyph! :checkmark_circle, "#{dir}/stuff/glyph/checkmark-circle-svgrepo-com.svg"
|
|
276
|
+
glyph! :checkmark_double, "#{dir}/stuff/glyph/checkmark-double-svgrepo-com.svg"
|
|
277
|
+
glyph! :checkmark_square, "#{dir}/stuff/glyph/checkmark-square-svgrepo-com.svg"
|
|
278
|
+
glyph! :checkmark, "#{dir}/stuff/glyph/checkmark-svgrepo-com.svg"
|
|
279
|
+
glyph! :chevron_down, "#{dir}/stuff/glyph/chevron-down-svgrepo-com.svg"
|
|
280
|
+
glyph! :chevron_left_chevron_right, "#{dir}/stuff/glyph/chevron-left-chevron-right-svgrepo-com.svg"
|
|
281
|
+
glyph! :chevron_left, "#{dir}/stuff/glyph/chevron-left-svgrepo-com.svg"
|
|
282
|
+
glyph! :chevron_right, "#{dir}/stuff/glyph/chevron-right-svgrepo-com.svg"
|
|
283
|
+
glyph! :chevron_small_down, "#{dir}/stuff/glyph/chevron-small-down-svgrepo-com.svg"
|
|
284
|
+
glyph! :chevron_small_left, "#{dir}/stuff/glyph/chevron-small-left-svgrepo-com.svg"
|
|
285
|
+
glyph! :chevron_small_right, "#{dir}/stuff/glyph/chevron-small-right-svgrepo-com.svg"
|
|
286
|
+
glyph! :chevron_small_up, "#{dir}/stuff/glyph/chevron-small-up-svgrepo-com.svg"
|
|
287
|
+
glyph! :chevron_up_chevron_down, "#{dir}/stuff/glyph/chevron-up-chevron-down-svgrepo-com.svg"
|
|
288
|
+
glyph! :chevron_up, "#{dir}/stuff/glyph/chevron-up-svgrepo-com.svg"
|
|
289
|
+
glyph! :clock, "#{dir}/stuff/glyph/clock-svgrepo-com.svg"
|
|
290
|
+
glyph! :cloud_arrow_up, "#{dir}/stuff/glyph/cloud-arrow-up-svgrepo-com.svg"
|
|
291
|
+
glyph! :cloud_download, "#{dir}/stuff/glyph/cloud-download-svgrepo-com.svg"
|
|
292
|
+
glyph! :cloud_slash, "#{dir}/stuff/glyph/cloud-slash-svgrepo-com.svg"
|
|
293
|
+
glyph! :cloud, "#{dir}/stuff/glyph/cloud-svgrepo-com.svg"
|
|
294
|
+
glyph! :columns, "#{dir}/stuff/glyph/columns-svgrepo-com.svg"
|
|
295
|
+
glyph! :command, "#{dir}/stuff/glyph/command-svgrepo-com.svg"
|
|
296
|
+
glyph! :compass, "#{dir}/stuff/glyph/compass-svgrepo-com.svg"
|
|
297
|
+
glyph! :credit_card, "#{dir}/stuff/glyph/credit-card-svgrepo-com.svg"
|
|
298
|
+
glyph! :crop, "#{dir}/stuff/glyph/crop-svgrepo-com.svg"
|
|
299
|
+
glyph! :crown, "#{dir}/stuff/glyph/crown-svgrepo-com.svg"
|
|
300
|
+
glyph! :delete_left, "#{dir}/stuff/glyph/delete-left-svgrepo-com.svg"
|
|
301
|
+
glyph! :device_desktop, "#{dir}/stuff/glyph/device-desktop-svgrepo-com.svg"
|
|
302
|
+
glyph! :device_mobile, "#{dir}/stuff/glyph/device-mobile-svgrepo-com.svg"
|
|
303
|
+
glyph! :device_tablet, "#{dir}/stuff/glyph/device-tablet-svgrepo-com.svg"
|
|
304
|
+
glyph! :doc, "#{dir}/stuff/glyph/doc-svgrepo-com.svg"
|
|
305
|
+
glyph! :dot_small, "#{dir}/stuff/glyph/dot-small-svgrepo-com.svg"
|
|
306
|
+
glyph! :dots_3_horizontal, "#{dir}/stuff/glyph/dots-3-horizontal-svgrepo-com.svg"
|
|
307
|
+
glyph! :dots_3_vertical, "#{dir}/stuff/glyph/dots-3-vertical-svgrepo-com.svg"
|
|
308
|
+
glyph! :dots_6_horizontal, "#{dir}/stuff/glyph/dots-6-horizontal-svgrepo-com.svg"
|
|
309
|
+
glyph! :dots_6_vertical, "#{dir}/stuff/glyph/dots-6-vertical-svgrepo-com.svg"
|
|
310
|
+
glyph! :dots_9, "#{dir}/stuff/glyph/dots-9-svgrepo-com.svg"
|
|
311
|
+
glyph! :emoji_frown, "#{dir}/stuff/glyph/emoji-frown-svgrepo-com.svg"
|
|
312
|
+
glyph! :emoji_meh, "#{dir}/stuff/glyph/emoji-meh-svgrepo-com.svg"
|
|
313
|
+
glyph! :emoji_smile, "#{dir}/stuff/glyph/emoji-smile-svgrepo-com.svg"
|
|
314
|
+
glyph! :envelope, "#{dir}/stuff/glyph/envelope-svgrepo-com.svg"
|
|
315
|
+
glyph! :external_link, "#{dir}/stuff/glyph/external-link-svgrepo-com.svg"
|
|
316
|
+
glyph! :eye_slash, "#{dir}/stuff/glyph/eye-slash-svgrepo-com.svg"
|
|
317
|
+
glyph! :eye, "#{dir}/stuff/glyph/eye-svgrepo-com.svg"
|
|
318
|
+
glyph! :filter, "#{dir}/stuff/glyph/filter-svgrepo-com.svg"
|
|
319
|
+
glyph! :flame, "#{dir}/stuff/glyph/flame-svgrepo-com.svg"
|
|
320
|
+
glyph! :floppy_disk, "#{dir}/stuff/glyph/floppy-disk-svgrepo-com.svg"
|
|
321
|
+
glyph! :folder, "#{dir}/stuff/glyph/folder-svgrepo-com.svg"
|
|
322
|
+
glyph! :fullscreen_alt, "#{dir}/stuff/glyph/fullscreen-alt-svgrepo-com.svg"
|
|
323
|
+
glyph! :fullscreen_exit_alt, "#{dir}/stuff/glyph/fullscreen-exit-alt-svgrepo-com.svg"
|
|
324
|
+
glyph! :fullscreen_exit, "#{dir}/stuff/glyph/fullscreen-exit-svgrepo-com.svg"
|
|
325
|
+
glyph! :fullscreen, "#{dir}/stuff/glyph/fullscreen-svgrepo-com.svg"
|
|
326
|
+
glyph! :gear, "#{dir}/stuff/glyph/gear-svgrepo-com.svg"
|
|
327
|
+
glyph! :giftbox, "#{dir}/stuff/glyph/giftbox-svgrepo-com.svg"
|
|
328
|
+
glyph! :half_star, "#{dir}/stuff/glyph/half-star-svgrepo-com.svg"
|
|
329
|
+
glyph! :hashtag, "#{dir}/stuff/glyph/hashtag-svgrepo-com.svg"
|
|
330
|
+
glyph! :headphones, "#{dir}/stuff/glyph/headphones-svgrepo-com.svg"
|
|
331
|
+
glyph! :heart_half, "#{dir}/stuff/glyph/heart-half-svgrepo-com.svg"
|
|
332
|
+
glyph! :heart, "#{dir}/stuff/glyph/heart-svgrepo-com.svg"
|
|
333
|
+
glyph! :house, "#{dir}/stuff/glyph/house-svgrepo-com.svg"
|
|
334
|
+
glyph! :image, "#{dir}/stuff/glyph/image-svgrepo-com.svg"
|
|
335
|
+
glyph! :info_circle, "#{dir}/stuff/glyph/info-circle-svgrepo-com.svg"
|
|
336
|
+
glyph! :key, "#{dir}/stuff/glyph/key-svgrepo-com.svg"
|
|
337
|
+
glyph! :layers_3, "#{dir}/stuff/glyph/layers-3-svgrepo-com.svg"
|
|
338
|
+
glyph! :layout, "#{dir}/stuff/glyph/layout-svgrepo-com.svg"
|
|
339
|
+
glyph! :line_3, "#{dir}/stuff/glyph/line-3-svgrepo-com.svg"
|
|
340
|
+
glyph! :link_alt, "#{dir}/stuff/glyph/link-alt-svgrepo-com.svg"
|
|
341
|
+
glyph! :link, "#{dir}/stuff/glyph/link-svgrepo-com.svg"
|
|
342
|
+
glyph! :list_bullet, "#{dir}/stuff/glyph/list-bullet-svgrepo-com.svg"
|
|
343
|
+
glyph! :location, "#{dir}/stuff/glyph/location-svgrepo-com.svg"
|
|
344
|
+
glyph! :lock_open, "#{dir}/stuff/glyph/lock-open-svgrepo-com.svg"
|
|
345
|
+
glyph! :lock, "#{dir}/stuff/glyph/lock-svgrepo-com.svg"
|
|
346
|
+
glyph! :map_pin, "#{dir}/stuff/glyph/map-pin-svgrepo-com.svg"
|
|
347
|
+
glyph! :medal, "#{dir}/stuff/glyph/medal-svgrepo-com.svg"
|
|
348
|
+
glyph! :media_backward_end, "#{dir}/stuff/glyph/media-backward-end-svgrepo-com.svg"
|
|
349
|
+
glyph! :media_backward, "#{dir}/stuff/glyph/media-backward-svgrepo-com.svg"
|
|
350
|
+
glyph! :media_forward_end, "#{dir}/stuff/glyph/media-forward-end-svgrepo-com.svg"
|
|
351
|
+
glyph! :media_forward, "#{dir}/stuff/glyph/media-forward-svgrepo-com.svg"
|
|
352
|
+
glyph! :media_pause_circle, "#{dir}/stuff/glyph/media-pause-circle-svgrepo-com.svg"
|
|
353
|
+
glyph! :media_pause, "#{dir}/stuff/glyph/media-pause-svgrepo-com.svg"
|
|
354
|
+
glyph! :media_play_circle, "#{dir}/stuff/glyph/media-play-circle-svgrepo-com.svg"
|
|
355
|
+
glyph! :media_play, "#{dir}/stuff/glyph/media-play-svgrepo-com.svg"
|
|
356
|
+
glyph! :media_stop_circle, "#{dir}/stuff/glyph/media-stop-circle-svgrepo-com.svg"
|
|
357
|
+
glyph! :media_stop, "#{dir}/stuff/glyph/media-stop-svgrepo-com.svg"
|
|
358
|
+
glyph! :message_bubble_2, "#{dir}/stuff/glyph/message-bubble-2-svgrepo-com.svg"
|
|
359
|
+
glyph! :message_bubble, "#{dir}/stuff/glyph/message-bubble-svgrepo-com.svg"
|
|
360
|
+
glyph! :mic_slash, "#{dir}/stuff/glyph/mic-slash-svgrepo-com.svg"
|
|
361
|
+
glyph! :mic, "#{dir}/stuff/glyph/mic-svgrepo-com.svg"
|
|
362
|
+
glyph! :minus_circle, "#{dir}/stuff/glyph/minus-circle-svgrepo-com.svg"
|
|
363
|
+
glyph! :minus_square, "#{dir}/stuff/glyph/minus-square-svgrepo-com.svg"
|
|
364
|
+
glyph! :minus, "#{dir}/stuff/glyph/minus-svgrepo-com.svg"
|
|
365
|
+
glyph! :moon, "#{dir}/stuff/glyph/moon-svgrepo-com.svg"
|
|
366
|
+
glyph! :music_note, "#{dir}/stuff/glyph/music-note-svgrepo-com.svg"
|
|
367
|
+
glyph! :nosign, "#{dir}/stuff/glyph/nosign-svgrepo-com.svg"
|
|
368
|
+
glyph! :paper_clip, "#{dir}/stuff/glyph/paper-clip-svgrepo-com.svg"
|
|
369
|
+
glyph! :paper_plane, "#{dir}/stuff/glyph/paper-plane-svgrepo-com.svg"
|
|
370
|
+
glyph! :pen_tool, "#{dir}/stuff/glyph/pen-tool-svgrepo-com.svg"
|
|
371
|
+
glyph! :pencil, "#{dir}/stuff/glyph/pencil-svgrepo-com.svg"
|
|
372
|
+
glyph! :percent, "#{dir}/stuff/glyph/percent-svgrepo-com.svg"
|
|
373
|
+
glyph! :phone_incoming, "#{dir}/stuff/glyph/phone-incoming-svgrepo-com.svg"
|
|
374
|
+
glyph! :phone_missed, "#{dir}/stuff/glyph/phone-missed-svgrepo-com.svg"
|
|
375
|
+
glyph! :phone_outgoing, "#{dir}/stuff/glyph/phone-outgoing-svgrepo-com.svg"
|
|
376
|
+
glyph! :phone_slash, "#{dir}/stuff/glyph/phone-slash-svgrepo-com.svg"
|
|
377
|
+
glyph! :phone, "#{dir}/stuff/glyph/phone-svgrepo-com.svg"
|
|
378
|
+
glyph! :plus_circle, "#{dir}/stuff/glyph/plus-circle-svgrepo-com.svg"
|
|
379
|
+
glyph! :plus_square, "#{dir}/stuff/glyph/plus-square-svgrepo-com.svg"
|
|
380
|
+
glyph! :plus, "#{dir}/stuff/glyph/plus-svgrepo-com.svg"
|
|
381
|
+
glyph! :power, "#{dir}/stuff/glyph/power-svgrepo-com.svg"
|
|
382
|
+
glyph! :printer, "#{dir}/stuff/glyph/printer-svgrepo-com.svg"
|
|
383
|
+
glyph! :question_circle, "#{dir}/stuff/glyph/question-circle-svgrepo-com.svg"
|
|
384
|
+
glyph! :scissors, "#{dir}/stuff/glyph/scissors-svgrepo-com.svg"
|
|
385
|
+
glyph! :search, "#{dir}/stuff/glyph/search-svgrepo-com.svg"
|
|
386
|
+
glyph! :server, "#{dir}/stuff/glyph/server-svgrepo-com.svg"
|
|
387
|
+
glyph! :shape_circle, "#{dir}/stuff/glyph/shape-circle-svgrepo-com.svg"
|
|
388
|
+
glyph! :shape_rhombus, "#{dir}/stuff/glyph/shape-rhombus-svgrepo-com.svg"
|
|
389
|
+
glyph! :shape_square, "#{dir}/stuff/glyph/shape-square-svgrepo-com.svg"
|
|
390
|
+
glyph! :shape_triangle, "#{dir}/stuff/glyph/shape-triangle-svgrepo-com.svg"
|
|
391
|
+
glyph! :share, "#{dir}/stuff/glyph/share-svgrepo-com.svg"
|
|
392
|
+
glyph! :shield_slash, "#{dir}/stuff/glyph/shield-slash-svgrepo-com.svg"
|
|
393
|
+
glyph! :shield, "#{dir}/stuff/glyph/shield-svgrepo-com.svg"
|
|
394
|
+
glyph! :shippingbox, "#{dir}/stuff/glyph/shippingbox-svgrepo-com.svg"
|
|
395
|
+
glyph! :slider_3_horizontal, "#{dir}/stuff/glyph/slider-3-horizontal-svgrepo-com.svg"
|
|
396
|
+
glyph! :slider_3_vertical, "#{dir}/stuff/glyph/slider-3-vertical-svgrepo-com.svg"
|
|
397
|
+
glyph! :speaker, "#{dir}/stuff/glyph/speaker-svgrepo-com.svg"
|
|
398
|
+
glyph! :speaker_wave_1, "#{dir}/stuff/glyph/speaker-wave-1-svgrepo-com.svg"
|
|
399
|
+
glyph! :speaker_wave_2, "#{dir}/stuff/glyph/speaker-wave-2-svgrepo-com.svg"
|
|
400
|
+
glyph! :speaker_xmark, "#{dir}/stuff/glyph/speaker-xmark-svgrepo-com.svg"
|
|
401
|
+
glyph! :square_4_grid, "#{dir}/stuff/glyph/square-4-grid-svgrepo-com.svg"
|
|
402
|
+
glyph! :square_on_square, "#{dir}/stuff/glyph/square-on-square-svgrepo-com.svg"
|
|
403
|
+
glyph! :star, "#{dir}/stuff/glyph/star-svgrepo-com.svg"
|
|
404
|
+
glyph! :sun, "#{dir}/stuff/glyph/sun-svgrepo-com.svg"
|
|
405
|
+
glyph! :tag, "#{dir}/stuff/glyph/tag-svgrepo-com.svg"
|
|
406
|
+
glyph! :text_align_center, "#{dir}/stuff/glyph/text-align-center-svgrepo-com.svg"
|
|
407
|
+
glyph! :text_align_justify, "#{dir}/stuff/glyph/text-align-justify-svgrepo-com.svg"
|
|
408
|
+
glyph! :text_align_left, "#{dir}/stuff/glyph/text-align-left-svgrepo-com.svg"
|
|
409
|
+
glyph! :text_align_right, "#{dir}/stuff/glyph/text-align-right-svgrepo-com.svg"
|
|
410
|
+
glyph! :text_bold, "#{dir}/stuff/glyph/text-bold-svgrepo-com.svg"
|
|
411
|
+
glyph! :text_heading, "#{dir}/stuff/glyph/text-heading-svgrepo-com.svg"
|
|
412
|
+
glyph! :text_italic, "#{dir}/stuff/glyph/text-italic-svgrepo-com.svg"
|
|
413
|
+
glyph! :text, "#{dir}/stuff/glyph/text-svgrepo-com.svg"
|
|
414
|
+
glyph! :text_underline, "#{dir}/stuff/glyph/text-underline-svgrepo-com.svg"
|
|
415
|
+
glyph! :thumbs_down, "#{dir}/stuff/glyph/thumbs-down-svgrepo-com.svg"
|
|
416
|
+
glyph! :thumbs_up, "#{dir}/stuff/glyph/thumbs-up-svgrepo-com.svg"
|
|
417
|
+
glyph! :trash, "#{dir}/stuff/glyph/trash-svgrepo-com.svg"
|
|
418
|
+
glyph! :tray, "#{dir}/stuff/glyph/tray-svgrepo-com.svg"
|
|
419
|
+
glyph! :umbrela, "#{dir}/stuff/glyph/umbrela-svgrepo-com.svg"
|
|
420
|
+
glyph! :user, "#{dir}/stuff/glyph/user-svgrepo-com.svg"
|
|
421
|
+
glyph! :users, "#{dir}/stuff/glyph/users-svgrepo-com.svg"
|
|
422
|
+
glyph! :video, "#{dir}/stuff/glyph/video-svgrepo-com.svg"
|
|
423
|
+
glyph! :waveform_ecg, "#{dir}/stuff/glyph/waveform-ecg-svgrepo-com.svg"
|
|
424
|
+
glyph! :wi_fi, "#{dir}/stuff/glyph/wi-fi-svgrepo-com.svg"
|
|
425
|
+
glyph! :xmark_circle, "#{dir}/stuff/glyph/xmark-circle-svgrepo-com.svg"
|
|
426
|
+
glyph! :xmark_small, "#{dir}/stuff/glyph/xmark-small-svgrepo-com.svg"
|
|
427
|
+
glyph! :xmark, "#{dir}/stuff/glyph/xmark-svgrepo-com.svg"
|
|
428
|
+
glyph! :zap, "#{dir}/stuff/glyph/zap-svgrepo-com.svg"
|
|
429
|
+
glyph! :zoom_in, "#{dir}/stuff/glyph/zoom-in-svgrepo-com.svg"
|
|
430
|
+
glyph! :zoom_out, "#{dir}/stuff/glyph/zoom-out-svgrepo-com.svg"
|
|
431
|
+
end
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# This is pads config loaded by default.
|
|
2
|
+
#
|
|
3
|
+
# If you don't want to load the default configuration, you can set the path to your own:
|
|
4
|
+
#
|
|
5
|
+
# require 'kredki/setup'
|
|
6
|
+
# Kredki.pads_config = './cutom_pads_config.rb'
|
|
7
|
+
# require 'kredki'
|
|
8
|
+
# ...
|
|
9
|
+
# This way 'custom_pads_config.rb' will be loaded instead of the current file.
|
|
10
|
+
|
|
11
|
+
require 'kredki/pads/pad/space_pad'
|
|
12
|
+
require 'kredki/pads/pad/picture_pad'
|
|
13
|
+
require 'kredki/pads/pad/glyph_pad'
|
|
14
|
+
require 'kredki/pads/pad/text_pad'
|
|
15
|
+
require 'kredki/pads/pad/animation_pad'
|
|
16
|
+
require 'kredki/pads/slider/slider'
|
|
17
|
+
require 'kredki/pads/slider/slider_x'
|
|
18
|
+
require 'kredki/pads/slider/slider_y'
|
|
19
|
+
require 'kredki/pads/pad/scroll_pad'
|
|
20
|
+
require 'kredki/pads/text/navigable_text_pad'
|
|
21
|
+
require 'kredki/pads/note'
|
|
22
|
+
require 'kredki/pads/notes'
|
|
23
|
+
require 'kredki/pads/button'
|
|
24
|
+
require 'kredki/pads/checkbox/checkbox'
|
|
25
|
+
require 'kredki/pads/radio/group'
|
|
26
|
+
require 'kredki/pads/label'
|
|
27
|
+
require 'kredki/pads/option/option'
|
|
28
|
+
require 'kredki/pads/table/pad'
|
|
29
|
+
require 'kredki/pads/list/pad'
|
|
30
|
+
require 'kredki/pads/list/tree/pad'
|
|
31
|
+
require 'kredki/pads/context/menu'
|
|
32
|
+
require 'kredki/pads/toolbar/pad'
|
|
33
|
+
|
|
34
|
+
module Kredki
|
|
35
|
+
|
|
36
|
+
color! :stroke_focus, 255, 255, 255, 255
|
|
37
|
+
color! :text_selection, 80, 90, 122, 255
|
|
38
|
+
color! :text_selection_inactive, 70, 80, 92, 155
|
|
39
|
+
color! :text, 255, 255, 255, 255
|
|
40
|
+
|
|
41
|
+
module Pads
|
|
42
|
+
class Pad
|
|
43
|
+
|
|
44
|
+
rectangle! RectanglePad
|
|
45
|
+
def ellipse! ...
|
|
46
|
+
put(ShapePad, __method__, ...).set do
|
|
47
|
+
set_area do |sx, sy|
|
|
48
|
+
ellipse sx, sy
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
def shape! *a, **ka, &b
|
|
53
|
+
put ShapePad, __method__, *a, **ka do
|
|
54
|
+
set_area &b
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
pad! RectanglePad
|
|
59
|
+
space! SpacePad
|
|
60
|
+
scroll! ScrollPad
|
|
61
|
+
picture! PicturePad
|
|
62
|
+
animation! AnimationPad
|
|
63
|
+
def text! *a, **ka, &b
|
|
64
|
+
put NavigableTextPad, __method__, *a, keyboardy: true, **ka, &b
|
|
65
|
+
end
|
|
66
|
+
glyph! GlyphPad
|
|
67
|
+
slider_x! SliderX
|
|
68
|
+
slider_y! SliderY
|
|
69
|
+
button! Button
|
|
70
|
+
checkbox! Checkbox
|
|
71
|
+
note! Note
|
|
72
|
+
notes! Notes
|
|
73
|
+
label! Label
|
|
74
|
+
option! Option
|
|
75
|
+
table! Table::Pad
|
|
76
|
+
list! List::Pad
|
|
77
|
+
tree! Tree::Pad
|
|
78
|
+
radio! Radio::Group
|
|
79
|
+
context_menu! Context::Menu
|
|
80
|
+
toolbar! Toolbar::Pad
|
|
81
|
+
|
|
82
|
+
Pads.layout! nil, Layout::Align.new(Center, Center)
|
|
83
|
+
[Start, Center, End].repeated_permutation 2 do |a, b|
|
|
84
|
+
x = "x#{a.to_s[0]}#{b.to_s[0]}".to_sym
|
|
85
|
+
y = "y#{a.to_s[0]}#{b.to_s[0]}".to_sym
|
|
86
|
+
z = "z#{a.to_s[0]}#{b.to_s[0]}".to_sym
|
|
87
|
+
Pads.layout! x, Layout::XWay.new(a, b)
|
|
88
|
+
Pads.layout! y, Layout::YWay.new(a, b)
|
|
89
|
+
Pads.layout! z, Layout::Align.new(a, b)
|
|
90
|
+
|
|
91
|
+
eval <<~RUBY
|
|
92
|
+
def #{x}! *a, **ka, &b
|
|
93
|
+
put SpacePad, __method__, *a, layout: :#{x}, **ka, &b
|
|
94
|
+
end
|
|
95
|
+
def #{y}! *a, **ka, &b
|
|
96
|
+
put SpacePad, __method__, *a, layout: :#{y}, **ka, &b
|
|
97
|
+
end
|
|
98
|
+
def #{z}! *a, **ka, &b
|
|
99
|
+
put SpacePad, __method__, *a, layout: :#{z}, **ka, &b
|
|
100
|
+
end
|
|
101
|
+
RUBY
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
def service! *a, **ka, &b
|
|
105
|
+
put(Class.new(Service, &b), __method__, *a, **ka)
|
|
106
|
+
end
|
|
107
|
+
end#Pad
|
|
108
|
+
end#Pads
|
|
109
|
+
|
|
110
|
+
Kredki.app = Pads::Application
|
|
111
|
+
end#Kredki
|
data/stuff/dll/SDL3.dll
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM10.0586 6.05547C10.0268 5.48227 10.483 5 11.0571 5H12.9429C13.517 5 13.9732 5.48227 13.9414 6.05547L13.5525 13.0555C13.523 13.5854 13.0847 14 12.554 14H11.446C10.9153 14 10.477 13.5854 10.4475 13.0555L10.0586 6.05547ZM14 17C14 18.1046 13.1046 19 12 19C10.8954 19 10 18.1046 10 17C10 15.8954 10.8954 15 12 15C13.1046 15 14 15.8954 14 17Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
|
|
3
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<g clip-path="url(#clip0_949_22799)">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.82664 2.22902C10.7938 0.590326 13.2063 0.590325 14.1735 2.22902L23.6599 18.3024C24.6578 19.9933 23.3638 22 21.4865 22H2.51362C0.63634 22 -0.657696 19.9933 0.340215 18.3024L9.82664 2.22902ZM10.0586 7.05547C10.0268 6.48227 10.483 6 11.0571 6H12.9429C13.517 6 13.9732 6.48227 13.9414 7.05547L13.5525 14.0555C13.523 14.5854 13.0847 15 12.554 15H11.446C10.9153 15 10.477 14.5854 10.4475 14.0555L10.0586 7.05547ZM14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z" fill="#000000"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_949_22799">
|
|
9
|
+
<rect width="24" height="24" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M0 3C0 2.44772 0.447715 2 1 2H23C23.5523 2 24 2.44772 24 3V5C24 5.55228 23.5523 6 23 6H1C0.447715 6 0 5.55228 0 5V3Z" fill="#000000"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 9C2 8.44772 2.44772 8 3 8H21C21.5523 8 22 8.44772 22 9V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V9ZM10 11C9.44771 11 9 11.4477 9 12C9 12.5523 9.44771 13 10 13H14C14.5523 13 15 12.5523 15 12C15 11.4477 14.5523 11 14 11H10Z" fill="#000000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M22.2792 9.84783C22.3919 10.3885 21.9912 10.8844 21.4423 10.9451L20.4484 11.0549C19.8994 11.1156 19.4119 10.7169 19.2785 10.1809C18.466 6.9183 15.5147 4.5 12.0003 4.5C10.4818 4.5 9.19277 5.08399 7.91239 6.03743C7.82444 6.10292 7.73743 6.16939 7.65122 6.23679L9.20733 7.79289C9.49332 8.07889 9.57888 8.50901 9.4241 8.88268C9.26932 9.25636 8.90468 9.5 8.50022 9.5H3.00022C2.44793 9.5 2.00022 9.05228 2.00022 8.5V3C2.00022 2.59554 2.24386 2.2309 2.61754 2.07612C2.99121 1.92134 3.42133 2.00689 3.70733 2.29289L5.51751 4.10308C5.71655 3.94027 5.91769 3.78239 6.12063 3.63127C7.71348 2.44515 9.62015 1.5 12.0003 1.5C17.062 1.5 21.2857 5.08059 22.2792 9.84783Z" fill="#000000"/>
|
|
4
|
+
<path d="M1.72121 14.1522C1.60853 13.6115 2.00919 13.1156 2.55813 13.0549L3.55208 12.9451C4.10102 12.8844 4.58852 13.2831 4.72198 13.8191C5.53445 17.0817 8.48575 19.5 12.0002 19.5C13.5186 19.5 14.8077 18.916 16.088 17.9626C16.176 17.8971 16.263 17.8306 16.3493 17.7632L14.7931 16.2071C14.5071 15.9211 14.4216 15.491 14.5764 15.1173C14.7311 14.7436 15.0958 14.5 15.5002 14.5H21.0002C21.5525 14.5 22.0002 14.9477 22.0002 15.5V21C22.0002 21.4044 21.7566 21.7691 21.3829 21.9239C21.0093 22.0786 20.5791 21.9931 20.2931 21.7071L18.483 19.8969C18.2839 20.0597 18.0828 20.2176 17.8798 20.3687C16.287 21.5549 14.3803 22.5 12.0002 22.5C6.93842 22.5 2.71476 18.9194 1.72121 14.1522Z" fill="#000000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M1.72121 9.84783C1.60853 10.3885 2.00919 10.8844 2.55813 10.9451L3.55208 11.0549C4.10102 11.1156 4.58852 10.7169 4.72198 10.1809C5.53445 6.9183 8.48575 4.5 12.0002 4.5C13.5186 4.5 14.8077 5.08399 16.088 6.03743C16.176 6.10293 16.263 6.1694 16.3492 6.2368L14.7931 7.79292C14.5071 8.07892 14.4216 8.50904 14.5763 8.88271C14.7311 9.25639 15.0958 9.50003 15.5002 9.50003H21.0002C21.5525 9.50003 22.0002 9.05231 22.0002 8.50003V3.00003C22.0002 2.59557 21.7566 2.23093 21.3829 2.07615C21.0092 1.92137 20.5791 2.00692 20.2931 2.29292L18.4829 4.10309C18.2839 3.94028 18.0828 3.78239 17.8798 3.63127C16.287 2.44515 14.3803 1.5 12.0002 1.5C6.93842 1.5 2.71476 5.08059 1.72121 9.84783Z" fill="#000000"/>
|
|
4
|
+
<path d="M22.2792 14.1522C22.3919 13.6115 21.9912 13.1156 21.4423 13.0549L20.4484 12.9451C19.8994 12.8844 19.4119 13.2831 19.2785 13.8191C18.466 17.0817 15.5147 19.5 12.0003 19.5C10.4818 19.5 9.19277 18.916 7.91239 17.9626C7.82443 17.8971 7.73741 17.8306 7.65119 17.7632L9.2073 16.2071C9.4933 15.9211 9.57885 15.491 9.42407 15.1173C9.26929 14.7436 8.90465 14.5 8.50019 14.5H3.00019C2.44791 14.5 2.00019 14.9477 2.00019 15.5V21C2.00019 21.4044 2.24383 21.7691 2.61751 21.9239C2.99118 22.0786 3.4213 21.9931 3.7073 21.7071L5.51748 19.8969C5.71653 20.0597 5.91768 20.2176 6.12063 20.3687C7.71348 21.5549 9.62015 22.5 12.0003 22.5C17.062 22.5 21.2857 18.9194 22.2792 14.1522Z" fill="#000000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M16.6173 10.9239C16.2436 10.7691 16 10.4045 16 10V7.5H7C6.33696 7.5 5.70107 7.76339 5.23223 8.23223C4.76339 8.70107 4.5 9.33696 4.5 10C4.5 10.5523 4.05228 11 3.5 11H2.5C1.94772 11 1.5 10.5523 1.5 10C1.5 8.54131 2.07946 7.14236 3.11091 6.11091C4.14236 5.07946 5.54131 4.5 7 4.5H16V2C16 1.59554 16.2436 1.2309 16.6173 1.07612C16.991 0.921338 17.4211 1.00689 17.7071 1.29289L21.7071 5.29289C22.0976 5.68342 22.0976 6.31658 21.7071 6.70711L17.7071 10.7071C17.4211 10.9931 16.991 11.0787 16.6173 10.9239Z" fill="#000000"/>
|
|
4
|
+
<path d="M7.38268 13.0761C7.75636 13.2309 8 13.5955 8 14V16.5H17C17.663 16.5 18.2989 16.2366 18.7678 15.7678C19.2366 15.2989 19.5 14.663 19.5 14C19.5 13.4477 19.9477 13 20.5 13H21.5C22.0523 13 22.5 13.4477 22.5 14C22.5 15.4587 21.9205 16.8576 20.8891 17.8891C19.8576 18.9205 18.4587 19.5 17 19.5H8V22C8 22.4045 7.75636 22.7691 7.38268 22.9239C7.00901 23.0787 6.57889 22.9931 6.29289 22.7071L2.29289 18.7071C1.90237 18.3166 1.90237 17.6834 2.29289 17.2929L6.29289 13.2929C6.57889 13.0069 7.00901 12.9213 7.38268 13.0761Z" fill="#000000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.07615 5.38268C8.23093 5.75636 8.59557 6 9.00003 6H10.5V10.5H6V9.00003C6 8.59557 5.75636 8.23093 5.38268 8.07615C5.00901 7.92137 4.57889 8.00692 4.29289 8.29292L1.29289 11.2929C0.902369 11.6834 0.902369 12.3166 1.29289 12.7071L4.29289 15.7071C4.57889 15.9931 5.00901 16.0787 5.38268 15.9239C5.75636 15.7691 6 15.4045 6 15V13.5H10.5V18H9.00003C8.59557 18 8.23093 18.2436 8.07615 18.6173C7.92137 18.991 8.00692 19.4211 8.29292 19.7071L11.2929 22.7071C11.6834 23.0976 12.3166 23.0976 12.7071 22.7071L15.7071 19.7071C15.9931 19.4211 16.0787 18.991 15.9239 18.6173C15.7691 18.2436 15.4045 18 15 18H13.5V13.5H18V15C18 15.4045 18.2436 15.7691 18.6173 15.9239C18.991 16.0787 19.4211 15.9931 19.7071 15.7071L22.7071 12.7071C23.0976 12.3166 23.0976 11.6834 22.7071 11.2929L19.7071 8.29292C19.4211 8.00692 18.991 7.92137 18.6173 8.07615C18.2436 8.23093 18 8.59557 18 9.00003V10.5H13.5V6H15C15.4045 6 15.7691 5.75636 15.9239 5.38268C16.0787 5.00901 15.9931 4.57889 15.7071 4.29289L12.7071 1.29289C12.3166 0.902369 11.6834 0.902369 11.2929 1.29289L8.29292 4.29289C8.00692 4.57889 7.92137 5.00901 8.07615 5.38268Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M7.62095 6.20695C8.81127 5.25458 10.2564 4.5 11.9998 4.5C16.1419 4.5 19.4998 7.85786 19.4998 12C19.4998 16.1421 16.1419 19.5 11.9998 19.5C8.74488 19.5 5.97175 17.4254 4.93515 14.5256C4.74925 14.0055 4.22477 13.6568 3.68448 13.7713L2.70621 13.9787C2.16592 14.0932 1.81614 14.6262 1.98184 15.1531C3.32107 19.4112 7.2982 22.5 11.9998 22.5C17.7987 22.5 22.4998 17.799 22.4998 12C22.4998 6.20101 17.7987 1.5 11.9998 1.5C9.21627 1.5 7.04815 2.76845 5.48857 4.07458L3.70689 2.29289C3.42089 2.00689 2.99077 1.92134 2.6171 2.07612C2.24342 2.2309 1.99978 2.59554 1.99978 3V8.5C1.99978 9.05228 2.4475 9.5 2.99978 9.5H8.49978C8.90424 9.5 9.26888 9.25636 9.42366 8.88268C9.57844 8.50901 9.49289 8.07889 9.20689 7.79289L7.62095 6.20695Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12ZM7.83335 12C7.4963 12 7.19244 12.2088 7.06346 12.5291C6.93447 12.8494 7.00577 13.2181 7.2441 13.4632L11.4107 17.7489C11.7362 18.0837 12.2638 18.0837 12.5893 17.7489L16.7559 13.4632C16.9942 13.2181 17.0655 12.8494 16.9365 12.5291C16.8076 12.2088 16.5037 12 16.1666 12H14V7C14 6.44771 13.5523 6 13 6H11C10.4477 6 10 6.44771 10 7V12H7.83335Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7.83335C12 7.4963 11.7912 7.19244 11.4709 7.06346C11.1506 6.93447 10.7819 7.00577 10.5368 7.2441L6.25105 11.4107C5.91632 11.7362 5.91632 12.2638 6.25105 12.5893L10.5368 16.7559C10.7819 16.9942 11.1506 17.0655 11.4709 16.9365C11.7912 16.8076 12 16.5037 12 16.1666V14H17C17.5523 14 18 13.5523 18 13V11C18 10.4477 17.5523 10 17 10H12V7.83335Z" fill="#000000"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM12 7.83335C12 7.4963 12.2088 7.19244 12.5291 7.06346C12.8494 6.93447 13.2181 7.00577 13.4632 7.2441L17.7489 11.4107C18.0837 11.7362 18.0837 12.2638 17.7489 12.5893L13.4632 16.7559C13.2181 16.9942 12.8494 17.0655 12.5291 16.9365C12.2088 16.8076 12 16.5037 12 16.1666V14H7C6.44771 14 6 13.5523 6 13V11C6 10.4477 6.44771 10 7 10H12V7.83335Z" fill="#000000"/>
|
|
4
|
+
</svg>
|