Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Phytolizer committed Jul 18, 2021
1 parent 62e230c commit 5e45c33
Show file tree
Hide file tree
Showing 39 changed files with 902 additions and 742 deletions.
2 changes: 1 addition & 1 deletion source_files/fltk_src/FL/Fl_Check_Browser.H
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FL_EXPORT Fl_Check_Browser : public Fl_Browser_ {
int add(char *s); // add an (unchecked) item
int add(char *s, int b); // add an item and set checked
// both return the new nitems()
int remove(int item); // delete an item. Returns nitems()
int remove(int item); // delete an item. Returns nitems()

// inline const char * methods to avoid breaking binary compatibility...
/** See int Fl_Check_Browser::add(char *s) */
Expand Down
2 changes: 1 addition & 1 deletion source_files/fltk_src/FL/Fl_Device.H
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device {
friend class Fl_X;
friend class Fl_Graphics_Driver;
static bool high_res_window_; //< true when drawing to a window of a retina
//display (Mac OS X only)
// display (Mac OS X only)
static bool high_resolution() { return high_res_window_; }
#endif
public:
Expand Down
4 changes: 2 additions & 2 deletions source_files/fltk_src/FL/Fl_Tree.H
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
/// defaults for fonts and colors from:
/// \par
/// - Fl_Tree::item_labelfont() -- The default item label font (default:
///FL_HELVETICA)
/// FL_HELVETICA)
/// - Fl_Tree::item_labelsize() -- The default item label size (default:
/// FL_NORMAL_SIZE)
/// - Fl_Tree::item_labelfgcolor() -- The default item label foreground
Expand All @@ -151,7 +151,7 @@
/// using methods of the same name:
/// \par
/// - Fl_Tree_Item::labelfont() -- The item's label font (default:
///FL_HELVETICA)
/// FL_HELVETICA)
/// - Fl_Tree_Item::labelsize() -- The item's label size (default:
/// FL_NORMAL_SIZE)
/// - Fl_Tree_Item::labelfgcolor() -- The item's label foreground color
Expand Down
2 changes: 1 addition & 1 deletion source_files/fltk_src/FL/forms.H
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ typedef Fl_Window FL_FORM;
#define FL_INVALID 0
#define FL_IGNORE -1
//#define FL_CLOSE -2 // this variable is never used in FLTK Forms. It is
//removed becaus it conflicts with the window FL_CLOSE event
// removed becaus it conflicts with the window FL_CLOSE event

#define FL_LCOL FL_BLACK
#define FL_COL1 FL_GRAY
Expand Down
3 changes: 2 additions & 1 deletion source_files/fltk_src/jpeg/jccolor.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ null_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
*/

METHODDEF(void)
null_method(j_compress_ptr cinfo) { /* no work needed */ }
null_method(j_compress_ptr cinfo) { /* no work needed */
}

/*
* Module initialization routine for input colorspace conversion.
Expand Down
12 changes: 6 additions & 6 deletions source_files/fltk_src/jpeg/jcmainct.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ typedef my_main_controller *my_main_ptr;

/* Forward declarations */
METHODDEF(void)
process_data_simple_main
JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail));
process_data_simple_main JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail));
#ifdef FULL_MAIN_BUFFER_SUPPORTED
METHODDEF(void)
process_data_buffer_main
JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail));
process_data_buffer_main JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
JDIMENSION *in_row_ctr,
JDIMENSION in_rows_avail));
#endif

/*
Expand Down
3 changes: 2 additions & 1 deletion source_files/fltk_src/jpeg/jcsample.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ typedef my_downsampler *my_downsample_ptr;
*/

METHODDEF(void)
start_pass_downsample(j_compress_ptr cinfo) { /* no work for now */ }
start_pass_downsample(j_compress_ptr cinfo) { /* no work for now */
}

/*
* Expand a component horizontally from width input_cols to width output_cols,
Expand Down
8 changes: 4 additions & 4 deletions source_files/fltk_src/jpeg/jctrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

/* Forward declarations */
LOCAL(void)
transencode_master_selection
JPP((j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays));
transencode_master_selection JPP((j_compress_ptr cinfo,
jvirt_barray_ptr *coef_arrays));
LOCAL(void)
transencode_coef_controller
JPP((j_compress_ptr cinfo, jvirt_barray_ptr *coef_arrays));
transencode_coef_controller JPP((j_compress_ptr cinfo,
jvirt_barray_ptr *coef_arrays));

/*
* Compression initialization for writing raw-coefficient data.
Expand Down
3 changes: 2 additions & 1 deletion source_files/fltk_src/jpeg/jdarith.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ start_pass(j_decompress_ptr cinfo) {
*/

METHODDEF(void)
finish_pass(j_decompress_ptr cinfo) { /* no work necessary here */ }
finish_pass(j_decompress_ptr cinfo) { /* no work necessary here */
}

/*
* Module initialization routine for arithmetic entropy decoding.
Expand Down
3 changes: 2 additions & 1 deletion source_files/fltk_src/jpeg/jdatadst.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ init_destination(j_compress_ptr cinfo) {
}

METHODDEF(void)
init_mem_destination(j_compress_ptr cinfo) { /* no work necessary here */ }
init_mem_destination(j_compress_ptr cinfo) { /* no work necessary here */
}

/*
* Empty the output buffer --- called whenever buffer fills up.
Expand Down
6 changes: 4 additions & 2 deletions source_files/fltk_src/jpeg/jdatasrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ init_source(j_decompress_ptr cinfo) {
}

METHODDEF(void)
init_mem_source(j_decompress_ptr cinfo) { /* no work necessary here */ }
init_mem_source(j_decompress_ptr cinfo) { /* no work necessary here */
}

/*
* Fill the input buffer --- called whenever buffer is emptied.
Expand Down Expand Up @@ -179,7 +180,8 @@ skip_input_data(j_decompress_ptr cinfo, long num_bytes) {
*/

METHODDEF(void)
term_source(j_decompress_ptr cinfo) { /* no work necessary here */ }
term_source(j_decompress_ptr cinfo) { /* no work necessary here */
}

/*
* Prepare for input from a stdio stream.
Expand Down
3 changes: 2 additions & 1 deletion source_files/fltk_src/jpeg/jdcolor.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ ycck_cmyk_convert(j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
*/

METHODDEF(void)
start_pass_dcolor(j_decompress_ptr cinfo) { /* no work needed */ }
start_pass_dcolor(j_decompress_ptr cinfo) { /* no work needed */
}

/*
* Module initialization routine for output colorspace conversion.
Expand Down
Loading

0 comments on commit 5e45c33

Please sign in to comment.