Initial checkin of Pika from heckimp

This commit is contained in:
2023-09-25 15:35:21 -07:00
commit 891e999216
6761 changed files with 5240685 additions and 0 deletions

64
etc/controllerrc Normal file
View File

@ -0,0 +1,64 @@
# PIKA controllerrc
(PikaControllerInfo "Main Mouse Wheel"
(enabled yes)
(debug-events no)
(controller "PikaControllerWheel")
(mapping
(map "scroll-up-alt" "tools-opacity-increase")
(map "scroll-down-alt" "tools-opacity-decrease")
(map "scroll-up-shift-primary" "tools-aspect-increase")
(map "scroll-down-shift-primary" "tools-aspect-decrease")
(map "scroll-up-shift-alt" "tools-angle-increase")
(map "scroll-down-shift-alt" "tools-angle-decrease")
(map "scroll-up-primary-alt" "tools-size-increase")
(map "scroll-down-primary-alt" "tools-size-decrease")
(map "scroll-up-shift-primary-alt" "tools-spacing-increase")
(map "scroll-down-shift-primary-alt" "tools-spacing-decrease")))
(PikaControllerInfo "Main Keyboard"
(enabled yes)
(debug-events no)
(controller "PikaControllerKeyboard")
(mapping
(map "cursor-up-shift" "view-scroll-page-up")
(map "cursor-down-shift" "view-scroll-page-down")
(map "cursor-left-shift" "view-scroll-page-left")
(map "cursor-right-shift" "view-scroll-page-right")
(map "cursor-up-primary" "view-scroll-top-border")
(map "cursor-down-primary" "view-scroll-bottom-border")
(map "cursor-left-primary" "view-scroll-left-border")
(map "cursor-right-primary" "view-scroll-right-border")
(map "cursor-up-alt" "tools-size-increase-skip")
(map "cursor-down-alt" "tools-size-decrease-skip")
(map "cursor-left-alt" "tools-size-decrease")
(map "cursor-right-alt" "tools-size-increase")))
# (PikaControllerInfo "Linux Input Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerLinuxInput"
# (device "/dev/input/event2"))
# (mapping
# (map "wheel-turn-left" "tools-value-2-decrease")
# (map "wheel-turn-right" "tools-value-2-increase")))
# (PikaControllerInfo "Midi Example"
# (enabled yes)
# (debug-events no)
# (controller "ControllerMidi"
# (device "/dev/midi01")
# (channel 0))
# (mapping
# (map "controller-000" "context-foreground-red-set")
# (map "controller-001" "context-foreground-green-set")
# (map "controller-002" "context-foreground-blue-set")
# (map "controller-004" "context-background-red-set")
# (map "controller-005" "context-background-green-set")
# (map "controller-006" "context-background-blue-set")
# (map "controller-008" "context-brush-radius-set")
# (map "controller-009" "context-brush-hardness-set")
# (map "controller-010" "context-brush-aspect-set")
# (map "controller-011" "context-brush-angle-set")))
# end of controllerrc

20
etc/meson.build Normal file
View File

@ -0,0 +1,20 @@
etcconf = configuration_data()
etcconf.set('mypaint_brushes_dir', mypaint_brushes_dir)
install_data(
[
'controllerrc',
configure_file(
input : 'pikarc.in',
output: 'pikarc',
configuration: etcconf,
),
'pika.css',
'sessionrc',
'templaterc',
'toolrc',
'unitrc',
],
install_dir: pikasysconfdir,
)

9
etc/pika.css Normal file
View File

@ -0,0 +1,9 @@
/* You can add your own PIKA-specific GTK styles here */
/* Adjust the size of previews in plug-in dialogs */
/*
PikaPreview {
-PikaPreview-size: 256;
}
*/

1171
etc/pikarc.in Normal file

File diff suppressed because it is too large Load Diff

85
etc/sessionrc Normal file
View File

