]> Git Repo - binutils.git/blobdiff - gdb/tui/tui-data.h
Remove struct tui_point
[binutils.git] / gdb / tui / tui-data.h
index a25ab11dc5eb6e8a5981536550cb66a8a8c66940..a0e296fa68c5ed2480c7c8c1c23b7a652c1122c2 100644 (file)
@@ -30,12 +30,6 @@ struct tui_cmd_window;
 struct tui_source_window_base;
 struct tui_source_window;
 
-/* This is a point definition.  */
-struct tui_point
-{
-  int x, y;
-};
-
 /* A deleter that calls delwin.  */
 struct curses_deleter
 {
@@ -114,7 +108,8 @@ public:
   /* Window height.  */
   int height = 0;
   /* Origin of window.  */
-  struct tui_point origin = {0, 0};
+  int x = 0;
+  int y = 0;
   /* Viewport height.  */
   int viewport_height = 0;
 };
This page took 0.024124 seconds and 4 git commands to generate.