ui/cocoa/stock.m

changeset 23
decc6bf584aa
parent 19
f8f22eb0b575
child 30
34513f76d5a8
equal deleted inserted replaced
22:bcf880b29bc3 23:decc6bf584aa
41 ui_add_stock_item(UI_STOCK_SAVE, @"Save", @"s", nil); 41 ui_add_stock_item(UI_STOCK_SAVE, @"Save", @"s", nil);
42 ui_add_stock_item(UI_STOCK_SAVE_AS, @"Save as ...", @"", nil); 42 ui_add_stock_item(UI_STOCK_SAVE_AS, @"Save as ...", @"", nil);
43 ui_add_stock_item(UI_STOCK_CLOSE, @"Close", @"w", nil); 43 ui_add_stock_item(UI_STOCK_CLOSE, @"Close", @"w", nil);
44 ui_add_stock_item(UI_STOCK_UNDO, @"Undo", @"z", nil); 44 ui_add_stock_item(UI_STOCK_UNDO, @"Undo", @"z", nil);
45 ui_add_stock_item(UI_STOCK_REDO, @"Redo", @"", nil); 45 ui_add_stock_item(UI_STOCK_REDO, @"Redo", @"", nil);
46 ui_add_stock_item(UI_STOCK_CUT, @"Cut", @"x", nil);
47 ui_add_stock_item(UI_STOCK_COPY, @"Copy", @"c", nil);
48 ui_add_stock_item(UI_STOCK_PASTE, @"Paste", @"v", nil);
49 ui_add_stock_item(UI_STOCK_DELETE, @"Delete", @"", nil);
46 50
47 ui_add_stock_item(UI_STOCK_GO_BACK, @"Back", @"", [NSImage imageNamed: NSImageNameGoLeftTemplate]); 51 ui_add_stock_item(UI_STOCK_GO_BACK, @"Back", @"", [NSImage imageNamed: NSImageNameGoLeftTemplate]);
48 ui_add_stock_item(UI_STOCK_GO_FORWARD, @"Forward", @"", [NSImage imageNamed: NSImageNameGoRightTemplate]); 52 ui_add_stock_item(UI_STOCK_GO_FORWARD, @"Forward", @"", [NSImage imageNamed: NSImageNameGoRightTemplate]);
49 } 53 }
50 54

mercurial