Back to index

texmacs  1.0.7.15
Classes | Typedefs | Functions
window.hpp File Reference
#include "gui.hpp"
#include "renderer.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  window_rep

Typedefs

typedef window_repwindow

Functions

window plain_window (widget w, string name, SI min_w, SI min_h, SI def_w, SI def_h, SI max_w, SI max_h)
window popup_window (widget w, string name, SI min_w, SI min_h, SI def_w, SI def_h, SI max_w, SI max_h)
int get_identifier (window w)
window get_window (int id)
void windows_delayed_refresh (int ms)

Typedef Documentation

typedef window_rep* window

Definition at line 18 of file window.hpp.


Function Documentation

int get_identifier ( window  w)

Definition at line 222 of file x_window.cpp.

                          {
  if (w == NULL) return 0;
  else return (int) (((x_window) w) -> win);
}
window get_window ( int  id)

Definition at line 228 of file x_window.cpp.

                    {
  if (id == 0) return NULL;
  else return (window) ((x_window) Window_to_window[(Window) id]);
}
window plain_window ( widget  w,
string  name,
SI  min_w,
SI  min_h,
SI  def_w,
SI  def_h,
SI  max_w,
SI  max_h 
)

Definition at line 573 of file x_window.cpp.

{
  char* _name= as_charp (name);
  window win= tm_new<x_window_rep> (w, the_gui, _name,
                                min_w, min_h, def_w, def_h, max_w, max_h);
  tm_delete_array (_name);
  return win;
}

Here is the call graph for this function:

Here is the caller graph for this function:

window popup_window ( widget  w,
string  name,
SI  min_w,
SI  min_h,
SI  def_w,
SI  def_h,
SI  max_w,
SI  max_h 
)

Definition at line 562 of file x_window.cpp.

{
  char* _name= as_charp (name);
  window win= tm_new<x_window_rep> (w, the_gui, (char*) NULL,
                                min_w, min_h, def_w, def_h, max_w, max_h);
  tm_delete_array (_name);
  return win;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void windows_delayed_refresh ( int  ms)

Definition at line 448 of file tm_window.cpp.

                                 {
  refresh_time= texmacs_time () + ms;
}

Here is the caller graph for this function: