aboutsummaryrefslogtreecommitdiff
path: root/lib/gtk-experiment-widgets/gtk-experiment-transcript.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10updated CopyrightRobin Haberkorn1-1/+1
2012-08-01some NULL pointer checks in transcript widgetRobin Haberkorn1-3/+6
default interactive format attributes may be NULL (i.e. don't change these attributes) but pango/gdk free functions cannot handle NULL pointers gracefully * only results in assertions now since windows are explicitly destroyed (the info window was not destroyed at all previously)
2012-08-01remove transcript widget size requestRobin Haberkorn1-11/+0
removes some constraints on resizing the info window containing the widget (however other widgets have minimum sizes preventing the transcript area being squashed together)
2012-06-21simplify expression using MIN()Robin Haberkorn1-1/+1
2012-06-17use more glib macros to improve portabilityRobin Haberkorn1-1/+1
2012-06-14allow enabling/disabling the transcript backdrop area (simplifies main.c)Robin Haberkorn1-10/+54
2012-06-14preliminary transcript backdrop area implementationRobin Haberkorn1-4/+92
a backdrop area may be set by time points - it's background is highlighted 16% darker or lighter than the configured background color * configurable only by AC_DEFINE in configure.ac for the time being
2012-06-13transcript widget reverse mode is saved in config fileRobin Haberkorn1-9/+46
* introduced widget flag attribute
2012-06-13implemented topdown (reverse) rendering of contributionsRobin Haberkorn1-50/+128
code has been refactored allowing for greater flexibility in rendering
2012-06-12resolve numeric instability when calculating contribution pixel positionsRobin Haberkorn1-2/+3
the pixel distance between contributions must be independant of the current time to avoid flickering in the text rendering when time progresses
2012-06-12don't render into invisible area of the text layerRobin Haberkorn1-10/+20
it is unknown how large that area has to be in order for every contribution to fit in
2012-06-07cleaned up success/failure return value confusionRobin Haberkorn1-4/+4
TRUE means successful, FALSE unsuccessful
2012-06-07format-file related transcript widget methods return a GError which is used ↵Robin Haberkorn1-0/+7
to display meaningful error messages * also cleaned up return value confusion: in GLib world, TRUE means successful
2012-06-07added missing documentation for GtkExperimentTranscript API methodsRobin Haberkorn1-1/+54
2012-06-07added copyright headers and Doxygen @file comments (where they were still ↵Robin Haberkorn1-0/+17
missing)
2012-06-06configurable transcript widget text alignmentRobin Haberkorn1-9/+106
* via pop up menu and config file (symbolic value) * use image menu items in transcript popup * renamed "Choose Foreground Color..." to "Choose Text Color..." * simplify transcript related config setters/getters
2012-06-05fixed transcript widget configuration (on Windows)Robin Haberkorn1-22/+31
* widget configuration in size allocation depends on widget being realized * widget realization depends on the widget being size allocated * at least on Windows, the size is not reallocated after widget realization (except of course it is actually resized) * so a _reconfigure() function has been introduced (does the same as configure-event handler would do)
2012-06-05fixed and optimized handling of transcript widget size changes; fixed ↵Robin Haberkorn1-26/+29
handling of widget state changes the widget starts in insensitive state so it is not drawn with the configured properties (which are for the NORMAL state). when the widget state changes it is now immediately redrawn
2012-06-04fix transcript scrolling (via wheels/buttons) at the end of the transcriptRobin Haberkorn1-6/+6
2012-06-04support scrolling of the transcript widget via scroll wheelsRobin Haberkorn1-0/+34
2012-06-04only save transcript widget font and colors if they have been changed (via ↵Robin Haberkorn1-0/+1
keyfile or dialogs) * so if they haven't been changed, the widget defaults are active (may depend on gtk theme and RC files) * currently it is not possible reset changed fonts/colors to the widget defaults (via the UI, the keyfile may be edited manually)
2012-06-04load default interactive format font and colors from config file and also ↵Robin Haberkorn1-0/+11
save them * pango attributes cannot be "cached" anymore and must be recreated every time the interactive format is configured
2012-05-30implemented "format" file and expression parsing as well as application to ↵Robin Haberkorn1-69/+48
the transcript * "formats" are regular expressions encapsulated in Pango markup that allow the description of powerful highlighting rules * highlight as you type via entry boxes * loading from files implemented and tested but cannot yet be done via the UI * transcript widget is built as libtool convenience library * some renamings were necessary * install transcript widget header
2012-05-30implemented font and color configuration for transcript widgetRobin Haberkorn1-4/+154
* drop-down menu and selection dialogs * drawing routines care about using the correct graphics contexts
2012-05-30workaround: manually invoke configure-event callback from realize-event callbackRobin Haberkorn1-0/+3
2012-05-30first draft of transcript widgetRobin Haberkorn1-0/+468