| 475 * [::op=csc|bhvr=|menu=<menu>|col=<colors>:] |
475 * [::op=csc|bhvr=|menu=<menu>|col=<colors>:] |
| 476 * where: |
476 * where: |
| 477 * menu ::= <menuitem> { ";" <menuitem> } |
477 * menu ::= <menuitem> { ";" <menuitem> } |
| 478 * menuitem ::= { type "," <text> "," <name> "," <meta> } |
478 * menuitem ::= { type "," <text> "," <name> "," <meta> } |
| 479 * colors ::= <color> { ";" <color> } |
479 * colors ::= <color> { ";" <color> } |
| 480 * color ::= <colorid> "," <ARGB hex color> |
480 * color ::= <colorid> "," <ARGB hex color> |
| 481 * |
481 * |
| 482 * @param session The MXit session object |
482 * @param session The MXit session object |
| 483 * @param from The sender of the message. |
483 * @param from The sender of the message. |
| 484 * @param hash The MXit command <key,value> map |
484 * @param hash The MXit command <key,value> map |
| 485 */ |
485 */ |
| 530 /* table name */ |
530 /* table name */ |
| 531 name = g_hash_table_lookup(hash, "nm"); |
531 name = g_hash_table_lookup(hash, "nm"); |
| 532 |
532 |
| 533 /* number of columns */ |
533 /* number of columns */ |
| 534 tmp = g_hash_table_lookup(hash, "col"); |
534 tmp = g_hash_table_lookup(hash, "col"); |
| 535 nr_columns = atoi(tmp); |
535 nr_columns = atoi(tmp); |
| 536 |
536 |
| 537 /* number of rows */ |
537 /* number of rows */ |
| 538 tmp = g_hash_table_lookup(hash, "row"); |
538 tmp = g_hash_table_lookup(hash, "row"); |
| 539 nr_rows = atoi(tmp); |
539 nr_rows = atoi(tmp); |
| 540 |
540 |