Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
10b95544
Commit
10b95544
authored
Nov 24, 2003
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New ge fetched from 3.9
parent
9ff43917
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
280 additions
and
99 deletions
+280
-99
xtt/mmi/ge/src/ge.uil
xtt/mmi/ge/src/ge.uil
+278
-97
xtt/mmi/ge/src/ge_attr.uil
xtt/mmi/ge/src/ge_attr.uil
+2
-2
No files found.
xtt/mmi/ge/src/ge.uil
View file @
10b95544
...
@@ -34,6 +34,22 @@ value
...
@@ -34,6 +34,22 @@ value
' * * ',
' * * ',
' ***************** ');
' ***************** ');
rectrounded_icon : icon ( color_table=bitmap_colors,
' ************* ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' ************* ');
line_icon : icon ( color_table=bitmap_colors,
line_icon : icon ( color_table=bitmap_colors,
' * ',
' * ',
' * ',
' * ',
...
@@ -98,51 +114,6 @@ value
...
@@ -98,51 +114,6 @@ value
' *** ',
' *** ',
' ');
' ');
bar_icon : icon ( color_table=bitmap_colors,
' ***** ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' * * ',
' ***** ',
' ***** ',
' ***** ',
' ***** ',
' ***** ',
' ***** ');
trend_icon : icon ( color_table=bitmap_colors,
' ******************* ',
' * * ** * ',
' * ** * ** * ',
' * * ** * * ** ',
' * * ** * * ',
' * * *** * ',
' * * * * * * * * * * ',
' * * * * ',
' * * * ',
' ** * * ',
' ** * ',
' * * * ',
' ******************* ');
axis_icon : icon ( color_table=bitmap_colors,
'****',
' *',
' *',
' ***',
' *',
' *',
' ***',
' *',
' *',
' ***',
' *',
' *',
'****');
scale_icon : icon ( color_table=bitmap_colors,
scale_icon : icon ( color_table=bitmap_colors,
'********************',
'********************',
'* *',
'* *',
...
@@ -183,6 +154,48 @@ value
...
@@ -183,6 +154,48 @@ value
'* * ',
'* * ',
'***************** ');
'***************** ');
flip_horiz_icon : icon ( color_table=bitmap_colors,
'* ',
'** ',
'* * ',
'* * ',
'* * ',
'* * ***** ',
'* * ** ',
'* * * ',
'********* * ',
' * ',
'************** * ',
' * ',
'********* * ',
'* * * * ',
'* * *** ** ',
'* * ******* ',
'* * *** ',
'* * * ',
'* * ',
'** ',
'* ');
flip_vert_icon : icon ( color_table=bitmap_colors,
' ***** ',
' * * ',
' * * ',
' * * ',
' * * * ',
' * * * ',
' * * ***** ',
' * * *** ',
' * * * * ',
' ** * ** ',
' * * * * * ',
' * * * * * ',
' * * * * * ',
' * * * * * ',
' * * * * * ',
'******** * ******** ',
' ');
brightness_icon : icon ( color_table=bitmap_colors,
brightness_icon : icon ( color_table=bitmap_colors,
' * ',
' * ',
' * ',
' * ',
...
@@ -349,6 +362,41 @@ value
...
@@ -349,6 +362,41 @@ value
' **** ******************************',
' **** ******************************',
' ******************************',
' ******************************',
' ');
' ');
linetype1_icon : icon ( color_table=bitmap_colors,
' ',
'******************************',
'******************************',
' ');
linetype2_icon : icon ( color_table=bitmap_colors,
' ',
'** ** ** ** ** ** ** **',
'** ** ** ** ** ** ** **',
' ');
linetype3_icon : icon ( color_table=bitmap_colors,
' ',
'**** **** **** **** ',
'**** **** **** **** ',
' ');
linetype4_icon : icon ( color_table=bitmap_colors,
' ',
'***** ****** ****** ',
'***** ****** ****** ',
' ');
linetype5_icon : icon ( color_table=bitmap_colors,
' ',
'** ** ** ** ',
'** ** ** ** ',
' ');
linetype6_icon : icon ( color_table=bitmap_colors,
' ',
'***** ** ****** ** ****** ',
'***** ** ****** ** ****** ',
' ');
linetype7_icon : icon ( color_table=bitmap_colors,
' ',
'********* ** ********** ** ',
'********* ** ********** ** ',
' ');
identifier
identifier
ge_ctx;
ge_ctx;
...
@@ -399,21 +447,22 @@ procedure
...
@@ -399,21 +447,22 @@ procedure
ge_activate_paste(integer);
ge_activate_paste(integer);
ge_activate_rotate(integer);
ge_activate_rotate(integer);
ge_activate_rotate90(integer);
ge_activate_rotate90(integer);
ge_activate_flip_vert(integer);
ge_activate_flip_horiz(integer);
ge_activate_change_text(integer);
ge_activate_change_text(integer);
ge_activate_change_name(integer);
ge_activate_change_name(integer);
ge_activate_command(integer);
ge_activate_command(integer);
ge_activate_rect(integer);
ge_activate_rect(integer);
ge_activate_rectrounded(integer);
ge_activate_line(integer);
ge_activate_line(integer);
ge_activate_polyline(integer);
ge_activate_polyline(integer);
ge_activate_circle(integer);
ge_activate_circle(integer);
ge_activate_text(integer);
ge_activate_text(integer);
ge_activate_annot(integer);
ge_activate_annot(integer);
ge_activate_conpoint(integer);
ge_activate_conpoint(integer);
ge_activate_bar(integer);
ge_activate_trend(integer);
ge_activate_axis(integer);
ge_activate_fill(integer);
ge_activate_fill(integer);
ge_activate_border(integer);
ge_activate_border(integer);
ge_activate_shadow(integer);
ge_activate_incr_lightness(integer);
ge_activate_incr_lightness(integer);
ge_activate_decr_lightness(integer);
ge_activate_decr_lightness(integer);
ge_activate_incr_intensity(integer);
ge_activate_incr_intensity(integer);
...
@@ -430,6 +479,13 @@ procedure
...
@@ -430,6 +479,13 @@ procedure
ge_activate_linewidth_6(integer);
ge_activate_linewidth_6(integer);
ge_activate_linewidth_7(integer);
ge_activate_linewidth_7(integer);
ge_activate_linewidth_8(integer);
ge_activate_linewidth_8(integer);
ge_activate_linetype1(integer);
ge_activate_linetype2(integer);
ge_activate_linetype3(integer);
ge_activate_linetype4(integer);
ge_activate_linetype5(integer);
ge_activate_linetype6(integer);
ge_activate_linetype7(integer);
ge_activate_textsize_0(integer);
ge_activate_textsize_0(integer);
ge_activate_textsize_1(integer);
ge_activate_textsize_1(integer);
ge_activate_textsize_2(integer);
ge_activate_textsize_2(integer);
...
@@ -1883,6 +1939,22 @@ object palette_row : XmRowColumn
...
@@ -1883,6 +1939,22 @@ object palette_row : XmRowColumn
};
};
};
};
XmPushButton
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = rectrounded_icon;
XmNmnemonic = keysym('L');
XmNaccelerator = "Ctrl<Key>L";
XmNacceleratorText = compound_string('Ctrl+L');
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_rectrounded(ge_ctx);
};
};
XmPushButton
{
{
arguments
arguments
{
{
...
@@ -1977,50 +2049,26 @@ object palette_row : XmRowColumn
...
@@ -1977,50 +2049,26 @@ object palette_row : XmRowColumn
XmNactivateCallback = procedure ge_activate_conpoint(ge_ctx);
XmNactivateCallback = procedure ge_activate_conpoint(ge_ctx);
};
};
};
};
XmPushButton
XmToggleButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = bar_icon;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_bar(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = trend_icon;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_trend(ge_ctx);
};
};
XmPushButton
{
{
arguments
arguments
{
{
XmNlabelType = XmPIXMAP;
XmNlabelString = compound_string("Fill");
XmNlabelPixmap = axis_icon;
XmNmnemonic = keysym('s');
XmNaccelerator = "Ctrl<Key>N";
XmNacceleratorText = compound_string('Ctrl+N');
XmNfontList = menu_font;
XmNfontList = menu_font;
};
};
callbacks
callbacks
{
{
XmN
activateCallback = procedure ge_activate_axis
(ge_ctx);
XmN
valueChangedCallback = procedure ge_activate_fill
(ge_ctx);
};
};
};
};
XmToggleButton
XmToggleButton
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("
Fill
");
XmNlabelString = compound_string("
Border
");
XmNmnemonic = keysym('s');
XmNmnemonic = keysym('s');
XmNaccelerator = "Ctrl<Key>N";
XmNaccelerator = "Ctrl<Key>N";
XmNacceleratorText = compound_string('Ctrl+N');
XmNacceleratorText = compound_string('Ctrl+N');
...
@@ -2028,22 +2076,20 @@ object palette_row : XmRowColumn
...
@@ -2028,22 +2076,20 @@ object palette_row : XmRowColumn
};
};
callbacks
callbacks
{
{
XmNvalueChangedCallback = procedure ge_activate_
fill
(ge_ctx);
XmNvalueChangedCallback = procedure ge_activate_
border
(ge_ctx);
};
};
};
};
XmToggleButton
XmToggleButton
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("
Border
");
XmNlabelString = compound_string("
3D
");
XmNmnemonic = keysym('s');
XmNmnemonic = keysym('s');
XmNaccelerator = "Ctrl<Key>N";
XmNacceleratorText = compound_string('Ctrl+N');
XmNfontList = menu_font;
XmNfontList = menu_font;
};
};
callbacks
callbacks
{
{
XmNvalueChangedCallback = procedure ge_activate_
border
(ge_ctx);
XmNvalueChangedCallback = procedure ge_activate_
shadow
(ge_ctx);
};
};
};
};
XmPushButton
XmPushButton
...
@@ -2184,6 +2230,34 @@ object palette_row : XmRowColumn
...
@@ -2184,6 +2230,34 @@ object palette_row : XmRowColumn
};
};
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = flip_vert_icon;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_flip_vert(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = flip_horiz_icon;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_flip_horiz(ge_ctx);
};
};
XmOptionMenu
XmOptionMenu
{
{
arguments
arguments
...
@@ -2303,23 +2377,118 @@ object palette_row : XmRowColumn
...
@@ -2303,23 +2377,118 @@ object palette_row : XmRowColumn
};
};
};
};
};
};
XmToggleButton
XmOptionMenu
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("Grid");
! XmNlabelString = compound_string("LineType");
XmNfontList = menu_font;
! XmNmenuHistory = XmPushButton current_session;
};
! XmNfontList = menu_font;
callbacks
};
{
callbacks
XmNvalueChangedCallback = procedure ge_activate_grid(ge_ctx);
{
! MrmNcreateCallback = procedure ute_create_batchoptmenu( ute_ctx) ;
};
controls
{
XmPulldownMenu
{
controls
{
! XmPushButton current_session;
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype1_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype1(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype2_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype2(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype3_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype3(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype4_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype4(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype5_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype5(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype6_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype6(ge_ctx);
};
};
XmPushButton
{
arguments
{
XmNlabelType = XmPIXMAP;
XmNlabelPixmap = linetype7_icon;
};
callbacks
{
XmNactivateCallback = procedure ge_activate_linetype7(ge_ctx);
};
};
};
};
};
};
};
};
XmOptionMenu
XmOptionMenu
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("
Size
");
XmNlabelString = compound_string("
Grid
");
! XmNmenuHistory = XmPushButton current_session;
! XmNmenuHistory = XmPushButton current_session;
! XmNfontList = menu_font;
! XmNfontList = menu_font;
};
};
...
@@ -2386,6 +2555,18 @@ object palette_row : XmRowColumn
...
@@ -2386,6 +2555,18 @@ object palette_row : XmRowColumn
};
};
};
};
};
};
XmToggleButton
{
arguments
{
XmNlabelString = compound_string("Snap");
XmNfontList = menu_font;
};
callbacks
{
XmNvalueChangedCallback = procedure ge_activate_grid(ge_ctx);
};
};
XmOptionMenu
XmOptionMenu
{
{
arguments
arguments
...
...
xtt/mmi/ge/src/ge_attr.uil
View file @
10b95544
...
@@ -168,7 +168,7 @@ object functions_entry : XmCascadeButton
...
@@ -168,7 +168,7 @@ object functions_entry : XmCascadeButton
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("
Recall s
tore");
XmNlabelString = compound_string("
S
tore");
XmNmnemonic = keysym('s');
XmNmnemonic = keysym('s');
XmNfontList = menu_font;
XmNfontList = menu_font;
};
};
...
@@ -181,7 +181,7 @@ object functions_entry : XmCascadeButton
...
@@ -181,7 +181,7 @@ object functions_entry : XmCascadeButton
{
{
arguments
arguments
{
{
XmNlabelString = compound_string("Recall
next
");
XmNlabelString = compound_string("Recall");
XmNmnemonic = keysym('n');
XmNmnemonic = keysym('n');
XmNaccelerator = "Ctrl<Key>N";
XmNaccelerator = "Ctrl<Key>N";
XmNacceleratorText = compound_string('Ctrl+N');
XmNacceleratorText = compound_string('Ctrl+N');
...
...
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