summaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)AuthorFilesLines
2016-08-26gui/sheet.c (sheet_key): toggle diff/delta with Shift+D; document itWerner Almesberger1-5/+5
This frees "A" for other uses.
2016-08-25gui/index.c (thumbnail_pos): since we have "alloc", we don't need "gui"Werner Almesberger1-4/+3
2016-08-25gui/gui.c (get_sheets): use "sch" for "struct sheet *", not "sheet"Werner Almesberger1-3/+3
We use the latter for "struct gui_sheet *"
2016-08-25gui/: "struct gui_ctx" is now "struct gui"; also s/gui_ctx/gui/ in aoi_ctxWerner Almesberger8-102/+102
2016-08-25gui/: "struct gui_ctx *ctx" is now "struct gui_ctx *gui"Werner Almesberger9-497/+497
2016-08-25gui/index.c, help.c: more GDK_KEY_HelpWerner Almesberger2-0/+2
2016-08-25gui/sheet.c (sheet_key): keypad +, =, *, -; GDK_KEY_HelpWerner Almesberger1-0/+5
2016-08-24GUI performance timer, toggle with "T"Werner Almesberger5-0/+121
Shows milliseconds between last event and completion of screen update.
2016-08-24separate argument list from gfx_init; related API changesWerner Almesberger2-7/+3
2016-08-24remove global gfx state (pass context as argument)Werner Almesberger4-44/+46
2016-08-24gui/: cover entire thumbnail in yellow when highlighting in diff modeWerner Almesberger2-10/+48
Alas, the "clean" solution with alpha doesn't work for some reason. So we use some more pixel editing ...
2016-08-24gui/index.c (thumb_set_style): highlight changed sheets in diff modeWerner Almesberger1-0/+10
2016-08-24gui/index.c: show sheet name when hoveringWerner Almesberger2-6/+51
2016-08-24gui/over.c (overlay_draw_text): clipping shaved off rightmost pixelsWerner Almesberger1-1/+1
2016-08-24gui/index.c (index_resize): politely bow out if asked for impossible sizeWerner Almesberger1-3/+7
2016-08-24gui/index.c (best_ratio): fix algorithm; use size, not aspect; add marginWerner Almesberger1-12/+16
2016-08-24gui/index.c: add hoveringWerner Almesberger1-21/+44
2016-08-24gui/: move resizing back to gui.c; support resizing indexWerner Almesberger4-18/+32
2016-08-24gui/: experimental sheet index (WIP)Werner Almesberger8-23/+342
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/gui.c (get_sheets): also initialize fields "over" and "aois"Werner Almesberger1-0/+3
How did this not lead to crashes until now ?
2016-08-23support showing pin types also in diff mode (hackishly, but works)Werner Almesberger1-1/+2
2016-08-23gui/render.c: support showing pin types in delta modeWerner Almesberger1-0/+12
2016-08-23gui/: do without the "unrender_all" atrocityWerner Almesberger4-24/+12
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 Almesberger4-2/+32
2016-08-23misc/diag.h (BUG): more useful diagnostics; replace all "abort" with itWerner Almesberger3-10/+11
2016-08-23eeshow/gui/input.c: left and middle mouse button are equivalentWerner Almesberger1-2/+9
This makes it easy to switch between eeshow and eeschema, where only the middle mouse button is used for dragging.
2016-08-22eeshow/gui/gui.c: support using project file as leader (instead of top sheet)Werner Almesberger1-9/+36
2016-08-22eeshow/: change file name handling from positional to be extension-drivenWerner Almesberger4-29/+36
This also enables versioning for page layouts. We no longer need the option -P.
2016-08-22eeshow/gui/render.c: NULL backpointers for delta; don't try to pl_renderWerner Almesberger1-1/+4
2016-08-22eeshow/gui/: change zoom system to use float; reduce step from 2 to 2^(1/3)Werner Almesberger5-21/+39
2016-08-22eeshow/: support format symbols %%, %N, %S, and %T in page layoutWerner Almesberger1-1/+2
2016-08-22eeshow/gui/common.h (struct gui_sheet): add back link to historyWerner Almesberger2-2/+5
2016-08-22eeshow/diag.c (progress): don't require user to supply newlineWerner Almesberger1-4/+4
2016-08-22eeshow/gui/: experimental support for page layout; option -P pl-file.kicad_wksWerner Almesberger4-2/+11
Unlike libraries and schematics, page layouts are not (yet) tracked through revision history.
2016-08-21eeshow/gui/history.c (hover_history): compensate jump on dehoverWerner Almesberger1-1/+37
2016-08-21eeshow/gui/aoi.c (aoi_hover): also indicate from which direction we enterWerner Almesberger1-7/+16
2016-08-21eeshow/gui/: hover callback now indicates in which direction we leftWerner Almesberger7-18/+23
2016-08-21eeshow/gui/history.c (click_history): must go_to_sheet to switch to revisionWerner Almesberger1-0/+2
... also if we don't diff.
2016-08-21eeshow/gui/render.c (render_delta): we had red and green (old/new) reversedWerner Almesberger1-2/+2
2016-08-21eeshow/gui/gui.c: forgot to #include icons.h, oopsWerner Almesberger1-0/+1
2016-08-21eeshow/Makefile, gui/sheet.c: grow icons from 16 to 20 pixels reduce paddingWerner Almesberger1-0/+1
2016-08-21eeshow/gui/sheet.c (add_delta): use pretty icons instead of unicodeWerner Almesberger1-2/+3
2016-08-21eeshow/: add icon loader and icons for "delta" and "diff"Werner Almesberger3-0/+99
2016-08-21eeshow/gui/over.c, over.h: support icon overlaysWerner Almesberger2-7/+110
2016-08-20eeshow/gui/over.c, over.h: make coordinates "int" (to avoid bad surprises)Werner Almesberger2-6/+5
2016-08-20eeshow/gui/over.c (overlay_draw): break down into more manageable partsWerner Almesberger1-33/+51
2016-08-20eeshow/gui/render.c (on_draw_event): also mark changed subsheets in delta modeWerner Almesberger1-4/+25
2016-08-20eeshow/gui/ (aoi_click): also protect from access after freeWerner Almesberger4-7/+9
Unlike aoi_hover, aoi_click was not observed to actually run into this problem. But better safe than sorry.
2016-08-20eeshow/gui/ (aoi_hover): could cause an access after freeWerner Almesberger4-8/+17
2016-08-20eeshow/gui/glabel.c (hover_glabel): more discussion of "hanging" pop-upsWerner Almesberger1-2/+11