@ -0,0 +1,85 @@
# PIKA sessionrc
#
# This file takes session-specific info (that is info, you want to keep
# between two PIKA sessions). You are not supposed to edit it manually, but
# of course you can do. The sessionrc will be entirely rewritten every time
# you quit PIKA. If this file isn't found, defaults are used.
(session-info "toplevel"
(factory-entry "pika-empty-image-window")
(position 200 100)
(size 640 480))
(session-info "toplevel"
(factory-entry "pika-single-image-window")
(position 0 0)
(size 800 600)
(open-on-exit)
(aux-info
(left-docks-width "188")
(right-docks-width "205")
(maximized "no"))
(pika-toolbox
(side left)
(book
(current-page 0)
(dockable "pika-tool-options"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-device-status"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-undo-history"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-image-list"
(tab-style automatic)
(aux-info
(show-button-bar "true")))))
(pika-dock
(side right)
(book
(current-page 0)
(dockable "pika-brush-grid"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-pattern-grid"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-font-list"
(tab-style automatic)
(aux-info
(show-button-bar "true")))
(dockable "pika-document-list"
(tab-style automatic)
(aux-info
(show-button-bar "true"))))
(book
(position 336)
(current-page 0)
(dockable "pika-layer-list"
(tab-style automatic)
(preview-size 32)
(aux-info
(show-button-bar "true")))
(dockable "pika-channel-list"
(tab-style automatic)
(preview-size 32)
(aux-info
(show-button-bar "true")))
(dockable "pika-vectors-list"
(tab-style automatic)
(preview-size 32)
(aux-info
(show-button-bar "true"))))))
(hide-docks no)
(single-window-mode yes)
(tabs-position 0)
(last-tip-shown 0)
# end of sessionrc

383
etc/templaterc Normal file
View File

