fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

print_panel.cxx File Reference
#include "print_panel.h"
#include <stdio.h>
#include <stdlib.h>
#include "../src/flstring.h"
#include <FL/Fl_Preferences.H>
#include <FL/Fl_Pixmap.H>
Include dependency graph for print_panel.cxx:

Go to the source code of this file.

Functions

static void cb_print_choice (Fl_Choice *, void *)
 
static void cb_print_properties (Fl_Button *, void *)
 
static void cb_print_all (Fl_Round_Button *, void *)
 
static void cb_print_pages (Fl_Round_Button *, void *)
 
static void cb_print_selection (Fl_Round_Button *, void *)
 
static void cb_print_copies (Fl_Spinner *, void *)
 
static void cb_print_collate_button (Fl_Check_Button *, void *)
 
static void cb_Cancel (Fl_Button *, void *)
 
static void cb_print_properties_panel (Fl_Double_Window *, void *)
 
static Fl_Imageimage_print_color ()
 
static Fl_Imageimage_print_gray ()
 
static void cb_Save (Fl_Return_Button *, void *)
 
static void cb_Cancel1 (Fl_Button *, void *)
 
static void cb_Use (Fl_Button *, void *)
 
Fl_Double_Windowmake_print_panel ()
 
void print_cb (Fl_Return_Button *, void *)
 
void print_load ()
 
void print_update_status ()
 

Variables

Fl_Preferences fluid_prefs
 
Fl_Double_Windowprint_panel =(Fl_Double_Window *)0
 
Fl_Groupprint_panel_controls =(Fl_Group *)0
 
Fl_Choiceprint_choice =(Fl_Choice *)0
 
Fl_Buttonprint_properties =(Fl_Button *)0
 
Fl_Boxprint_status =(Fl_Box *)0
 
Fl_Round_Buttonprint_all =(Fl_Round_Button *)0
 
Fl_Round_Buttonprint_pages =(Fl_Round_Button *)0
 
Fl_Round_Buttonprint_selection =(Fl_Round_Button *)0
 
Fl_Int_Inputprint_from =(Fl_Int_Input *)0
 
Fl_Int_Inputprint_to =(Fl_Int_Input *)0
 
Fl_Spinnerprint_copies =(Fl_Spinner *)0
 
Fl_Check_Buttonprint_collate_button =(Fl_Check_Button *)0
 
Fl_Groupprint_collate_group [2] ={(Fl_Group *)0}
 
Fl_Progressprint_progress =(Fl_Progress *)0
 
Fl_Double_Windowprint_properties_panel =(Fl_Double_Window *)0
 
Fl_Choiceprint_page_size =(Fl_Choice *)0
 
Fl_Menu_Item menu_print_page_size []
 
static const char * idata_print_color []
 
static const char * idata_print_gray []
 
Fl_Buttonprint_output_mode [4] ={(Fl_Button *)0}
 

Function Documentation

◆ cb_Cancel()

static void cb_Cancel ( Fl_Button ,
void *   
)
static

Definition at line 95 of file print_panel.cxx.

References Fl_Double_Window::hide(), and print_panel.

Referenced by make_print_panel().

◆ cb_Cancel1()

static void cb_Cancel1 ( Fl_Button ,
void *   
)
static

◆ cb_print_all()

static void cb_print_all ( Fl_Round_Button ,
void *   
)
static

Definition at line 48 of file print_panel.cxx.

References Fl_Widget::deactivate(), print_from, and print_to.

Referenced by make_print_panel().

◆ cb_print_choice()

static void cb_print_choice ( Fl_Choice ,
void *   
)
static

Definition at line 34 of file print_panel.cxx.

References print_update_status().

Referenced by make_print_panel().

◆ cb_print_collate_button()

static void cb_print_collate_button ( Fl_Check_Button ,
void *   
)
static

◆ cb_print_copies()

static void cb_print_copies ( Fl_Spinner ,
void *   
)
static

◆ cb_print_pages()

static void cb_print_pages ( Fl_Round_Button ,
void *   
)
static

Definition at line 55 of file print_panel.cxx.

References Fl_Widget::activate(), print_from, and print_to.

Referenced by make_print_panel().

◆ cb_print_properties()

static void cb_print_properties ( Fl_Button ,
void *   
)
static

Definition at line 40 of file print_panel.cxx.

References print_properties_panel, and Fl_Double_Window::show().

