Lines Matching refs:msg

123     BMessage msg(BWIN_SET_TITLE);  in HAIKU_SetWindowTitle()  local
124 msg.AddString("window-title", window->title); in HAIKU_SetWindowTitle()
125 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowTitle()
133 BMessage msg(BWIN_MOVE_WINDOW); in HAIKU_SetWindowPosition() local
134 msg.AddInt32("window-x", window->x); in HAIKU_SetWindowPosition()
135 msg.AddInt32("window-y", window->y); in HAIKU_SetWindowPosition()
136 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowPosition()
140 BMessage msg(BWIN_RESIZE_WINDOW); in HAIKU_SetWindowSize() local
141 msg.AddInt32("window-w", window->w - 1); in HAIKU_SetWindowSize()
142 msg.AddInt32("window-h", window->h - 1); in HAIKU_SetWindowSize()
143 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowSize()
147 BMessage msg(BWIN_SET_BORDERED); in HAIKU_SetWindowBordered() local
148 msg.AddBool("window-border", bordered != SDL_FALSE); in HAIKU_SetWindowBordered()
149 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowBordered()
153 BMessage msg(BWIN_SET_RESIZABLE); in HAIKU_SetWindowResizable() local
154 msg.AddBool("window-resizable", resizable != SDL_FALSE); in HAIKU_SetWindowResizable()
155 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowResizable()
159 BMessage msg(BWIN_SHOW_WINDOW); in HAIKU_ShowWindow() local
160 _ToBeWin(window)->PostMessage(&msg); in HAIKU_ShowWindow()
164 BMessage msg(BWIN_HIDE_WINDOW); in HAIKU_HideWindow() local
165 _ToBeWin(window)->PostMessage(&msg); in HAIKU_HideWindow()
169 BMessage msg(BWIN_SHOW_WINDOW); /* Activate this window and move to front */ in HAIKU_RaiseWindow() local
170 _ToBeWin(window)->PostMessage(&msg); in HAIKU_RaiseWindow()
174 BMessage msg(BWIN_MAXIMIZE_WINDOW); in HAIKU_MaximizeWindow() local
175 _ToBeWin(window)->PostMessage(&msg); in HAIKU_MaximizeWindow()
179 BMessage msg(BWIN_MINIMIZE_WINDOW); in HAIKU_MinimizeWindow() local
180 _ToBeWin(window)->PostMessage(&msg); in HAIKU_MinimizeWindow()
184 BMessage msg(BWIN_RESTORE_WINDOW); in HAIKU_RestoreWindow() local
185 _ToBeWin(window)->PostMessage(&msg); in HAIKU_RestoreWindow()
191 BMessage msg(BWIN_FULLSCREEN); in HAIKU_SetWindowFullscreen() local
192 msg.AddBool("fullscreen", fullscreen); in HAIKU_SetWindowFullscreen()
193 _ToBeWin(window)->PostMessage(&msg); in HAIKU_SetWindowFullscreen()