Temporary prototypes of a document management program and gui toolkit I'm working on.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bricks 53275ca27c Update 'README' 1 year ago
btk Upload files to 'btk' 1 year ago
htpt-db-example Upload files to 'htpt-db-example' 1 year ago
LICENSE Initial commit 1 year ago
README Update 'README' 1 year ago
hello.c Upload files to '' 1 year ago
main.c Upload files to '' 1 year ago
makefile Upload files to '' 1 year ago
screenshot.png Upload files to '' 1 year ago

README

This is a prototype (I'd even say a mockup) of an application I am developping as
well as a custom gui lib, so please keep that in mind.
I'm aware that this code is pure spagetti garbage, mostly because I was just throwing
shit at the wall to see what sticks and also to quickly get an MVP (somewhat) for
personal usage.

!!!
This software is provided as is and should be treated as INCOMPLETE, BUGGY and
UNMAINTAINED.
!!!

This is just a peek for those that are interested.
A small walkthought video can be found here : https://files.catbox.moe/mv5vio.mp4

I am currently in the process of slowly redoing everything from scratch the
right way. And except for the core ideas, nothing will be left in the new codebase,
not even the name of the project.

No keyboard controls are implemented except for text fields (recognisable with a red
underscore in the text, arrows, pgup/down, home/end, only ascii letters - I didn't
bother with utf8 in this for now - it will be done in the real release tho).

Use your mouse to navigate, left click to activate stuff.
For the chart in the main program you will need to be able to use mouse button 6-7 to
pan it left-right, usually it will be the left-right gestures on a trackpad (I made
this shit on a laptop). Mouse wheel (or button 4-5) to scroll up and down. You can also
left-right click on the table header to grow-shrink a column.
Double left cliking on a list or table row will activate it.
Windows can be resized.

If you wish to fuck around with the appearance of the program, you can edit the
btk/btk-config.h file.
Btw the font is set to Terminus, if its not installed on your system the rendering
will be fucked up, so either install that font or change the btk_font_name[] property
to your font of choice - note that the internal font parameters have antialias disabled,
so preferably use a bitmap font or it will look like shit.

There is a test "database" that the program takes cares of in ./htpt-db-example navigate
to it from the open button in the main program (in the file list if you want to go up to a
parent folder double click the topmost ".." row), a folder that has been populated with this
specific "db" (its a hidden ".htpt" file in the target dir) will be highlighed in green
by default, select it (without double click) then click the open button.
The "add file" button will copy whatever you select into the location the of "db"

to compile:
make hello (just a hello world window)
or:
make hotpot (the actual program)

dependencies :
xcb
cairo
libc
pthread
c99 compiler