• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    C
  • License
    GNU Lesser Genera...
  • Created almost 13 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

fork of uberpaint, a Deluxe Paint clone, patched for building on linux
----------------------------------------
                                      4P
             Pixel Pushing Paint Program

                             pre-release
                                   v0.12

                          Scott Lawrence
                        [email protected]

              http://www.umlautllama.com


----------------------------------------
                                OVERVIEW

This is a paint program... or at least it will be.  It will be a clone
of the Amiga version of the Electronic Arts' product, "Deluxe Paint",
written by Daniel Silva.  It will contain the functionality of Deluxe
Paint 2, and some of the functionality of Deluxe Paint 3.  There will
be more documentation for this as soon as it actually does something.


                      THIS IS A WORK IN PROGRESS!

        DO NOT EXPECT IT TO WORK, OR DO ANYTHING REMOTELY USEFUL!

                                                                  ...yet


----------------------------------------
                      KEYBOARD SHORTCUTS

Currently, the only way to interact with 4p is by using the keyboard 
shortcuts.  Here they are:


Toolbox Commands:

	key	action
	---	------
	a	Airbrush
	b	Brush Selector
	B	Restore last custom brush
	c	Unfilled circle
	C	Filled circle (buggy)
	d	Continuous Freehand Tool
	f	Flood Fill Tool
	K	Clear screen
	r	Unfilled Rectangle
	R	Filled Rectangle
	s	Dotted Freehand Tool
	t	Text
	u	Undo
	v	Straight Lines
	[ ]	Change foreground color
	{ }	Change background color
	,	Pick color Tool 
	.	One pixel brush, dotted freehand

Brush Commands:
	!	Matte drawing mode 	(shift-1)
	@	Color drawing mode 	(shift-2)
	#	Replace drawing mode 	(shift-3)

	h	Halve brush size
	H	Double brush size
	x	flip brush horizontally
	y	flip brush vertically
	z	rotate brush 90 degrees clockwise
	X	Double brush size horizontally
	Y	Double brush size vertically
	1	Switch to a circle brush
	2	Switch to a square brush
	3	Switch to a 3 point scatterbrush
	5	Switch to a 5 point scatterbrush
	- _	Decrease circle or square brush size
	+ =	Increase circle or square brush size

Special Keys:
	j	Spare Page
	J	Copy to Spare
	L	load in an Amiga ILBM IFF image file
	S	save out the current image as a 24 bit .ppm file
	q	strike twice to exit



----------------------------------------
                   NOTES ABOUT THE TOOLS

BRUSH TOOL  'b'
---------------
Select a region with the left mouse button to select it from the scene.
You can now draw with it.  If you select with the right mouse button,
that region is removed from the scene.

When you're using a custom brush (a brush you picked up using the 'b' tool,)
The three drawing modes come into play:

	Matte	- the color in the brush that was the same as the background
		  color when it was picked up is transparent.

	Color	- Same as Matte, but all colors in the brush are replaced
		  with the current foreground color.

	Replace	- The original image is used, intact, with no transparency.

Note, that when using the background color to draw with, Matte and Color
produce the same results.  this is intentional.

Also, once you create a custom brush, and you switch to the circle,
square, or 3/5 point scatterbrush, you can retrieve the last custom
brush you selected by hitting 'B'.


----------------------------------------
                            FILE FORMATS

4P will support IFF and PCX files natively.  It will also have various
file formats supported for exporting your image data.

Many file formats will be implemented as 'plug-ins', including PPM,
PNG, TIFF, JPG, GIF, and whatever else you want to implement.


----------------------------------------
                                   BUILD

Since this was developed exclusively using a video library which is
available for many platforms (Unux X, Linux console, Windows, BeOS,
Macintosh, etc) it should be easy to port to all of these platforms with
little effort.

The SDL library is available from http://www.libsdl.org


X-windows:  (Linux, SunOS)

    To build this, you should just have to type 'gmake'.  Be sure that you
    have the SDL development library properly installed on your system.
    4P has been built with libSDL version 1.2.1, and GCC version 3.3


Mac OS X:  (Macintosh)

    To build this, you will need the Mac OS X developers tools properly
    installed on your system.  Unzip this package (which you probably
    have already done) and just type 'make'.  It should build
    properly.  Project Builder is no longer required for the build
    process.

    4p has been built with 'cc' version 3.3 libSDL version 1.2.13
    under Macintosh OS X 10.3.9, 10.4, and 10.5.3

    (This is the current development environment.)


