| 107 | } |
| 108 | |
| 109 | fg_err fg_set_window_size(fg_window pWindow, const unsigned pWidth, const unsigned pHeight) |
| 110 | { |
| 111 | try { |
| 112 | ARG_ASSERT(0, (pWindow!=0)); |
| 113 | ARG_ASSERT(1, (pWidth>0)); |
| 114 | ARG_ASSERT(2, (pHeight>0)); |
| 115 | |
| 116 | getWindow(pWindow)->setSize(pWidth, pHeight); |
| 117 | } |
| 118 | CATCHALL |
| 119 | return FG_ERR_NONE; |
| 120 | } |
| 121 | |
| 122 | fg_err fg_set_window_colormap(fg_window pWindow, const fg_color_map pColorMap) |
| 123 | { |