comparison src/gui_mac.c @ 1373:88c68e59d39c v7.1.088

updated for version 7.1-088
author vimboss
date Thu, 30 Aug 2007 08:35:35 +0000
parents 66e40876590b
children e2f5c1597829
comparison
equal deleted inserted replaced
1372:76a42a81f685 1373:88c68e59d39c
3147 gui_mch_set_winpos(int x, int y) 3147 gui_mch_set_winpos(int x, int y)
3148 { 3148 {
3149 /* TODO: Should make sure the window is move within range 3149 /* TODO: Should make sure the window is move within range
3150 * e.g.: y > ~16 [Menu bar], x > 0, x < screen width 3150 * e.g.: y > ~16 [Menu bar], x > 0, x < screen width
3151 */ 3151 */
3152 MoveWindow(gui.VimWindow, x, y, TRUE); 3152 MoveWindowStructure(gui.VimWindow, x, y, TRUE);
3153 } 3153 }
3154 3154
3155 void 3155 void
3156 gui_mch_set_shellsize( 3156 gui_mch_set_shellsize(
3157 int width, 3157 int width,
5554 * Usefull thing which could be used 5554 * Usefull thing which could be used
5555 * SetDialogTimeout(): Auto click a button after timeout 5555 * SetDialogTimeout(): Auto click a button after timeout
5556 * SetDialogTracksCursor() : Get the I-beam cursor over input box 5556 * SetDialogTracksCursor() : Get the I-beam cursor over input box
5557 * MoveDialogItem(): Probably better than SetDialogItem 5557 * MoveDialogItem(): Probably better than SetDialogItem
5558 * SizeDialogItem(): (but is it Carbon Only?) 5558 * SizeDialogItem(): (but is it Carbon Only?)
5559 * AutoSizeDialog(): Magic resize of dialog based on text lenght 5559 * AutoSizeDialog(): Magic resize of dialog based on text length
5560 */ 5560 */
5561 } 5561 }
5562 #endif /* FEAT_DIALOG_GUI */ 5562 #endif /* FEAT_DIALOG_GUI */
5563 5563
5564 /* 5564 /*