BeOS: (x86)

    You should be able to just type 'gmake' and it should build for you.
    This is untested, as I do not have BeOS installed on any machines 
    anymore. :(


AROS, AmigaDOS; (PPC, x86, 68k)

    These targets have worked in the past, but there are no explicit
    build rules defined for them currently.  If you can build it
    on one of these platforms, please let me know what was necessary
    to do so as far as procedure and toolset.  I would love to
    integrate your work back into the build process.


Other build environments:

    no information yet.



----------------------------------------
                             SUBPROJECTS

4p is built on top of a few other projects that are contained within
this source heirarchy.  

    JSUI  -  Jerry's simple user interface
	    Static dialog definitions, overridable widget calls,
	    basic graphics primitives (line, rectangle, circle, fill,
	    text, etc.) small footprint, intuitive, pretty looking.

    JIFF  -  Jerry's IFF library
	    Simple IFF Image loader/saver library, supporting most 
	    standard Amiga Image IFF block types.
	    
    JPNM  -  Jerry's PNM library
	    Simple PPM/PNM/PGM Image loader/saver library
	    (temporarily removed)


----------------------------------------
                                  ZARNOX

What is Zarnox?   Zarnox is the name of the internal font.  It is also
is the name of the dude on the webpage, introducing the program.  He is
from a Tom7 font called "Tombots", which is available from
http://fonts.tom7.com



----------------------------------------
                                  THANKS

Thanks go out to:

	Pat Stein 
		http://www.nklein.com

	Rob Reay

	and all of my LiveJournal friends 
		http://jerronimo.livejournal.com/friends

For putting up with my ranting and complaining about bugs and the like
when something finally worked... (And extra thanks to Pat for the flood
fill algorithm, and the snazzy makefile!)


----------------------------------------
                                 VERSION

The latest version of this should be available off of 

	http://umlautllama.com/projects

Be sure you're using the latest version.



----------------------------------------
                                 LICENSE


This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
USA

More Repositories

1

LS_COLORS

A collection of LS_COLORS definitions; needs your contribution!
Shell
1,987
star
2

ls--

ls on steroids
Perl
496
star
3

vidir

edit directory in $EDITOR (better than vim . with netrw)
Perl
173
star
4

zsh-syntax-highlighting-filetypes

zsh syntax highlighting with dircolors in realtime
Shell
147
star
5

configs

My ~/etc - configs, dotfiles
Vim Script
115
star
6

utils

Small useful utilities for everyday work
Perl
74
star
7

neverland-vim-theme

256 colors CLI and GUI. It doesn't suck.
Vim Script
66
star
8

win95-winxp_icons

default icons from win{95,98,2000,xp}
48
star
9

colorcoke

Change the extended (non-ANSI) color set. Generate tints and shades that can be applied in any range.
Shell
45
star
10

vimpoint

Damian Conway's presentation system, written in viml
39
star
11

vim-syntax-vidir-ls

dircolors in your vidir session
Vim Script
36
star
12

File-LsColor

Colorize input filenames just like ls(1) does
Perl
34
star
13

pimpd2

Perl Interface for the Music Player Daemon 2 | http://search.cpan.org/dist/App-Pimpd/
Perl
34
star
14

screenfo

Screenshot info tool
Perl
31
star
15

clipbored

Daemon that continuously collects all selections in Xorg's clipboard buffers and saves them in a plaintext file for later retrieval. Can be used with dmenu.
Perl
30
star
16

rmshit

Keep $HOME or other dir clean from unwanted tempfiles, configs and other crap you'll never use that's autocreated upon execution of bad behaving applications
Perl
26
star
17

ttycolor

Quickly switch colorscheme in the Linux Console / TTY
Perl
24
star
18

xkcd

View XKCD comics in your console
Perl
20
star
19

Term-ExtendedColor

Color screen output using extended escape sequences
Perl
17
star
20

pickyfont

Change your console/terminal font on the fly
Perl
17
star
21

Documentation

Docs and notes for Vim, Zsh, Git, Terminal emulators, Perl ... that I've either written or collected over time
Vim Script
17
star
22

vimcat

cat files in style with vim
Shell
14
star
23

hr

<hr> for your terminal; define a thematic change in content
Perl
13
star
24

pnfo

Vim NFO Viewer
Perl
12
star
25

id3shit

Less sucky commandline-based ID3-editor.
Perl
12
star
26

rmcd

Run mplayer as a daemon and control it remotely
Perl
10
star
27

Term-ExtendedColor-Xresources

Query and set various X resources
Perl
7
star
28

irc.vim

syntax file for irc logs
Vim Script
7
star
29

vim-after-syntax-vim

after/syntax/vim.vim
Vim Script
6
star
30

vim-extendedcolors

Highlight extended color name strings with their color (vim)
Vim Script
6
star
31

time-spent-in-vim

Vim wrapper collecting statistics of the usage; time spent per project/file
Perl
6
star
32

rxvt-unicode

urxvt fork with support for defining colors > 16 using X resources
C
5
star
33

colortest-256-ng

prints table of available colors or colorize arbitary input for terminals supporting 256 colors
Perl
5
star
34

vim-highlight-default-highlight-groups

Highlight all the default highlighting groups in Vim by matching the group's literal name and placing it in its group (colorscheme preview)
Vim Script
5
star
35

dzen-scripts

Various scripts for dzen2
Perl
4
star
36

re.pl

Read, Eval, Print, Loop with tabcompletion
Perl
4
star
37

n900

scripts controlling the n900
Shell
4
star
38

x11colors.vim

Highlight X11 color name strings with appropriate colors (vim, gvim)
Vim Script
4
star
39

RPD

Radio Playing Daemon - Daemon that plays radio streams, using Mplayer as the backend.
Perl
4
star
40

fileutils-color

basic file management utils with color
Perl
4
star
41

vim-after-syntax-perl

after/syntax/perl.vim
Vim Script
4
star
42

rgbterm

Show RGB values of defined terminal colors
Perl
4
star
43

vim-xclipboard

Yank text from Vim to the X clipboard transparently
Perl
4
star
44

pimpd

Perl Interface for the Music Player Daemon
Perl
3
star
45

currentline.vim

A Vim plugin that highlights the current line; like a marker pen
Vim Script
3
star
46

cgrep

grep with colors without the grep
Perl
3
star
47

accesstail

like tail -f, but prettier, for your access.log
Perl
3
star
48

sdorfehs-config

configuration and scripts for the sdorfehs window manager
Perl
3
star
49

vim-syntax-todo

Simple syntax file for TODO lists
Vim Script
3
star
50

sexpac

Makes the Archlinux package manager 'pacman' sexy. Well, at least her output.
Perl
3
star
51

vim

wim
C
2
star
52

ratpoison_hacks

hacks and utilities relevant for (c|r)atpoison
Perl
2
star
53

trapd00r.se

My personal site
Python
2
star
54

firefox-remote

Control Mozilla Firefox remotely
Perl
2
star
55

programmers_qwerty

Make characters often used in programming, Vim and the shell more accessible
Perl
2
star
56

themes

Random themes for applications / pages
CSS
2
star
57

matrix

C
2
star
58

beet2mpd

beets advanced queries -> mpd
Perl
2
star
59

apt-cache-search-color

ยท
Perl
2
star
60

makedist

make perl distribution making automatic
Perl
2
star
61

vim-syntax-ratpoison

An updated version of ratpoison.vim
Vim Script
2
star
62

pamixer

curses interface for pulseaudio, personal fork
Python
2
star
63

vim-formatprg

A collection of useful formatprg's for Vim
2
star
64

Term-ExtendedColor-TTY

Functions for changing and querying the TTY for various resources, such as colors
Perl
2
star
65

vimpager-perlmod

Use VIM as a PAGER. Custom syntax file for perldoc.
Vim Script
2
star
66

github-clone-all

clone all GITHUB_USER repos and gists in one go
Shell
2
star
67

pentadactyl-neverland

Neverland colorscheme for Pentadactyl
2
star
68

vim-syntax-github-recent

Vim syntax file for the Github (dashboard|recent) feed
Vim Script
2
star
69

windows

Shell
1
star
70

perl-test-suite

My tests, the base suite for all projects
Perl
1
star
71

SeTTY

Set terminal properties in XTerm compatible terminals
Perl
1
star
72

String-Utils

Perl
1
star
73

dontbeahero

Don't worry, someone else will save the planet
Perl
1
star
74

App-sync_cpantesters

Sync CPAN testers failure reports to local directories
Perl
1
star
75

with

Execute Perl code on files matching pattern
Perl
1
star
76

urxvt-change-bg-on-focus-event

change bg color on focus lost/gained
Perl
1
star
77

cc256

C
1
star
78

picam

RPi based surv cam that autoposts on twitter
Perl
1
star
79

abs

Archlinux ABS Git
C
1
star
80

File-Media-Sort

Perl Module that sorts a list of incoming names as music/musicvideos/tv-episodes etc
Perl
1
star
81

Term-hr

Perl module that lets you define a thematic change in content of a terminal session
Perl
1
star
82

rel

rel uses Flexget::Parse, Flexget::PatternMatch and Media::Sort to show and sort new media in log/dir by genre/type etc
1
star
83

zcompdef

zsh completion definitions
1
star
84

Mplayer-NowPlaying

Query a running mplayer process for metadata and other information
Perl
1
star
85

Daemon-Mplayer

Library that helps you run mplayer daemonized
Perl
1
star
86

99-Problems

99 Prolog problems in Perl
Perl
1
star
87

Acme-CPANAuthors-Swedish

We are swedish CPAN authors
Perl
1
star
88

Acme-DependOnEverything

depend on everything
Perl
1
star
89

configs-n950

configs and random hacks for the nokia n950
Shell
1
star
90

mpdcp

copy track or album from an mpd server to destination
Perl
1
star
91

perlinpython3

how to access the power of perl inside your python3 code
Python
1
star
92

cv

my cv
CSS
1
star
93

Yoghurt

Yoghurt is a fork of Yaourt for personal use only
Shell
1
star
94

vim-after-syntax-zsh

Vim Script
1
star
95

git-today

what did I accomplish today?
Perl
1
star
96

mpdmon-daemon

Monitor MPD and execute arbitary commands on song change
Perl
1
star
97

xterm2html

xterm colors visual representation in html
Perl
1
star
98

vim-how-many-times-do-i-write-a-day

how many times do you :w a day?
Perl
1
star
99

Mock-Person-SV

Generate random sets of Swedish names
Perl
1
star
100

github-neverland

Dark Github theme for the Firefox/Chrome extension Stylish
1
star