@ -0,0 +1,383 @@
# PIKA templates
#
# A collection of image templates.
(PikaTemplate "A0 (300 ppi)"
(width 9933)
(height 14043)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A1 (300 ppi)"
(width 7016)
(height 9933)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A2 (300 ppi)"
(width 4960)
(height 7016)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A3 (300 ppi)"
(width 3508)
(height 4960)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A4 (300 ppi)"
(width 2480)
(height 3508)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A5 (300 ppi)"
(width 1748)
(height 2480)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A6 (300 ppi)"
(width 1240)
(height 1748)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "A7 (300 ppi)"
(width 874)
(height 1240)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "B4 (300 ppi)"
(width 2953)
(height 4169)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "B5 (300 ppi)"
(width 2079)
(height 2953)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "B5-Japan (300 ppi)"
(width 2150)
(height 3035)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "US Letter (300 ppi)"
(width 2550)
(height 3300)
(unit inches)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "US Legal (300 ppi)"
(width 2550)
(height 4200)
(unit inches)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "88.9×50.8 US Business Card"
(icon-name "pika-business-card")
(width 1050)
(height 600)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "85×55 Western Europe Business Card"
(icon-name "pika-business-card")
(width 1004)
(height 650)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "90×50 Eastern Europe Business Card"
(icon-name "pika-business-card")
(width 1063)
(height 591)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "90×55 Business Card (AU, IN etc.)"
(icon-name "pika-business-card")
(width 1063)
(height 650)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "87×49 Vistaprint Business Card"
(icon-name "pika-business-card")
(width 1028)
(height 579)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Toilet paper (US, 300 ppi)"
(icon-name "pika-toilet-paper")
(width 1350)
(height 1350)
(unit inches)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "CD cover (300 ppi)"
(icon-name "media-optical")
(width 1429)
(height 1417)
(unit millimeters)
(xresolution 300.000000)
(yresolution 300.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Web banner leaderboard 728x90"
(icon-name "pika-web")
(width 728)
(height 90)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Web banner large rectangle 336×280"
(icon-name "pika-web")
(width 336)
(height 280)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Web banner medium rectangle 300×250"
(icon-name "pika-web")
(width 300)
(height 250)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Web banner large mobile 320×100"
(icon-name "pika-web")
(width 320)
(height 100)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Web banner large skyscraper 300×600"
(icon-name "pika-web")
(width 300)
(height 600)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "1280×720 (HD 720p)"
(icon-name "pika-video")
(width 1280)
(height 720)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "1920×1080 (Full HD 1080p)"
(icon-name "pika-video")
(width 1920)
(height 1080)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "3840x2160 (4K UHD)"
(icon-name "pika-video")
(width 3840)
(height 2160)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "4096×2160 (Digital Cinema Initiatives 4K)"
(icon-name "pika-video")
(width 4096)
(height 2160)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "1366×768 HD"
(icon-name "pika-display")
(width 1366)
(height 768)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "1920×1200 WUXGA"
(icon-name "pika-display")
(width 1920)
(height 1200)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "2560x1600 WQXGA"
(icon-name "pika-display")
(width 2560)
(height 1600)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "3840×2160 4K UHD"
(icon-name "pika-display")
(width 3840)
(height 2160)
(unit pixels)
(xresolution 72.000000)
(yresolution 72.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Apple iPhone 6/7"
(icon-name "pika-smartphone")
(width 750)
(height 1334)
(unit millimeters)
(xresolution 326.000000)
(yresolution 326.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Apple iPhone 5"
(icon-name "pika-smartphone")
(width 640)
(height 1136)
(unit millimeters)
(xresolution 326.000000)
(yresolution 326.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Apple iPad 3&4, Air"
(icon-name "pika-smartphone")
(width 2048)
(height 2732)
(unit millimeters)
(xresolution 264.000000)
(yresolution 264.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Samsung Galaxy S6"
(icon-name "pika-smartphone")
(width 1440)
(height 2560)
(unit millimeters)
(xresolution 577.000000)
(yresolution 577.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Samsung Galaxy S5"
(icon-name "pika-smartphone")
(width 1080)
(height 1920)
(unit millimeters)
(xresolution 360.000000)
(yresolution 360.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
(PikaTemplate "Samsung Galaxy Tab 2&3 10,1 inch"
(icon-name "pika-smartphone")
(width 800)
(height 1280)
(unit millimeters)
(xresolution 149.000000)
(yresolution 149.000000)
(resolution-unit inches)
(image-type rgb)
(fill-type background))
# end of templates

185
etc/toolrc Normal file
View File

@ -0,0 +1,185 @@
# PIKA toolrc
(file-version 1)
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-move-tool")
(children
(PikaToolInfo "pika-move-tool"
(icon-name "pika-tool-move")
(visible yes))
(PikaToolInfo "pika-align-tool"
(icon-name "pika-tool-align")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-rect-select-tool")
(children
(PikaToolInfo "pika-rect-select-tool"
(icon-name "pika-tool-rect-select")
(visible yes))
(PikaToolInfo "pika-ellipse-select-tool"
(icon-name "pika-tool-ellipse-select")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-free-select-tool")
(children
(PikaToolInfo "pika-free-select-tool"
(icon-name "pika-tool-free-select")
(visible yes))
(PikaToolInfo "pika-iscissors-tool"
(icon-name "pika-tool-iscissors")
(visible yes))
(PikaToolInfo "pika-foreground-select-tool"
(icon-name "pika-tool-foreground-select")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-fuzzy-select-tool")
(children
(PikaToolInfo "pika-fuzzy-select-tool"
(icon-name "pika-tool-fuzzy-select")
(visible yes))
(PikaToolInfo "pika-by-color-select-tool"
(icon-name "pika-tool-by-color-select")
(visible yes))))
(PikaToolInfo "pika-crop-tool"
(icon-name "pika-tool-crop")
(visible yes))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-unified-transform-tool")
(children
(PikaToolInfo "pika-unified-transform-tool"
(icon-name "pika-tool-unified-transform")
(visible yes))
(PikaToolInfo "pika-rotate-tool"
(icon-name "pika-tool-rotate")
(visible yes))
(PikaToolInfo "pika-scale-tool"
(icon-name "pika-tool-scale")
(visible yes))
(PikaToolInfo "pika-shear-tool"
(icon-name "pika-tool-shear")
(visible yes))
(PikaToolInfo "pika-flip-tool"
(icon-name "pika-tool-flip")
(visible yes))
(PikaToolInfo "pika-perspective-tool"
(icon-name "pika-tool-perspective")
(visible yes))
(PikaToolInfo "pika-transform-3d-tool"
(icon-name "pika-tool-transform-3d")
(visible yes))
(PikaToolInfo "pika-handle-transform-tool"
(icon-name "pika-tool-handle-transform")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-warp-tool")
(children
(PikaToolInfo "pika-warp-tool"
(icon-name "pika-tool-warp")
(visible yes))
(PikaToolInfo "pika-cage-tool"
(icon-name "pika-tool-cage")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-bucket-fill-tool")
(children
(PikaToolInfo "pika-bucket-fill-tool"
(icon-name "pika-tool-bucket-fill")
(visible yes))
(PikaToolInfo "pika-gradient-tool"
(icon-name "pika-tool-gradient")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-paintbrush-tool")
(children
(PikaToolInfo "pika-paintbrush-tool"
(icon-name "pika-tool-paintbrush")
(visible yes))
(PikaToolInfo "pika-pencil-tool"
(icon-name "pika-tool-pencil")
(visible yes))
(PikaToolInfo "pika-airbrush-tool"
(icon-name "pika-tool-airbrush")
(visible yes))
(PikaToolInfo "pika-ink-tool"
(icon-name "pika-tool-ink")
(visible yes))
(PikaToolInfo "pika-mypaint-brush-tool"
(icon-name "pika-tool-mypaint-brush")
(visible yes))))
(PikaToolInfo "pika-eraser-tool"
(icon-name "pika-tool-eraser")
(visible yes))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-clone-tool")
(children
(PikaToolInfo "pika-clone-tool"
(icon-name "pika-tool-clone")
(visible yes))
(PikaToolInfo "pika-perspective-clone-tool"
(icon-name "pika-tool-perspective-clone")
(visible yes))
(PikaToolInfo "pika-heal-tool"
(icon-name "pika-tool-heal")
(visible yes))))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-smudge-tool")
(children
(PikaToolInfo "pika-smudge-tool"
(icon-name "pika-tool-smudge")
(visible yes))
(PikaToolInfo "pika-convolve-tool"
(icon-name "pika-tool-blur")
(visible yes))
(PikaToolInfo "pika-dodge-burn-tool"
(icon-name "pika-tool-dodge")
(visible yes))))
(PikaToolInfo "pika-vector-tool"
(icon-name "pika-tool-path")
(visible yes))
(PikaToolInfo "pika-text-tool"
(icon-name "pika-tool-text")
(visible yes))
(PikaToolGroup "tool group"
(visible yes)
(active-tool "pika-color-picker-tool")
(children
(PikaToolInfo "pika-color-picker-tool"
(icon-name "pika-tool-color-picker")
(visible yes))
(PikaToolInfo "pika-measure-tool"
(icon-name "pika-tool-measure")
(visible yes))))
(PikaToolInfo "pika-zoom-tool"
(icon-name "pika-tool-zoom")
(visible yes))
(PikaToolInfo "pika-brightness-contrast-tool"
(icon-name "pika-tool-brightness-contrast")
(visible no))
(PikaToolInfo "pika-threshold-tool"
(icon-name "pika-tool-threshold")
(visible no))
(PikaToolInfo "pika-levels-tool"
(icon-name "pika-tool-levels")
(visible no))
(PikaToolInfo "pika-curves-tool"
(icon-name "pika-tool-curves")
(visible no))
(PikaToolInfo "pika-offset-tool"
(icon-name "pika-tool-offset")
(visible no))
(PikaToolInfo "pika-gegl-tool"
(icon-name "pika-gegl")
(visible no))
# end of toolrc

54
etc/unitrc Normal file
View File

@ -0,0 +1,54 @@
# PIKA unitrc
# This file contains your user unit database. You can
# modify this list with the unit editor. You are not
# supposed to edit it manually, but of course you can do.
# This file will be entirely rewritten every time
# you quit PIKA.
(unit-info "centimeters"
(factor 2.540000)
(digits 2)
(symbol "cm")
(abbreviation "cm")
(singular "centimeter")
(plural "centimeters"))
(unit-info "meters"
(factor 0.025400)
(digits 4)
(symbol "m")
(abbreviation "m")
(singular "meter")
(plural "meters"))
(unit-info "feet"
(factor 0.083333)
(digits 4)
(symbol "'")
(abbreviation "ft")
(singular "foot")
(plural "feet"))
(unit-info "yards"
(factor 0.027778)
(digits 4)
(symbol "yd")
(abbreviation "yd")
(singular "yard")
(plural "yards"))
(unit-info "typogr. points"
(factor 72.270000)
(digits 0)
(symbol "tpt")
(abbreviation "tpt")
(singular "typogr. point")
(plural "typogr. points"))
(unit-info "typogr. picas"
(factor 6.022500)
(digits 1)
(symbol "tpc")
(abbreviation "tpc")
(singular "typogr. pica")
(plural "typogr. picas"))