summaryrefslogtreecommitdiff
path: root/gui/common.h
AgeCommit message (Collapse)AuthorFilesLines
2016-10-30gui/: "v" opens a viewer window for commit messages (WIP)Werner Almesberger1-0/+5
2016-10-19gui/common.h, gui/sheet.c: use dragging instead of click for copying textWerner Almesberger1-0/+2
This feels much more "natural", but still lacks visual feedback.
2016-10-15gui/comp.c: add pop-up for components, with access to data sheet (WIP)Werner Almesberger1-0/+4
2016-10-15gui/pop.c: separate general pop-up functions from glabel.cWerner Almesberger1-2/+1
... for upcoming sharing.
2016-09-29gui/common.h (show_extra): change from bool to enum gfx_extra (mask)Werner Almesberger1-1/+1
2016-09-29get rid of sch_render_extra and move selection to rendering (WIP)Werner Almesberger1-1/+0
This works for eeshow, but this breaks the -e option of eeplot and eediff, permanently enabling it in FIG, and permanently disabling it in all the Cairo-based formats.
2016-09-07fix numerous whitespace atrocitiesWerner Almesberger1-1/+1
- trailing spaces - trailing tabs - space before tab - more than four spaces ... - at the beginning of a line - after tab - in general (okay in many cases, but not all) - caught a stray blank line as well
2016-08-29gui/history.c: draw threads of the revision historyWerner Almesberger1-0/+2
2016-08-29gui/render.c (on_draw_event): move history drawing to history_draw_eventWerner Almesberger1-0/+4
2016-08-29gui/common.h: don't forget to #include <cairo/cairo.h>Werner Almesberger1-0/+1
2016-08-27file/git-hist.h (struct hist, struct history): prepend vcs_Werner Almesberger1-2/+2
2016-08-27file/git-hist.c: introduce history descriptor to API, removing global "history"Werner Almesberger1-1/+2
This will be used for more things in the future.
2016-08-25gui/: "struct gui_ctx" is now "struct gui"; also s/gui_ctx/gui/ in aoi_ctxWerner Almesberger1-19/+19
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger1-17/+17
2016-08-24remove global gfx state (pass context as argument)Werner Almesberger1-3/+4
2016-08-24gui/: cover entire thumbnail in yellow when highlighting in diff modeWerner Almesberger1-0/+1
Alas, the "clean" solution with alpha doesn't work for some reason. So we use some more pixel editing ...
2016-08-24gui/: move resizing back to gui.c; support resizing indexWerner Almesberger1-0/+2
2016-08-24gui/: experimental sheet index (WIP)Werner Almesberger1-1/+18
We also change the way the sheet overlays work: now clicking on the subsheet (which, in the case of the bottom-most sheet did nothing) goes back to the parent and clicking on the root opens the index.
2016-08-23gui/: do without the "unrender_all" atrocityWerner Almesberger1-2/+1
Benefits: - no horrible memory leak - we don't need to jump to the current page (causing zoom_to_extents) Drawbacks: - only supported in non-diff modes
2016-08-23in GUI mode, E toggles extra information (pin types)Werner Almesberger1-2/+6
2016-08-22eeshow/: change file name handling from positional to be extension-drivenWerner Almesberger1-3/+3
This also enables versioning for page layouts. We no longer need the option -P.
2016-08-22eeshow/gui/: change zoom system to use float; reduce step from 2 to 2^(1/3)Werner Almesberger1-1/+1
2016-08-22eeshow/gui/common.h (struct gui_sheet): add back link to historyWerner Almesberger1-0/+2
2016-08-22eeshow/gui/: experimental support for page layout; option -P pl-file.kicad_wksWerner Almesberger1-0/+2
Unlike libraries and schematics, page layouts are not (yet) tracked through revision history.
2016-08-20eeshow/gui/render.c: resurrect delta mode (A toggles between delta and diff)Werner Almesberger1-0/+2
2016-08-19eeshow/gui/: sel_split to select 2nd version; sel_only doesn't set old_histWerner Almesberger1-0/+1
2016-08-19eeshow/gui/sheet.c: clicking on the revision overlays changes diff modeWerner Almesberger1-1/+1
2016-08-19eeshow/gui/: difference display can now be switched with New/Old/DiffWerner Almesberger1-1/+7
Still need a GUI way to do the same.
2016-08-19eeshow/gui/: highlight glabelsWerner Almesberger1-0/+1
2016-08-19eeshow/gui/glabel.c: allow other glabels to replace pop-upWerner Almesberger1-0/+3
2016-08-19eeshow/gui/: use overlay_draw_all_d for glabels, due to offsetsWerner Almesberger1-0/+1
The offsets can move the coordinates across zero, thus flipping the alignment. overlay_draw_all_d is immune to this.
2016-08-18eeshow/gui/: use underlay to draw a nice box for glabelsWerner Almesberger1-0/+2
2016-08-18eeshow/gui/: add "underlay" for pop-ups (WIP)Werner Almesberger1-0/+1
We'll use this to construct stacks for glabels.
2016-08-18eeshow/gui/gui.c: move rendering to render.cWerner Almesberger1-4/+8
2016-08-18eeshow/gui/history.c: provide complete set of input functionsWerner Almesberger1-5/+0
2016-08-18eeshow/gui/gui.c (eeschema_coord): only used in glabel.c, move thereWerner Almesberger1-1/+0
2016-08-18eeshow/gui/gui.c: move history list to history.cWerner Almesberger1-3/+5
2016-08-18eeshow/gui/gui.c: move sheet navigation to sheet.cWerner Almesberger1-1/+18
2016-08-18eeshow/gui/gui.c: move global label pop-up to glabel.cWerner Almesberger1-1/+12
2016-08-18eeshow/gui/gui.c: move progress bar handling to progress.cWerner Almesberger1-0/+7
2016-08-18eeshow/gui/gui.c: move common data structures to common.hWerner Almesberger1-0/+102
Preparing for splitting gui.c into more manageable parts.