The actual layout depends on the register type, but, typically, all of the registers have the date cell on the left, description in the middle, and monetary totals on the right.
This implementation hard-codes the layout in C, although the original intent was that the layout would be fetched from a config file that could be tweaked for a specific, non-GnuCash application.
Files | |
| file | split-register-layout.h |
| Create the actual register visual layout. | |
Functions | |
| TableLayout * | gnc_split_register_layout_new (SplitRegister *reg) |
| TableLayout* gnc_split_register_layout_new | ( | SplitRegister * | reg | ) |
Generate the split register layout.
Definition at line 708 of file split-register-layout.c.
00709 { 00710 TableLayout *layout; 00711 00712 layout = gnc_table_layout_new (); 00713 00714 gnc_split_register_layout_add_cells (reg, layout); 00715 gnc_split_register_layout_add_cursors (reg, layout); 00716 gnc_split_register_set_cells (reg, layout); 00717 00718 return layout; 00719 }
1.5.2