Referenced by make_print_panel().

◆ cb_print_properties_panel()

static void cb_print_properties_panel ( Fl_Double_Window ,
void *   
)
static

◆ cb_print_selection()

static void cb_print_selection ( Fl_Round_Button ,
void *   
)
static

Definition at line 62 of file print_panel.cxx.

References Fl_Widget::deactivate(), print_from, and print_to.

Referenced by make_print_panel().

◆ cb_Save()

◆ cb_Use()

static void cb_Use ( Fl_Button ,
void *   
)
static

Definition at line 239 of file print_panel.cxx.

References Fl_Double_Window::hide(), and print_properties_panel.

Referenced by make_print_panel().

◆ image_print_color()

static Fl_Image* image_print_color ( )
static

Definition at line 161 of file print_panel.cxx.

References idata_print_color.

Referenced by make_print_panel().

◆ image_print_gray()

static Fl_Image* image_print_gray ( )
static

Definition at line 210 of file print_panel.cxx.

References idata_print_gray.

Referenced by make_print_panel().

◆ make_print_panel()

Fl_Double_Window* make_print_panel ( )

Definition at line 243 of file print_panel.cxx.

Referenced by Fl_PostScript_Printer::start_job().

◆ print_cb()

void print_cb ( Fl_Return_Button ,
void *   
)

Definition at line 511 of file print_panel.cxx.

Referenced by make_print_panel().

◆ print_load()

void print_load ( )

Definition at line 510 of file print_panel.cxx.

Referenced by Fl_PostScript_Printer::start_job().

◆ print_update_status()

void print_update_status ( )

Variable Documentation

◆ fluid_prefs

Fl_Preferences fluid_prefs

Referenced by cb_Save(), and print_update_status().

◆ idata_print_color

const char* idata_print_color[]
static

Definition at line 117 of file print_panel.cxx.

Referenced by image_print_color().

◆ idata_print_gray

const char* idata_print_gray[]
static

Definition at line 166 of file print_panel.cxx.

Referenced by image_print_gray().

◆ menu_print_page_size

Fl_Menu_Item menu_print_page_size[]
Initial value:
= {
{"Letter", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{"A4", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0}
}

Definition at line 110 of file print_panel.cxx.

Referenced by make_print_panel().

◆ print_all

Fl_Round_Button* print_all =(Fl_Round_Button *)0

Definition at line 46 of file print_panel.cxx.

Referenced by make_print_panel(), and Fl_PostScript_Printer::start_job().

◆ print_choice

◆ print_collate_button

◆ print_collate_group

Fl_Group* print_collate_group[2] ={(Fl_Group *)0}

Definition at line 93 of file print_panel.cxx.

Referenced by cb_print_collate_button(), cb_print_copies(), and make_print_panel().

◆ print_copies

Fl_Spinner* print_copies =(Fl_Spinner *)0

◆ print_from

◆ print_output_mode

Fl_Button* print_output_mode[4] ={(Fl_Button *)0}

◆ print_page_size

Fl_Choice* print_page_size =(Fl_Choice *)0

◆ print_pages

Fl_Round_Button* print_pages =(Fl_Round_Button *)0

Definition at line 53 of file print_panel.cxx.

Referenced by make_print_panel(), and Fl_PostScript_Printer::start_job().

◆ print_panel

◆ print_panel_controls

Fl_Group* print_panel_controls =(Fl_Group *)0

Definition at line 30 of file print_panel.cxx.

Referenced by make_print_panel().

◆ print_progress

Fl_Progress* print_progress =(Fl_Progress *)0

Definition at line 99 of file print_panel.cxx.

Referenced by make_print_panel().

◆ print_properties

Fl_Button* print_properties =(Fl_Button *)0

Definition at line 38 of file print_panel.cxx.

Referenced by make_print_panel().

◆ print_properties_panel

◆ print_selection

Fl_Round_Button* print_selection =(Fl_Round_Button *)0

Definition at line 60 of file print_panel.cxx.

Referenced by make_print_panel(), and Fl_PostScript_Printer::start_job().

◆ print_status

Fl_Box* print_status =(Fl_Box *)0

Definition at line 44 of file print_panel.cxx.

Referenced by make_print_panel(), and print_update_status().

◆ print_to

FL_NORMAL_LABEL
draws the text (0)
Definition: Enumerations.H:764
uchar
unsigned char uchar
Definition: fl_types.h:30