Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnumeric
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
355
Issues
355
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
257f4bf7
Commit
257f4bf7
authored
Jul 04, 1998
by
Arturo Espinosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Syncage to laptop, does not compile, dont even try
parent
b22092ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
6 deletions
+92
-6
src/gnumeric-canvas.c
src/gnumeric-canvas.c
+1
-3
src/gnumeric-sheet.c
src/gnumeric-sheet.c
+1
-3
src/item-grid.c
src/item-grid.c
+59
-0
src/item-grid.h
src/item-grid.h
+31
-0
No files found.
src/gnumeric-canvas.c
View file @
257f4bf7
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
...
...
src/gnumeric-sheet.c
View file @
257f4bf7
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
...
...
src/item-grid.c
0 → 100644
View file @
257f4bf7
#include <config.h>
#include <gnome.h>
#include "gnumeric.h"
#include "item-grid.h"
/* The signals we emit */
enum
{
ITEM_GRID_LAST_SIGNAL
};
static
guint
item_grid_signals
[
ITEM_GRID_LAST_SIGNAL
]
=
{
0
};
static
GnomeCanvasItem
*
item_grid_parent_class
;
static
void
item_grid_destroy
(
GtkObject
*
object
)
{
ItemGrid
*
grid
;
grid
=
ITEM_GRID
(
object
);
if
(
GTK_OBJECT_CLASS
(
item_grid_parent_class
)
->
destroy
)
(
*
GTK_OBJECT_CLASS
(
item_grid_parent_class
)
->
destroy
)(
object
);
}
static
void
item_grid_class_init
(
ItemGridClass
*
item_grid_class
)
{
GtkObjectClass
*
object_class
;
GnomeCanvasItem
*
item_class
;
object_class
=
(
GtkObjectClass
*
)
item_grid_class
;
item_class
=
(
GnomeCanvasItemClass
*
)
item_grid_class
;
gtk_object_add_arg_type
}
GtkType
item_grid_get_type
(
void
)
{
static
GtkType
item_grid_type
=
0
;
if
(
!
re_type
)
{
GtkTypeInfo
item_grid_info
=
{
"ItemGrid"
,
sizeof
(
ItemGrid
),
sizeof
(
ItemGridClass
),
(
GtkClassInitFunc
)
item_grid_class_init
,
(
GtkObjectInitFunc
)
item_grid_init
,
NULL
,
/* reserved_1 */
NULL
,
/* reserved_2 */
(
GtkClassInitFunc
)
NULL
};
item_grid_type
=
gtk_type_unique
(
gnome_canvas_item_get_type
(),
&
item_grid_info
);
}
return
re_type
;
}
src/item-grid.h
0 → 100644
View file @
257f4bf7
#ifndef ITEM_GRID_H
#define ITEM_GRID_H
#deinfe ITEM_GRID(obj) (GTK_CHECK_CAST((obj), item_grid_get_type (), ItemGrid))
#define ITEM_GRID_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), item_grid_get_type ()))
#define IS_ITEM_GRID(o) (GTK_CHECK_TYPE((o), item_grid_get_type ()))
typedef
struct
{
GnomeCanvasItem
canvas_item
;
Sheet
*
sheet
;
/* The first displayed column and row */
ColType
left_col
;
RowType
top_row
;
/* Offset from spreadsheet origin in units */
long
top_offset
;
long
left_offset
;
GdkGC
*
default_grid_color
;
}
ItemGrid
;
GtkType
item_grid_get_type
(
void
);
typedef
struct
{
GnomeCanvasItemClass
parent_class
;
}
ItemGridClass
;
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment