src/window_func.h
changeset 8254 1496654ca5e7
parent 8131 160939e24ed3
child 8348 4d7c1c5055b3
equal deleted inserted replaced
8253:eec832095805 8254:1496654ca5e7
     4 
     4 
     5 #ifndef WINDOW_FUNC_H
     5 #ifndef WINDOW_FUNC_H
     6 #define WINDOW_FUNC_H
     6 #define WINDOW_FUNC_H
     7 
     7 
     8 #include "window_type.h"
     8 #include "window_type.h"
       
     9 #include "player_type.h"
     9 
    10 
    10 /**
    11 /**
    11  * Marks the window as dirty for repaint.
    12  * Marks the window as dirty for repaint.
    12  *
    13  *
    13  * @ingroup dirty
    14  * @ingroup dirty
    16 void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam);
    17 void SendWindowMessage(WindowClass wnd_class, WindowNumber wnd_num, int msg, int wparam, int lparam);
    17 void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam);
    18 void SendWindowMessageClass(WindowClass wnd_class, int msg, int wparam, int lparam);
    18 
    19 
    19 Window *FindWindowById(WindowClass cls, WindowNumber number);
    20 Window *FindWindowById(WindowClass cls, WindowNumber number);
    20 void DeleteWindow(Window *w);
    21 void DeleteWindow(Window *w);
    21 void DeletePlayerWindows(PlayerID pi);
       
    22 void ChangeWindowOwner(PlayerID old_player, PlayerID new_player);
    22 void ChangeWindowOwner(PlayerID old_player, PlayerID new_player);
    23 
    23 
    24 void ResizeWindow(Window *w, int x, int y);
    24 void ResizeWindow(Window *w, int x, int y);
    25 int PositionMainToolbar(Window *w);
    25 int PositionMainToolbar(Window *w);
    26 
    26