Feature #1130
closed
Migrate launcher UI to a pigtk widget.
Added by Hammel 7 months ago.
Updated 6 months ago.
Description
The widget will allow paging, and can be re-used in a videofe rewrite.
The launcher is just an icontable widget.
The icon table should have the following apis.
- gtk_icontable_set_tablesize(widget, rows, cols)
- gtk_icontable_set(widget, GSList *)
- GtkWidget *gtk_icontable_new(guint rows, guint cols);
- void gtk_icontable_press( GtkWidget *icontable, int x, int y, int highlight );
- void gtk_icontable_page_change( GtkWidget *widget, gint amount );
- void gtk_icontable_row_change( GtkWidget *widget, gint amount );
- GSList *gtk_icontable_get_cell( GtkWidget *icontable );
- void gtk_icontable_set_cellpad( GtkWidget *widget, guint size );
- Status changed from New to In Progress
- % Done changed from 0 to 20
First implementation committed but it's actually untested and likely has a number of bugs.
- % Done changed from 20 to 80
Initial implementation has been tested and pushed.
Issues still to be resolved.
- Better _next_cell, _next_row and _next_page handling.
- Extend demo app to show these.
Add a user supplied data field to GtkIconCell structure.
Fix resize paint updates.
- Severity changed from 03 - Medium to 01 - Critical
Need to handle paging better. When you cell fw or bw to the next page the whole widget must be updated so all labels are updated properly.
Need an option for:
Disabling label overlays
Setting label color (via gtkrc and API)
Setting bg color (overriding gtkrc) (won't implement)
Need to implement row and page changes APIs properly.
- % Done changed from 80 to 70
More features to work on.
Changing pages when using manual advance must redraw all cells, not just the one.
Implement row change like cell change.
Implement page change like cell change
- Status changed from In Progress to Closed
- % Done changed from 70 to 100
All features are implemented and demo'd in the pigtk app.
All code committed and pushed.
Closing issue.
Also available in: Atom
PDF