Back to index

texmacs  1.0.7.15
Classes | Defines | Functions
aqua_dialogues.mm File Reference
#include "mac_cocoa.h"
#include "aqua_dialogues.h"
#include "gui.hpp"
#include "widget.hpp"
#include "message.hpp"
#include "aqua_utilities.h"
#include "aqua_other_widgets.h"
#include "aqua_basic_widgets.h"
#include "url.hpp"
#include "analyze.hpp"

Go to the source code of this file.

Classes

class  aqua_chooser_widget_rep
class  aqua_input_widget_rep
class  aqua_field_widget_rep
class  aqua_field_widget
class  TMInputHelper

Defines

#define TYPE_CHECK(b)   ASSERT (b, "type mismatch")
#define NOT_IMPLEMENTED   { if (DEBUG_EVENTS) cout << "STILL NOT IMPLEMENTED\n"; }

Functions

 ABSTRACT_NULL_CODE (aqua_field_widget)
widget inputs_list_widget (command call_back, array< string > prompts)
widget input_text_widget (command call_back, string type, array< string > def, int style, string width)
widget printer_widget (command cmd, url u)
widget color_picker_widget (command call_back, bool bg, array< tree > proposals)

Define Documentation

#define NOT_IMPLEMENTED   { if (DEBUG_EVENTS) cout << "STILL NOT IMPLEMENTED\n"; }

Definition at line 27 of file aqua_dialogues.mm.

#define TYPE_CHECK (   b)    ASSERT (b, "type mismatch")

Definition at line 26 of file aqua_dialogues.mm.


Function Documentation

widget color_picker_widget ( command  call_back,
bool  bg,
array< tree proposals 
)

Definition at line 724 of file aqua_dialogues.mm.

                                                                        {
  // widgets for selecting a color, a pattern or a background image,
  // encoded by a tree. On input, we give a list of recently used proposals
  // on termination the command is called with the selected color as argument
  // the bg flag specifies whether we are picking a background color or fill
  NOT_IMPLEMENTED;
  (void) call_back; (void) bg; (void) proposals;
  return glue_widget (false, false, 100*PIXEL, 100*PIXEL);
}

Here is the call graph for this function:

widget input_text_widget ( command  call_back,
string  type,
array< string def,
int  style,
string  width 
)

Definition at line 669 of file aqua_dialogues.mm.

{
  (void) style; (void) width;
  return tm_new <aqua_input_text_widget_rep> (call_back, type, def);
}
widget inputs_list_widget ( command  call_back,
array< string prompts 
)

Definition at line 659 of file aqua_dialogues.mm.

{
       return tm_new <aqua_input_widget_rep> (call_back,prompts);

}
widget printer_widget ( command  cmd,
url  u 
)

Definition at line 717 of file aqua_dialogues.mm.

                                    {
  (void) u;
  return menu_button (text_widget ("Cancel", 0, black), cmd, "", "", 0);
}

Here is the call graph for this function: