~ubuntu-branches/debian/experimental/fltk1.3/experimental

« back to all changes in this revision

Viewing changes to test/table.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2010-12-24 14:58:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224145854-8mo1pemi2gj4kiab
Tags: 1.3~r8114-1
* New upstream snapshot.
* debian/libfltk{,-gl}1.3.symbols: update to reflect recent changes.
* debian/libfltk1.3-dev.docs: update per upstream README.* reorganization.
* debian/FLTKConfig.cmake: belatedly set FLTK_CAIRO_FOUND to TRUE.
* debian/FLTKLibraries-noconfig.cmake: trim stated dependencies,
  particularly for shared libraries.
* debian/control: promote some suggestions to recommendations:
  - fluid -> fltk1.3-doc (for the help browser)
  - libfltk1.3-dev -> fluid (few users entirely hand-craft UIs)
  - libfltk1.3-dev -> libglu1-mesa-dev | libgl-dev (for <FL/glu.h>)
* Thanks to Yuri D'Elia for suggesting that I review the above three files.
* src/fl_font_xft.cxx: revert XFT->core name mapping, which upstream has
  implemented in a slightly different fashion.
* debian/rules: enable "CP936" (GBK) CJK encoding support.
* debian/fluid.lintian-overrides: retire per upstream fluid.desktop
  simplification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
 
274
274
void tablebox_choice_cb(Fl_Widget *w, void *data)
275
275
{
276
 
    G_table->table_box((Fl_Boxtype)(long)data);
 
276
    G_table->table_box((Fl_Boxtype)(fl_intptr_t)data);
277
277
    G_table->redraw();
278
278
}
279
279
 
280
280
void widgetbox_choice_cb(Fl_Widget *w, void *data)
281
281
{
282
 
    G_table->box((Fl_Boxtype)(long)data);
 
282
    G_table->box((Fl_Boxtype)(fl_intptr_t)data);
283
283
    G_table->resize(G_table->x(), G_table->y(), G_table->w(), G_table->h());
284
284
}
285
285
 
286
286
void type_choice_cb(Fl_Widget *w, void *data)
287
287
{
288
 
    G_table->type((Fl_Table_Row::TableRowSelectMode)(long)data);
 
288
    G_table->type((Fl_Table_Row::TableRowSelectMode)(fl_intptr_t)data);
289
289
}
290
290
 
291
291
Fl_Menu_Item tablebox_choices[] = {