comparison src/gui_photon.c @ 812:68c15f2c7d3f

updated for version 7.0c01
author vimboss
date Mon, 27 Mar 2006 20:58:26 +0000
parents d0d15b184c56
children 1f929f3ca806
comparison
equal deleted inserted replaced
811:d2c169a725c8 812:68c15f2c7d3f
390 #ifdef USE_PANEL_GROUP 390 #ifdef USE_PANEL_GROUP
391 width -= (pg_margin_left + pg_margin_right); 391 width -= (pg_margin_left + pg_margin_right);
392 height -= (pg_margin_top + pg_margin_bottom); 392 height -= (pg_margin_top + pg_margin_bottom);
393 #endif 393 #endif
394 gui_resize_shell( *width, *height ); 394 gui_resize_shell( *width, *height );
395 gui_set_shellsize( FALSE, FALSE ); 395 gui_set_shellsize( FALSE, FALSE, RESIZE_BOTH );
396 is_ignore_draw = FALSE; 396 is_ignore_draw = FALSE;
397 PtEndFlux( gui.vimContainer ); 397 PtEndFlux( gui.vimContainer );
398 PtContainerRelease( gui.vimContainer ); 398 PtContainerRelease( gui.vimContainer );
399 break; 399 break;
400 400
823 gui_ph_handle_window_open( 823 gui_ph_handle_window_open(
824 PtWidget_t *widget, 824 PtWidget_t *widget,
825 void *data, 825 void *data,
826 PtCallbackInfo_t *info ) 826 PtCallbackInfo_t *info )
827 { 827 {
828 gui_set_shellsize( FALSE, TRUE ); 828 gui_set_shellsize( FALSE, TRUE, RESIZE_BOTH );
829 return( Pt_CONTINUE ); 829 return( Pt_CONTINUE );
830 } 830 }
831 831
832 /****************************************************************************/ 832 /****************************************************************************/
833 833
1658 PtSetResource( gui.vimWindow, Pt_ARG_POS, &pos, 0 ); 1658 PtSetResource( gui.vimWindow, Pt_ARG_POS, &pos, 0 );
1659 } 1659 }
1660 1660
1661 void 1661 void
1662 gui_mch_set_shellsize(int width, int height, 1662 gui_mch_set_shellsize(int width, int height,
1663 int min_width, int min_height, int base_width, int base_height) 1663 int min_width, int min_height, int base_width, int base_height,
1664 int direction)
1664 { 1665 {
1665 PhDim_t window_size = { width, height }; 1666 PhDim_t window_size = { width, height };
1666 PhDim_t min_size = { min_width, min_height }; 1667 PhDim_t min_size = { min_width, min_height };
1667 1668
1668 #ifdef USE_PANEL_GROUP 1669 #ifdef USE_PANEL_GROUP